tassoevan / skeleton
Minimal PHP application structure
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 1
Open Issues: 5
Language:ApacheConf
Requires
- components/bootstrap: ~3.3.0
- j4mie/paris: ~1.4.0
- robloach/component-installer: 0.0.12.*
- slim/extras: ~2.0.3
- slim/slim: ~2.4.0
- slim/views: ~0.1.0
- twig/twig: ~1.15.0
Requires (Dev)
- phpunit/dbunit: ~1.3.0
- phpunit/phpunit: ~4.1.0
- squizlabs/php_codesniffer: ~1.5.0
This package is not auto-updated.
Last update: 2024-12-21 17:22:28 UTC
README
Minimal PHP application structure
What is this
Skeleton is a minimal framework-like file structure for a small/medium PHP application. It uses a collection of libraries:
- Slim microframework (with Views and Extras);
- Twig template engine;
- Idiorm/Paris active record;
- jQuery and Twitter Bootstrap.
It also use some tools for development and deployment:
How to install
Currently, you should use git
and composer
:
$ git clone http://github.com/tassoevan/skeleton.git /path/to/app $ composer --working-dir=/path/to/app update
This will install all libraries and tools.
How to configure
There are two main directories: public
and private
. public
is the public
www folder that must be served via HTTP server, while private
contains the
application source, logs, cache and configuration files. If you want to put them
in different locations, just rewrite the autoloader path in public/index.php
.
How to use
This project is in development. When it reaches minimal required features (like MVC support and deployment), it will be tagged and properly versionated. For now, this structure should be treated as experimental and subject to major changes.