DEV Community

Morcos Gad
Morcos Gad

Posted on

2 1

New Things Added - Laravel 9.23 Released

Let's get started quickly I found new things in Laravel 9.23 Released I wanted to share with you.

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
Enter fullscreen mode Exit fullscreen mode
  • 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();
Enter fullscreen mode Exit fullscreen mode

adding the Conditionable trait to Filesystem to allow you to use when() and unless() methods

Storage::disk('public')
    ->when(true)
    ->delete('StardewTaylor.png');
Enter fullscreen mode Exit fullscreen mode

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

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (0)

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay