amarcinkowski / hospitalplugin
Hospital plugins library
1.0.25
2016-03-15 08:56 UTC
Requires
- php: >=5.3.2
- doctrine/orm: *
- phpoffice/phpexcel: *
- symfony/yaml: *
- twig/twig: *
- vlucas/phpdotenv: ~1.0.6
Requires (Dev)
- phpunit/phpunit: 4.1.*
- satooshi/php-coveralls: 0.6.1
README
PHP Library used in Hospital Wordpress plugins
Dev env setup
Grunt
npm install grunt
npm install --save-dev grunt-npm-install
npm install --save-dev load-grunt-tasks
npm install --save-dev time-grunt
grunt npm-install
grunt
Bower
Command npm install -g bower
.
npm install -g grunt-cli
npm install grunt
npm install grunt-npm-install
sudo grunt npm-install
sudo npm install --save-dev load-grunt-tasks time-grunt
Building and Documentation
grunt build
grunt doc
PHPDox
wget http://phpdox.de/releases/phpdox.phar
chmod +x phpdox.phar
mv phpdox.phar /usr/local/bin/phpdox
Doctrine db
reverse engineering
php vendor/bin/doctrine orm:convert-mapping --force --from-database annotation ./EXPORT/
db tables generation based on annotation
php vendor/bin/doctrine orm:schema-tool:update --force --dump-sql