hlynx / picolo
Picolo CMF
Installs: 21
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- doctrine/dbal: ~2.5
- monolog/monolog: ~1.12
- silex/silex: ~1.2
- symfony/twig-bridge: ~2.3
- symfony/yaml: ~2.6
- twig/twig: >=1.8,<2.0-dev
This package is not auto-updated.
Last update: 2025-03-01 19:57:58 UTC
README
Picolo is a skeleton for Silex microframework.
Requirements
- PHP >= 5.3
Installation
composer create-project hlynx/picolo <project_name>
For production from htdocs/.htaccess delete line
SetEnv APP_ENV dev
Structure
/app/Application.php
Applications class
/app/bootstrap.php
A place to include providers (database support, twig support, user management support, ...)
/config/
A place for config files (project settings, routing)
/src/
This folder should contain code of your application. Paths to files should be the same as their namespaces.
/templates/
A place for html templates
/htdocs/
Folder where your web server sholuld be pointed.
APP_ENV - default value is prod
APP_ENV = dev - value for development