Just a simple POC how to use softdeletable with Symfony 4
- Clone repo
- make necessary changes to
.env
file (database, etc.) - run following commands:
composer install
./bin/console doctrine:database:create
./bin/console doctrine:schema:create
Start webserver with following command:
./bin/console server:start
Open http://127.0.0.1:8000
URL with your browser.
Create / delete books and check your database that deleted books aren't really deleted.