Skip to content

davidmgilo/timetables

Repository files navigation

timetables

Latest Stable Version Software License Build Status Scrutinizer Code Quality StyleCI Total Downloads

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:

Presentation

On the documentation via sami:

Docs

Other links

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published