Yii2 Weekly Schedule Selector (In development)
A Yii2 plugin that provides the framework with a weekly schedule selector to
attach to models that need a weekly schedule organization., (*1)
This plugin is based on the JQuery plugin day-schedule-selector developed by
artsy. For more documentation of configurations visit (http://www.jqueryscript.net/time-clock/Create-A-Basic-Weekly-Schedule-with-Hour-Selector-Using-jQuery.html)
or the official repository., (*2)
Installation
To install, either run, (*3)
$ php composer.phar require jlorente/yii2-weeklyschedule-selector "*"
or add, (*4)
"require": {
"jlorente/yii2-weeklyschedule-selector": "*"
}
to the require
section of your composer.json
file and run the following
commands from your project directory., (*5)
$ composer update
$ ./yii migrate --migrationPath=@app/vendor/jlorente/yii2-weeklyschedule-selector/src/migrations
The last command will create the table needed to handle the weekly schedule., (*6)
Basic Usage
First at all you must include the module in your web application., (*7)
./console/config/main.php, (*8)
// ... other configurations ...
"modules" => [
// ... other modules ...
"command" => [
"class" => "jlorente\weeklyschedule\Module"
]
]
License
Copyright © 2015 JosĂ© Lorente MartĂn jose.lorente.martin@gmail.com., (*9)
Licensed under the MIT license. See LICENSE.txt for details., (*10)