bravedave/green
Composer 安装命令:
composer require bravedave/green
包简介
Support Utiltiy for other applications
README 文档
README
- Beds - creates and maintains a list of beds suitable for describing houses (1 bed, 2 bed etc.)
- Baths - creates and maintains a list of bathrooms suitable for describing houses (1 bathroom, 2 bath.. etc.)
- People - creates and maintains a basic people database
- Property - creates and maintains a basic property database
- Postcodes - creates and maintains a basic postcode database, complete with list of australian postcodes to import
- Users - creates maintains table of users with designate for active and admin priveligde
Installation
composer require bravedave/green
Use
use the composer scripts option to maintin a script which runs on upgrade
{
"scripts": {
"post-update-cmd": [
"updater::run"
]
}
}
and updater would be in your root directory and look like (for example):
<?php use dvc\service; class updater extends service { protected function _upgrade() { config::route_register( 'beds_list', 'green\\beds_list\\controller'); config::route_register( 'baths', 'green\\baths\\controller'); echo( sprintf('%s : %s%s', 'updated..', __METHOD__, PHP_EOL)); } static function run() { $app = new self( application::startDir()); $app->_upgrade(); } }
统计信息
- 总下载量: 254
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-08-09