uccello / calendar
A synchronized calendar for Uccello.
Installs: 255
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 3
Open Issues: 0
pkg:composer/uccello/calendar
Requires
- google/apiclient: ^2.2
- league/oauth2-client: ^2.4
- microsoft/microsoft-graph: 1.0.*
- uccello/uccello: 1.0.*
This package is auto-updated.
Last update: 2025-09-16 00:43:39 UTC
README
Pour ajouter un nouveau service :
- Ajouter une entrée dans la table "calendar_types" en modifiant le fichier de migration XXXX_create_calendar_types_table
- Créer un dossier {ServiceName} dans uccello/calendar/app/Http/Controllers
Dans app/Console/Kernel.php ajouter ceci pour qu'un classement automatique des évenements soit réalisé : protected function schedule(Schedule $schedule) { $users = User::all(); $month_ago = date('Y-m-d', strtotime("-1 month")); $month_later = date('Y-m-d', strtotime("+1 month"));
foreach($users as $user)
{
$schedule->command("events:classify $user->id $month_ago $month_later")->daily();
}
//Add other crons here
}