PHP code example of maartenpaauw / filament-opening-hours

1. Go to this page and download the library: Download maartenpaauw/filament-opening-hours 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/ */

    

maartenpaauw / filament-opening-hours example snippets


return [
];

$filamentOpeningHours = new Maartenpaauw\Filament\OpeningHours\FilamentOpeningHours();
echo $filamentOpeningHours->echoPhrase('Hello, Maartenpaauw\Filament\OpeningHours!');
bash
php artisan vendor:publish --tag="filament-opening-hours-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="filament-opening-hours-config"
bash
php artisan vendor:publish --tag="filament-opening-hours-views"