Skip to content

HVSoftware/symfony-application

 
 

Repository files navigation

Endroid Symfony Application

Latest Stable Version Build Status Scrutinizer Quality Score Total Downloads License PayPayl donate button

Use this project if you want to quickly set up a basis for your web application. This application is built on endroid/symfony-standard and extended with popular and well-maintained community bundles and some example implementations to speed up the development process. You decide which functionalities you use, depending on the type of web application you are building. Browse the live demo and the admin section (admin/admin) to get a quick impression of the full package.

Live demo

Installation

Create the project

composer create-project endroid/symfony-application <target>

Create the database and schema

php app/console doctrine:database:create
php app/console doctrine:schema:update --force

Set permissions

HTTPDUSER=`ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\  -f1`
sudo setfacl -R -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX app/cache app/logs
sudo setfacl -dR -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX app/cache app/logs

Install optional services

Load optional fixtures

php app/console doctrine:fixtures:load -n
php app/console assets:install --symlink
php app/console fos:elastica:populate

Note

Please note that if you are using PHP < 5.4 and you want to make use of the provided behaviors you will have to copy the trait code into your entities instead of using the traits.

Documentation

The documentation is stored in the src/Endroid/Bundle/SiteBundle/Resources/doc/index.md file in this bundle. Read the Documentation