davidmgilo / timetables
Requires
- acacha/l5-repository: dev-master
- acacha/names: dev-master
- acacha/stateful-eloquent: ^0.1.8
- fzaninotto/faker: ^1.6
- laravel/framework: ^5.3
- scool/foundation: dev-master
- spatie/laravel-permission: ^1.6
Requires (Dev)
- phpunit/phpunit: ^5.6
- squizlabs/php_codesniffer: ^2.3
This package is not auto-updated.
Last update: 2024-11-09 20:39:40 UTC
README
All-year-long project.
Install
Via Composer in a laravel project
$ composer require davidmgilo/timetables
Add to file config/app.php the TimetablesServiceProvider:
/* * Package Service Providers */ Scool\Timetables\Providers\TimetablesServiceProviders::class,
You'll need other packages:
spatie/menu laravel/passport
Add other ServiceProviders:
Spatie\Menu\Laravel\MenuServiceProvider::class, Laravel\Passport\PassportServiceProvider::class,
And publish files with:
php artisan vendor:publish --tag=scool_timetables
Database
Use:
php artisan migrate:status
To see timetables migrations and run migrations with:
php artisan migrate
Factories for all models are installed in database/factories.
To use Timetables Seeders modify file database/seeds/DatabaseSeeder:
public function run()
{
...
$this->call(TimetablesSeeder::class);
}
Remember to create the adequate permissions about lessons in a seeder. (browse lessons, add lessons, edit lessons, delete lessons). You can found an example here
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
$ phpunit
See more
On the presentation made via reveal.js:
On the documentation via sami:
Other links
Contributing
Please see CONTRIBUTING and CONDUCT for details.
Credits
License
The MIT License (MIT). Please see License File for more information.