Latest Laravel/PHP Articles

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


Often in your Laravel code you would want to validate if the request has a particular input parameter and also if the parameter has a value in it.
If there are two things without which you can’t imagine a modern website, these must be JavaScript and CSS and most of the time, both of these can co-exist and...
As you may have noticed a few weeks ago, we've open-sourced our latest package - Laravel Pint: an opinionated PHP code style fixer for minimalists. Pint is buil...
Digital Ocean Providing developers and businesses a reliable, easy-to-use cloud computing platform of virtual servers (Droplets), object storage ( Spaces), and more.
You feel like you're describing a brand-new car with some fairly impressive characteristics when you read this article's headline, don't you? Working with such...
Laravel SQL Commenter package can add comments to queries performed by Laravel. These comments will use the sqlcommenter format, which is understood by various...
Spatie has created a new package called spatie/laravel-options. It will take a resource that can create options such as an enum, a list of models, or even a pla...
In this blog post, Josh Comeau shares some of the epiphanies he's had about this distinction, and how you can use this information in day-to-day work. Stay up t...
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
And that magic number is a bad thing. Now call artisan command make:enum.
PHP 8.2 is scheduled to be released on the 24th of Nov, 2022. Of course, meanwhile, you may test the new features, syntax changes, and other improvements in you...
In this section we will see how fix laravel 9 code and clean and PHP-CS-Fixer style. We can use Laravel Pint package to fix our code style stays clean and consi...
Laravel has just released “laravel 9.19” with a major change. There is no more webpack.mix.js file in the laravel root in the place of the webpack.mix.js file v...
Digital Ocean Providing developers and businesses a reliable, easy-to-use cloud computing platform of virtual servers (Droplets), object storage ( Spaces), and more.
You won’t believe the incredible resources we’ve compiled in this article! We’ve got something for everyone, categorized in sections for JavaScript/TypeScript d...
You have surely solved it many times, but the solution was not very attractive. This tutorial is about generating JavaScript code in PHP using the BigPipe libra...
Sometimes, solutions to some of the problems are much simpler than we make them to be. Working with React.js is one of those things where you may complicate thi...
In your project, you might store some sensitive personal or credential data in your database. Should an unauthorized person get access to your DB, all this sens...