bravedave / green
Support Utiltiy for other applications
v22.05.02
2022-05-03 11:57 UTC
Requires
- ext-posix: *
- bravedave/dvc: *
Requires (Dev)
- ext-apcu: *
- bravedave/dvc-mail: *
- matthiasmullie/scrapbook: *
- dev-master
- v22.05.02
- v22.05.01
- v22.04.01
- v21.12.01
- v21.06.02
- v21.06.01
- v21.04.04
- v21.04.03
- v21.04.02
- v21.04.01
- v21.03.03
- v21.03.02
- v21.03.01
- v21.02.01
- v21.01.03
- v21.01.02
- v21.01.01
- v20.12.03
- v20.12.02
- v20.12.01
- v20.11.07
- v20.11.06
- v20.11.05
- v20.11.04
- v20.11.03
- v20.11.02
- v20.11.01
- v20.10.02
- v20.10.01
- v1.1.1
- v1.1.0
- v1.0.3
- v1.0.0
This package is auto-updated.
Last update: 2025-02-26 07:13:56 UTC
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(); } }