How To: Soft Delete Data in Laravel 11

The terrible thing about deleting data from a database is that it’s gone forever. We can’t even look at the data to see if we need it because it’s gone. If we need the data back, our only solution is to restore a backup, cross our fingers, and hope we have the backup just before […]

The post How To: Soft Delete Data in Laravel 11 appeared first on php[architect].

https://www.phparch.com/2024/12/how-to-soft-delete-data-in-laravel-11/

созданный 8mo | 5 дек. 2024 г., 19:10:05


Войдите, чтобы добавить комментарий

Другие сообщения в этой группе

The PHP Podcast: 2025.07.17

This week on the PHP Podcast, Eric and John discuss Spec-driven Development with Kiro, JetBrains on Huggingface, Event Sourcing with Laravel Verbs, Automating your life with n8n, PHP Tek 2026 Webs

18 июл. 2025 г., 02:20:04 | PHP Architect
The PHP Podcast: 2025.07.10

This week on the PHP Podcast, Eric and John discuss PHP 8.5’s new INI Diff feature, Exploiting Public APP_KEY Leaks, Does Theo listen to the podcast? Spoiler: NO, and more. Links from the sh

11 июл. 2025 г., 01:10:06 | PHP Architect
Community Corner: NativePHP for Mobile With Shane Rosenthal and Simon Hamp

In this episode, we talk with Shane Rosenthal and Simon Hamp about NativePHP for Mobile, which allows you to deploy Laravel applications to mobile devices and use native features like push notific

9 июл. 2025 г., 02:40:05 | PHP Architect
The PHP Podcast: 2025.07.03

This week on the PHP Podcast, Eric and John discuss BosonPHP, NativePHP, PHP is the new JavaScript, Shocking stories of Electricity, snake_case vs. camelCase, and why snake_case is better, among o

4 июл. 2025 г., 02:10:06 | PHP Architect
The PHP Podcast: 2025.06.26

This week on the PHP Podcast, Eric and John talk about Happy Birthday PHP, PHP Tek 2026 CTF Opened, Quirks in PHP, Laminas MVC Retiring, and more… Links from the show: Happy Birthday, PHP &#

27 июн. 2025 г., 00:50:07 | PHP Architect
Happy Birthday, PHP

It’s June, and here at PHP Architect Magazine, we’re celebrating something truly monumental, the 30th birthday of the PHP programming language. I’ve found myself wondering where the internet,

26 июн. 2025 г., 22:30:08 | PHP Architect
Community Corner: Yelling at Clouds With Chris Hartjes

In this episode, we talk with Chris Hartjes about his column in PHP Architect Magazine, where he gets to “Yell at Clouds” (as the old Simpsons joke goes) about whatever is on his mind

24 июн. 2025 г., 19:30:08 | PHP Architect