Yii2 Billing (In development)
A Yii2 extension to handle billing., (*1)
Installation
Include the package as dependency under the composer.json file., (*2)
To install, either run, (*3)
$ php composer.phar require jlorente/yii2-billing "*"
or add, (*4)
...
"require": {
// ... other configurations ...
"jlorente/yii2-billing": "*"
}
to the require
section of your composer.json
file and run the following
commands from your project directory., (*5)
$ composer update
Migration
Apply the package migration, (*6)
$ ./yii migrate --migrationPath=@vendor/jlorente/yii2-billing/src/migrations
or extend this migration in your project and apply it as usually., (*7)
Module setup
You must add this module to the module section and the bootstrap section of the
application config file in order to make it work., (*8)
../your_app/config/main.php, (*9)
return [
//Other configurations
'modules' => [
//Other modules
'billing' => 'jlorente\billing\Module'
],
'bootstrap' => [
//Other bootstrapped modules
, 'billing'
]
]
Usage
In development..., (*10)
License
Copyright © 2017 JosĂ© Lorente MartĂn jose.lorente.martin@gmail.com., (*11)
Licensed under the MIT license. See LICENSE.txt for details., (*12)