Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davide-casiraghi/laravel-events-calendar
Create and manage events in your Laravel application.
https://github.com/davide-casiraghi/laravel-events-calendar
calendar calendar-events laravel laravel-5-package php
Last synced: 2 months ago
JSON representation
Create and manage events in your Laravel application.
- Host: GitHub
- URL: https://github.com/davide-casiraghi/laravel-events-calendar
- Owner: davide-casiraghi
- License: mit
- Created: 2019-04-01T05:05:54.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-07T15:48:07.000Z (over 4 years ago)
- Last Synced: 2024-04-30T18:20:23.245Z (8 months ago)
- Topics: calendar, calendar-events, laravel, laravel-5-package, php
- Language: JavaScript
- Homepage:
- Size: 1.67 MB
- Stars: 1
- Watchers: 0
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Laravel Events Calendar
[![Latest Version on Packagist](https://img.shields.io/packagist/v/davide-casiraghi/laravel-events-calendar.svg?style=flat-square)](https://packagist.org/packages/davide-casiraghi/laravel-events-calendar)
[![Build Status](https://img.shields.io/travis/davide-casiraghi/laravel-events-calendar/master.svg?style=flat-square)](https://travis-ci.org/davide-casiraghi/laravel-events-calendar)
[![Quality Score](https://img.shields.io/scrutinizer/g/davide-casiraghi/laravel-events-calendar.svg?style=flat-square)](https://scrutinizer-ci.com/g/davide-casiraghi/laravel-events-calendar)
[![Coverage Status](https://scrutinizer-ci.com/g/davide-casiraghi/laravel-events-calendar/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/davide-casiraghi/laravel-events-calendar/)
[![GitHub last commit](https://img.shields.io/github/last-commit/davide-casiraghi/laravel-events-calendar.svg)](https://github.com/davide-casiraghi/laravel-events-calendar)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:
```bash
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
```bash
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
- /continentsAccessing to this routes you can manage new events, teachers, organizers, venues.
### Testing
You can run unit tests checking the **code coverage** using this command.
``` bash
./vendor/bin/phpunit --coverage-html=html
```
So you can find the reports about the code coverage in this file /html/index.htmlSince 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](CHANGELOG.md) for more information what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
### Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
## Credits
- [Davide Casiraghi](https://github.com/davide-casiraghi)
- [All Contributors](../../contributors)## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
## Laravel Package Boilerplate
This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).