PHP code example of adzchappers / blade-components
1. Go to this page and download the library: Download adzchappers/blade-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/ */
adzchappers / blade-components example snippets
// config/blade-components.php
return [
'prefix' => '',
'components' => [
'form-input' => [
'class' => \App\View\Components\MyFormInput::class,
'view' => 'blade-components::forms.form-input',
],
// ...
],
];
bash
php artisan vendor:publish --tag="blade-components-config"