PHPackages                             hos/hos-framework - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. hos/hos-framework

ActiveLibrary[Framework](/categories/framework)

hos/hos-framework
=================

Framework for Fast Developpement for PHP

022PHP

Since Oct 23Pushed 9y ago1 watchersCompare

[ Source](https://github.com/maximeallanic/hos-framework)[ Packagist](https://packagist.org/packages/hos/hos-framework)[ RSS](/packages/hos-hos-framework/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Hos
===

[](#hos)

Backend
-------

[](#backend)

### Installation

[](#installation)

```
    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
```

### Create BDD

[](#create-bdd)

Update schema.xml in app/conf with [this Documentation](http://propelorm.org/documentation/reference/schema.html)

and

```
    composer build-bdd

    vendor/bin/propel model:build --schema-dir 'app/conf/' --output-dir 'src/' --config-dir 'app/tmp/'

```

### Twig

[](#twig)

To Be compatible with AngularJS use Bracket variable like this:

```
    angular.module('app', [])
      .config(['$interpolateProvider', function ($interpolateProvider) {
        $interpolateProvider.startSymbol('[[');
        $interpolateProvider.endSymbol(']]');
      }]);

```

### Image API

[](#image-api)

In Twig use filter 'image'

```
