davide-casiraghi / laravel-events-calendar
Create and manage events in your Laravel application.
Installs: 2 565
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 2
Open Issues: 1
Language:JavaScript
Requires
- php: ^7.2
- anhskohbo/no-captcha: ^3.2
- astrotomic/laravel-translatable: ^11.1
- davide-casiraghi/laravel-form-partials: ^2.0
- fzaninotto/faker: ^1.9
- illuminate/support: ^7.0
- intervention/image: ^2.4
- mcamara/laravel-localization: ^1.5.0
- mews/purifier: ^3.2.1
- nesbot/carbon: ^2.16
- spatie/laravel-honeypot: ^2.2
Requires (Dev)
- nunomaduro/larastan: ^0.5.0
- orchestra/testbench: ^5.0
- phpunit/phpunit: ^8.5
- dev-master
- 2.9.4
- 2.9.3
- 2.9.2
- 2.9.1
- 2.9.0
- 2.8.11
- 2.8.10
- 2.8.9
- 2.8.8
- 2.8.7
- 2.8.6
- 2.8.5
- 2.8.4
- 2.8.3
- 2.8.2
- 2.8.1
- 2.7.10
- 2.7.9
- 2.7.8
- 2.7.7
- 2.7.6
- 2.7.5
- 2.7.4
- 2.7.3
- 2.7.2
- 2.7.1
- 2.7.0
- 2.6.9
- 2.6.8
- 2.6.7
- 2.6.6
- 2.6.5
- 2.6.4
- 2.6.3
- 2.6.2
- 2.6.1
- 2.6.0
- 2.5.2
- 2.5.1
- 2.4.10
- 2.4.9
- 2.4.8
- 2.4.7
- 2.4.6
- 2.4.5
- 2.4.4
- 2.4.3
- 2.4.2
- 2.4.1
- 2.4.0
- 2.3.9
- 2.3.8
- 2.3.7
- 2.3.6
- 2.3.5
- 2.3.4
- 2.3.3
- 2.3.2
- 2.3.1
- 2.3.0
- 2.2.0
- 2.1.16
- 2.1.15
- 2.1.14
- 2.1.13
- 2.1.12
- 2.1.11
- 2.1.10
- 2.1.9
- 2.1.8
- 2.1.7
- 2.1.6
- 2.1.5
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.18
- 2.0.17
- 2.0.16
- 2.0.15
- 2.0.14
- 2.0.13
- 2.0.12
- 2.0.11
- 2.0.10
- 2.0.9
- 2.0.8
- 2.0.7
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.3.29
- 1.3.28
- 1.3.27
- 1.3.26
- 1.3.25
- 1.3.24
- 1.3.23
- 1.3.22
- 1.3.21
- 1.3.20
- 1.3.19
- 1.3.18
- 1.3.17
- 1.3.16
- 1.3.15
- 1.3.14
- 1.3.13
- 1.3.12
- 1.3.11
- 1.3.10
- 1.3.9
- 1.3.8
- 1.3.7
- 1.3.6
- 1.3.5
- 1.3.4
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.25
- 1.2.8
- 1.2.7
- 1.2.6
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.41
- 1.1.40
- 1.1.39
- 1.1.38
- 1.1.37
- 1.1.36
- 1.1.35
- 1.1.34
- 1.1.33
- 1.1.32
- 1.1.31
- 1.1.30
- 1.1.29
- 1.1.28
- 1.1.27
- 1.1.26
- 1.1.25
- 1.1.24
- 1.1.23
- 1.1.22
- 1.1.21
- 1.1.20
- 1.1.19
- 1.1.18
- 1.1.17
- 1.1.16
- 1.1.15
- 1.1.14
- 1.1.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.1
- 1.0.0
- 0.1.13
- dev-testing
This package is auto-updated.
Last update: 2024-12-08 01:32:42 UTC
README
Create and manage calendar events in your Laravel application.
For each event can be selected: a venue, one or more teachers, one or more organizers.
Installation
You can install the package via composer:
composer require davide-casiraghi/laravel-events-calendar
Publish all the vendor files
php artisan vendor:publish --force
Run the database migrations
php artisan migrate
Run the database seeders
php artisan db:seed --class=ContinentsTableSeeder php artisan db:seed --class=CountriesTableSeeder php artisan db:seed --class=EventCategoriesTableSeeder
Import the scss files
Add this line to your resources/sass/app.scss file:
@import 'vendor/laravel-events-calendar/emptyPages';
and then run in console:
npm run dev
Import the js files
Run in the command line:
npm i jquery-validation
npm i bootstrap-select
npm i bootstrap-timepicker
Add this line to your resources/js/app.js file:
import 'bootstrap-datepicker';
import 'tooltip.js';
import '@fancyapps/fancybox';
import 'jquery-validation';
import 'bootstrap-select';
import 'bootstrap-timepicker';
Usage
Authorization
To work the package aspect that in your user model and table you have a field called group that can have this possible values:
- null: Registered user
- 1: Super Admin
- 2: Admin
Just the users that have Admin and Super admin privileges can access to the routes that allow to create, edit and delete the blogs, categories and posts. Otherwise you get redirected to the homepage.
Access to the package
After the package is published this new routes will be available:
- /eventCategories
- /events
- /eventVenues
- /teachers
- /organizers
- /continents
- /continents
Accessing to this routes you can manage new events, teachers, organizers, venues.
Testing
You can run unit tests checking the code coverage using this command.
./vendor/bin/phpunit --coverage-html=html
So you can find the reports about the code coverage in this file /html/index.html
Since there are more that 100 tests in place you can run specific tests using commands such as:
./vendor/bin/phpunit tests/TeacherControllerTest.php
or
./vendor/bin/phpunit --filter it_gets_the_event_repetitions EventControllerTest tests/EventControllerTest.php
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email davide.casiraghi@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.