PHP code example of laravel-enso / calendar

1. Go to this page and download the library: Download laravel-enso/calendar 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/ */

    

laravel-enso / calendar example snippets


return [
    'birthdays' => [
        'roles' => ['*'],
    ],
];

namespace App\Providers;

use Illuminate\Support\ServiceProvider;
use App\Calendars\OrdersCalendar;

class CalendarServiceProvider extends ServiceProvider
{
    protected array $register = [
        OrdersCalendar::class,
    ];
}
bash
php artisan vendor:publish --tag=calendar-provider
php artisan vendor:publish --tag=calendar-config
php artisan vendor:publish --tag=calendar-mail
php artisan vendor:publish --tag=calendar-factories
bash
php artisan enso:calendar:send-reminders
bash
php artisan enso:calendar:send-reminders