Let's get started quickly I found new things in Laravel 9.23 Released I wanted to share with you.
- Artisan docs command https://github.com/laravel/framework/pull/43357
new amazing artisan docs command, giving developers quick access to website documentation from the command line
# Opens a choice dialog you can use to type what you want
php artisan docs
# Opens the validation docs
php artisan docs validation
php artisan docs validation unique
# partial searches, will open the unique validation rule
php artisan docs va un
- Delete a model quietly
method to delete a model from the database without raising any events
use App\Models\Flight;
$flight = Flight::find(1);
$flight->deleteQuietly();
- Conditionable trait added to Filesystem adapters https://github.com/laravel/framework/pull/43449
adding the Conditionable trait to Filesystem to allow you to use when() and unless() methods
Storage::disk('public')
->when(true)
->delete('StardewTaylor.png');
- Add whereNot method to Fluent JSON testing matchers https://github.com/laravel/framework/pull/43383
I hope you enjoyed with me and to learn more about this release visit the sources and search more. I adore you who search for everything new.
Source :- https://laravel-news.com/laravel-9-23-0
Source :- https://www.youtube.com/watch?v=Fv_GgcK6pZ0
Source :- https://www.youtube.com/watch?v=OzXgrQfKjbk
Top comments (0)