PHP code example of yurizoom / moonshine-scheduling

1. Go to this page and download the library: Download yurizoom/moonshine-scheduling 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/ */

    

yurizoom / moonshine-scheduling example snippets


[
    'scheduling' => [
        // Автоматическое добавление в меню
        'auto_menu' => true,
    ]
]

use YuriZoom\MoonShineScheduling\Pages\SchedulingPage;

protected function menu(): array
    {
        return [
            ...
            
            MenuItem::make(
                static fn () => __('Scheduling'),
                new SchedulingPage(),
            ),
            
            ...
        ];
    }