All-year-long project.
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
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
Please see CHANGELOG for more information what has changed recently.
$ phpunit
On the presentation made via reveal.js:
On the documentation via sami:
Please see CONTRIBUTING and CONDUCT for details.
The MIT License (MIT). Please see License File for more information.