Download the PHP package edofre/laravel-fullcalendar without Composer
On this page you can find all versions of the php package edofre/laravel-fullcalendar. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download edofre/laravel-fullcalendar
More information about edofre/laravel-fullcalendar
Files in edofre/laravel-fullcalendar
Package laravel-fullcalendar
Short Description Laravel component for fullcalendar package
License MIT
Homepage https://github.com/edofre/laravel-fullcalendar
Informations about the package laravel-fullcalendar
Laravel fullcalendar component
Installation
The preferred way to install this extension is through composer.
To install, either run
or add
to the section of your composer.json
file.
Note
The fxp/composer-asset plugin is required for this package to install properly. This plugin enables you to download bower packages through composer.
You can install it using this command:
This will add the fxp composer-asset-plugin and your composer will be able to find and download the required bower-asset/fullcalendar package. You can find more info on this page: https://packagist.org/packages/fxp/composer-asset-plugin.
Configuration
Add the ServiceProvider to your config/app.php
And add the facade
Publish assets and configuration files
Manually loading script files
By setting the include_scripts option in the config/.env file to false the scripts will not be included when generating the calendar. If you want to manually include the scripts you can call the following static function in your header/footer/etc.
Example
Below is an example of a controller action configuring the calendar
You can then render the calendar by generating the HMTL and scripts
Tests
Run the tests by executing the following command: