dev-master
9999999-dev https://github.com/daehl/hos-frameworkFramework for Fast Developpement for PHP
CC0 1.0
by Maxime Allanic
framework daehl hos
Framework for Fast Developpement for PHP
apt-get install php7.0-curl php.0-pgsql php7.0-gd php7.0-dev postgresql-9.3 php-pear libyaml-dev yui-compressor ruby2.0-dev pecl install yaml-beta gem install compass echo "extension=yaml.so;" >> /etc/php/7.0/cli/php.ini echo "extension=yaml.so;" >> /etc/php/7.0/apache2/php.ini composer create-project daehl/hos-project
Update schema.xml in app/conf with this Documentation, (*1)
and, (*2)
composer build-bdd vendor/bin/propel model:build --schema-dir 'app/conf/' --output-dir 'src/' --config-dir 'app/tmp/'
To Be compatible with AngularJS use Bracket variable like this:, (*3)
angular.module('app', []) .config(['$interpolateProvider', function ($interpolateProvider) { $interpolateProvider.startSymbol('[['); $interpolateProvider.endSymbol(']]'); }]);
In Twig use filter 'image', (*4)
<!-- To Have an Image width 300px of width --> <img src="<% 'image/sample.png' | image({w: 300})/>
Or directly with url 'image/logo.png?w=300' to get Image with width of 300px and respect Aspect/Ratio, (*5)
More, (*6)
Set app/tmp & app/log to memory (tmpfs), (*7)
mount -t tmpfs -o size=1024 tmpfs app/log mount -t tmpfs -o size=1024 tmpfs app/tmp
Framework for Fast Developpement for PHP
CC0 1.0
framework daehl hos