Download the PHP package ancarebeca/full-calendar-bundle without Composer
On this page you can find all versions of the php package ancarebeca/full-calendar-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ancarebeca/full-calendar-bundle
More information about ancarebeca/full-calendar-bundle
Files in ancarebeca/full-calendar-bundle
Package full-calendar-bundle
Short Description Symfony2 integration with the library FullCalendar.js
License MIT
Homepage https://github.com/ancarebeca/FullCalendarBundle
Informations about the package full-calendar-bundle
FullCalendarBundle
This bundle allow you to integrate FullCalendar.js library in your Symfony3.
Requirements
- FullCalendar.js v3.1.0
- Symfony v3.1+
- PHP v5.5+
- PHPSpec
Installation
Installation process:
- Download FullCalendarBundle using composer
- Enable bundle
- Create your Event class
- Create your listener
- Add styles and scripts in your template
- Add Routing
1. Download FullCalendarBundle using composer
2. Enable bundle
3. Create your Calendar Event class
4. Create your listener
You need to create your listener/subscriber class in order to load your events data in the calendar.
This listener is called when the event 'fullcalendar.set_data' is launched, for this reason you will need add this in your service.yml.
5. Add styles and scripts in your template
Add html template to display the calendar:
Add styles:
Add javascript:
Install assets
6. Define routes by default
Extending Basic functionalities
Extending the Calendar Javascript
If you want to customize the FullCalendar javascript you can copy the fullcalendar.default-settings.js in YourBundle/Resources/public/js, and add your own logic:
Contribute and feedback
Any feedback and contribution will be very appreciated.