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

1.0.1 2015-02-20 02:01 UTC

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:

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.