This is demo project for learning the Symfony 1 framework.
$ sh symfony.sh generate:project project_name
Dir name | Description |
---|---|
apps/ | Contains all application of the project |
cache/ | Cache of the framework |
config/ | Configuration files |
lib/ | Libs and classes of the project |
log/ | Log files |
plugins/ | Installed plugins |
test/ | Test files |
web/ | Root web directory |
$ ./symfony generate:app frontend
Dir name | Description |
---|---|
config/ | Configuration files of application |
lib/ | Libs and classes of the application |
modules/ | MVC |
templates/ | Global templates of application |
$ ./symfony plugin:install sfDoctrineGuardPlugin
$ cd project_name/web && ln -s ../lib/vendor/symfony/data/web/sf/ sf
$ php -S 127.0.0.1:8080
$ ./symfony test:unit