PHP code example of redberryproducts / laravel-packager
1. Go to this page and download the library: Download redberryproducts/laravel-packager 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/ */
redberryproducts / laravel-packager example snippets
return [
'default_skeleton' => 'spatie',
'skeletons' => [
'spatie' => [
'url' => 'https://github.com/spatie/package-skeleton-laravel.git',
'branch' => 'main',
'runs' => [
'php configure.php',
],
],
],
'packages_directory' => 'packages',
];
bash
php artisan vendor:publish --tag="packager-config"