textarea

How to delete images in storage files when I delete my post in my blog from filament ?
1 Reply
LeandroFerreira
LeandroFerreira2mo ago
It is the responsibility of the developer to delete these files from the disk if they are removed, as Filament is unaware if they are depended on elsewhere. One way to do this automatically is observing a model event. https://laravel.com/docs/11.x/eloquent#events
Laravel - The PHP Framework For Web Artisans
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.