PHP code example of nfgarching / laravel-bootstrap-components
1. Go to this page and download the library: Download nfgarching/laravel-bootstrap-components 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/ */
nfgarching / laravel-bootstrap-components example snippets
return [
App\Providers\AppServiceProvider::class,
Nfgarching\Componets\LibraryServiceProvider::class,
];
->withMiddleware(function (Middleware $middleware) {
$middleware->validateCsrfTokens(except: [
'livewire/*'
]);
})
bash
php artisan vendor:publish --provider="Nfgarching\Componets\LibraryServiceProvider"
bash
php artisan vendor:publish --provider="Nfgarching\Componets\LibraryServiceProvider"
bash
composer dump-autoload
php artisan vendor:publish --provider="Nfgarching\Componets\LibraryServiceProvider"