_newtonjob Profile Banner
Newton Job Profile
Newton Job

@_newtonjob

Followers
4K
Following
14K
Media
588
Statuses
7K

Helping Laravel developers be **Laravel** developers. πŸ₯· Master of #Laravel. πŸ’… TALL | VILT | LEMP πŸ”’ Mathematician 🎹 Keyboardist

Lagos, Nigeria
Joined September 2022
Don't wanna be here? Send us removal request.
@_newtonjob
Newton Job
6 months
Stuck to this programming quote since my first line of code.
Tweet media one
0
6
65
@_newtonjob
Newton Job
2 days
It's the little things that make me love Laravel so much! πŸ˜‡
Tweet media one
7
3
54
@laracasts
Laracasts
5 days
Pest 4 parallel browser testing really is a game-changer. The ability to run dozens of tests against a real browser simultaneously is just ridiculous.
Tweet media one
Tweet media two
2
8
99
@_newtonjob
Newton Job
13 days
In the past, you had to visit at least 3 different files to make these middleware settings that I just did with 3 lines of code. A testament to how far Laravel has come. 🫢
Tweet media one
2
6
102
@_newtonjob
Newton Job
16 days
Can someone tell me why JS folks love 2 spaces indentation? Not sure if it's just me, but I find it really hard to read.
Tweet media one
36
0
106
@laracasts
Laracasts
20 days
So...I'm pretty sure that Pest 4 just solved every browser testing annoyance you've ever had. πŸ‘Ύ https://t.co/QM0u29Rpnh
8
24
178
@_newtonjob
Newton Job
19 days
Are you not using `MAIL_MAILER=log` and viewing your mails in the log viewer? you might just be missing out.
Tweet media one
22
14
147
@VotrubaT
Tomas Votruba
21 days
This would be a great @rectorphp set for @laravelphp 😎
@_newtonjob
Newton Job
22 days
When I'm reviewing a Laravel project, here are a few things I typically change at first sight. No compromise. Makes all the difference.
Tweet media one
3
2
42
@_newtonjob
Newton Job
22 days
When I'm reviewing a Laravel project, here are a few things I typically change at first sight. No compromise. Makes all the difference.
Tweet media one
20
34
457
@_newtonjob
Newton Job
24 days
Happy birthday to my amazing wife. She's made this past year the most special one yet as she became the most incredible mom. Love doing life with you! πŸ‘©β€β€οΈβ€πŸ‘¨ Please say a prayer for her.
Tweet media one
12
1
65
@_newtonjob
Newton Job
25 days
Try Azure DevOps πŸ₯Ά
@adamwathan
Adam Wathan
27 days
The rest of us are out here A/B testing our checkout screens but this is what it looks like to try and purchase a Windows license and Microsoft is the second most valuable company in the world 🀑
1
0
0
@_newtonjob
Newton Job
25 days
I realized that everyone that makes a comment like this, never tried the feature and so don't know how it works. Com'on guys, Laravel knows better than to load relationships that you don't need.
@iam_stilinski24
Cyril Kedeng'e Aguvasu
25 days
@_newtonjob A very bad idea when dealing with a large pool of data. You end up with data you don’t need when querying db hence just slowing down your app. I prefer to be selective when loading relationships.
5
1
30
@_newtonjob
Newton Job
26 days
Automatic eager loading + unguarded models should be the new defaults in every application. Realised I just can't live without them πŸ€—
Tweet media one
17
14
177
@_newtonjob
Newton Job
27 days
If I remember correctly, this used to be the de facto (recommended?) configuration for database timestamps. Now we're all just creating nullable timestamps and handing them over to Eloquent. πŸ€·β€β™‚οΈ
Tweet media one
6
3
46
@_newtonjob
Newton Job
28 days
My favorite component is here! 😍 Now I can just write plain HTML forms.
@pascalbaljet
Pascal Baljet
28 days
In Inertia 2.1, we introduced a brand new <Form> component! It looks just like a classic HTML form, but under the hood, it's powered by Inertia.js πŸ”₯ Here's how it looks in Vue ⬇️
Tweet media one
1
1
30
@_newtonjob
Newton Job
30 days
One of my biggest indecision moments. Should I keep the attribute or the scope?
Tweet media one
21
4
68
@_newtonjob
Newton Job
1 month
Tweet media one
6
6
41
@_newtonjob
Newton Job
1 month
I bet you're already doing this somehow. But in a non Laravelly-way πŸ˜€
@_newtonjob
Newton Job
1 month
Add your own constraints when Laravel tries to retrieve the Auth user.πŸ”’ In this example, we're making sure the user is not deactivated. Even if they were already logged in before deactivation, they will automatically be logged out.
Tweet media one
7
6
58
@Leinad7th
Leinad
1 month
Now I wish I knew this lots earlier. Really cook tip from @_newtonjob.
@_newtonjob
Newton Job
1 month
Add your own constraints when Laravel tries to retrieve the Auth user.πŸ”’ In this example, we're making sure the user is not deactivated. Even if they were already logged in before deactivation, they will automatically be logged out.
Tweet media one
0
2
2
@_newtonjob
Newton Job
1 month
Add your own constraints when Laravel tries to retrieve the Auth user.πŸ”’ In this example, we're making sure the user is not deactivated. Even if they were already logged in before deactivation, they will automatically be logged out.
Tweet media one
5
17
157