PHP code example of leshkens / orchid-help-hint-layout
1. Go to this page and download the library: Download leshkens/orchid-help-hint-layout 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/ */
leshkens / orchid-help-hint-layout example snippets
public function layout(): array
{
return [
HelpHintLayout::make('foobar')
];
}
'hints_map' => [
'foobar' => 'My hint is somewhere'
],
bash
php artisan migrate
bash
php artisan vendor:publish --provider="Leshkens\OrchidHelpHintLayout\Providers\ServiceProvider"