Latest Laravel/PHP Articles

Latest Laravel/PHP Articles curated daily from around the web.


There’s a particularly unpleasant type of programmer that exists, and you’ve probably met him, either online or in person. I call him PHPStorm Man. NB: Despite...
Scope is something you will need to do if you want to filter somethings from your Model repeatedly and still want to stick with DRY rule. Let’s say you just wan...
Notification is a short and informational message that notifies a user. Now call the notification inside your controller or others file.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
This is the demo application of creating Todo-List in Laravel with all possible operations of CRUD. We are using SQLite as database but you can use anything lik...
As you know, PHP converts query string (in the URL or body) to an associative array inside $_GET or $_POST. For example: ?foo=bar becomes Array([foo] => “bar”)....
There’s this little trick in PHP that I got to know about today. The trick basically is, you can loop through all the class properties having the “public” visib...
As mentioned in the previous post, I get countless Recruiters, Agencies, and freelancers approach me for roles as a Developer. However, on the flip side of that...
CodeMentor Codementor is an online marketplace connecting developers with experts for on- demand 1:1 help via screen sharing, video, and text chat.
How to make sure that a user can only update, delete, view, etc. his models (posts) and not the posts of other users. I also asume that you have already a users...
If you work in Tech, IT, or pretty much any "office-based" industry you've come across recruiters. They're great for finding you a new role, helping companies s...
I created and share the solution about how to download and utilize PHPMailer properly. I found there are many errors and questions for that on Stackoverflow. So...
Handle CORS Requests with Client in Laravel APIThe Solution? Solutions*Create new middleware:php artisan make:middleware Corsapp/Http/Middleware/Cors.
CodeMentor Codementor is an online marketplace connecting developers with experts for on- demand 1:1 help via screen sharing, video, and text chat.
Working on an application which received user signups and let’s suppose it’s built on top of PHP, you want to validate that the email the user enters is valid....
Taylor is the founder and creator of Laravel. He's still very active in the development of the framework. Most of Taylor's time is dedicated to ensuring that La...
Filtering your Models in Laravel is a common question, and often comes with a lot of "enthusiasm" from each side. All have their valid reasons to be used. Howev...
One of the most common things I find when inheriting a code base or talking to developers, is that their controllers are way too bloated and cause headaches. AP...