PHP code example of vswteam / laravel-patches-command
1. Go to this page and download the library: Download vswteam/laravel-patches-command 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/ */
vswteam / laravel-patches-command example snippets
return [
'patches' => [
]
];
return [
'patches' => [
'patch:clear-dummy-logs' => '2022-01-01 Clear Dummy Logs',
'patch:clear-dummy-files' => '2022-01-02 Clear Dummy Files',
]
];
bash
php artisan vendor:publish --provider="Vswteam\LaravelPatchesCommand\LaravelPatchesCommandServiceProvider" --tag="migrations"
php artisan migrate
bash
php artisan vendor:publish --provider="Vswteam\LaravelPatchesCommand\LaravelPatchesCommandServiceProvider" --tag="config"