PHP code example of goedemiddag / laravel-autodiscovery-lock
1. Go to this page and download the library: Download goedemiddag/laravel-autodiscovery-lock 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/ */
goedemiddag / laravel-autodiscovery-lock example snippets
json
{
"scripts": {
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi",
"@php artisan autodiscovery:generate-lock"
]
}
}
bash
php artisan autodiscovery:generate-lock
bash
php artisan autodiscovery:verify-lock