Latest Laravel/PHP Articles

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


Automatically validate model or anything you want to perform before save, update or create. In normal case when data is saved on specific model it will return t...
Quite often, especially in e-shop projects, you can see a page to login or register before finishing the purchase. But Laravel has these two routes as separate...
To speed up the development, I decided to use a PHP framework, Slim. You can use any other (or no) framework instead; however, Slim seems like the right mix of...
Digital Ocean Providing developers and businesses a reliable, easy-to-use cloud computing platform of virtual servers (Droplets), object storage ( Spaces), and more.
The codes of this article here on GitHub. You can download the public resources from here After implementing the same functionality in lot of projects, I’ve dec...
The codes of this article here on GitHub. You can download the public resources from here In the 1-st part of this article I’ve described how to make Laravel (5...

blog.laravel.com

Laravel Snippet #14
Creator of Laravel.
Creating middleware for the allowing cross domain access. CORS stands for Cross-Origin Resource Sharing an is a specification that allow modern browsers to requ...
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Many developers believe that PHP is dead! For them PHP is an obsolete language that no new developer should consider learning.
When creating Nova resources or running resource actions, users are always presented with a blank form. All fields are empty and all checkboxes are unchecked.
After create your migrations just run the command: php artisan migrate --pretend then artisan will show all DDL statements on the console. I recommend to use th...
In short: Use Composer. Important: Always remember to keep your dependencies updated as you develop software. Fortunately, this is a one-liner:
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Hi, I’m Valerio Barbera software engineer and Laravel — certified developer from Naples, Italy. I’m the creator of Inspector, the real time monitoring dashboard...
With Laravel, we can use it’s native “Helper” functions declared at the global level to speed up our coding procedure. Besides these native functions, we can al...
Hey there! So you’ve successfully hosted your Laravel application on Heroku! and now you need to set up your database, sure you need to, how else could you get...
Are you building an API? If you are, chances are you’ll want it to have: Laravel offers all of this out of the box. It also has excellent documentation and an a...