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/
Melden Sie sich an, um einen Kommentar hinzuzufügen
Andere Beiträge in dieser Gruppe

This week on the PHP Podcast, Eric and John talk about Special guest Ben Ramsey, the PHP Community Discord, PHP Community Mastodon, Open Source Licenses, AI in companies and code, HHVM, and more&#

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

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

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

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

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 &#

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,