PHP code example of a2workspace / laravel-database-patcher

1. Go to this page and download the library: Download a2workspace/laravel-database-patcher 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/ */

    

a2workspace / laravel-database-patcher example snippets

bash
php artisan vendor:publish --tag=@a2workspace/laravel-database-patcher
bash
php artisan db:patch
bash
php artisan db:patch --revert