Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

vinschi's avatar
Level 16

Laravel 5.4 and fullcalendar

Hi guys, I tried to use fullcalendar.io through the "maddhatter/laravel-fullcalendar" package. However, even if I followed the instructions the calendar is not shown in my views. Does it work for you? Any suggestions? Thanks, Vincenzo

0 likes
5 replies
abusalameh's avatar

did you include fullcalendar.io's files in your HTML.

vinschi's avatar
Level 16

Hi, this is what I did:

  • I installed the plugin with composer;
  • I added the provider class;
  • I added the alias;
  • in the controller I created the events array and I inserted 2 dummy events with the addEvents function;
  • in the view I added the scripts necessary to use full calendar;
  • in the same view, after the scripts, I pasted the 2 lines of code: {!! $calendar->calendar() !!} {!! $calendar->script() !!}

Am I missing something?

vinschi's avatar
Level 16

@abusalameh do you have any ideas about my problem? Still doesn't work (I'm linking the scripts and the css with the cdn)

sldobri@live.com's avatar

clear all cache.

open terminal/iterm in application folder:

composer dump-autoload && php artisan view:clear && php artisan cache:clear && php artisan clear-compiled && php artisan config:cache && php artisan route:cache && php artisan optimize

Please or to participate in this conversation.