PHP code example of i3bepb / laravel-drop-foreign-if-exists

1. Go to this page and download the library: Download i3bepb/laravel-drop-foreign-if-exists library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

i3bepb / laravel-drop-foreign-if-exists example snippets

shell
docker pull i3bepb/php-for-test:1.0.0-php-8.1.16-cli-alpine3.17
shell
docker run --rm -it -v $(pwd):/home/www-data/application i3bepb/php-for-test:1.0.0-php-8.1.16-cli-alpine3.17 sh