PHP code example of kirago / laravel-business-core
1. Go to this page and download the library: Download kirago/laravel-business-core 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/ */
kirago / laravel-business-core example snippets
^8.4
return [
// 🔧 Active ou non la personnalisation des fichiers du package
'customization' => true,
...
use Kirago\BusinessCore\Facades\BusinessCore;
public function boot(): void
{
BusinessCore::discoverApiRoutes(prefix: 'v1');
}
bash
php artisan bc:setup
config/business-core.php
bash
php artisan route:list --path=api