PHPackages                             andrey900/flight-skeleton - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. andrey900/flight-skeleton

ActiveLibrary[Database &amp; ORM](/categories/database)

andrey900/flight-skeleton
=========================

Simple Flight Framework skeleton application with Twig &amp; Monolog &amp; Eloquent ORM

1816[1 PRs](https://github.com/andrey900/Flight-Skeleton/pulls)PHP

Since Aug 16Pushed 7y ago1 watchersCompare

[ Source](https://github.com/andrey900/Flight-Skeleton)[ Packagist](https://packagist.org/packages/andrey900/flight-skeleton)[ RSS](/packages/andrey900-flight-skeleton/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

Flight Skeleton
===============

[](#flight-skeleton)

Simple **Flight** micro Framework skeleton application with **Twig** &amp; **Monolog** &amp; **Eloquent ORM**. This package is suitable for any web hosting with **php** version higher **5.3**. Use this skeleton application to quickly setup and start working on a new application. This application does not use latest version libraries: Monolog, Eloquent ORM - since the more recent versions use a higher php version.

Menu
====

[](#menu)

- **Installation**
    - [Use composer](https://github.com/andrey900/Flight-Skeleton#installation-use-composer)
    - [Use git](https://github.com/andrey900/Flight-Skeleton#installation-use-git)
    - [Use unix console](https://github.com/andrey900/Flight-Skeleton#installation-of-the-unix-console)
    - [Use browser](https://github.com/andrey900/Flight-Skeleton#installation-use-browser)
- **Start**
    - [First start](https://github.com/andrey900/Flight-Skeleton#first-start)
- **Structure**
    - [Folder structure](https://github.com/andrey900/Flight-Skeleton#folder-structure)
    - [Files structure](https://github.com/andrey900/Flight-Skeleton#files-structure)
- **Examples**
    - [Config example](https://github.com/andrey900/Flight-Skeleton#config-example)
    - [Install example site](https://github.com/andrey900/Flight-Skeleton#install-example-site-and-db-structure)
- [More links and docs](https://github.com/andrey900/Flight-Skeleton#more-links-and-docs)

### Installation use composer

[](#installation-use-composer)

```
    $ composer create-project andrey900/flight-skeleton path/to/install
```

Composer will create a new Flight Skeleton project under the `path/to/install` directory.

### Installation use git

[](#installation-use-git)

```
    $ git clone andrey900/Flight-Skeleton path/to/install
```

Git will create a new Flight Skeleton project under the `path/to/install` directory.

### Installation of the unix console (not realization)

[](#installation-of-the-unix-console-not-realization)

```
    $ mkdir path/to/install && cd path/to/install
    $ wget -c https://github.com/andrey900/Flight-Skeleton/archive/master.zip -O FlightSkeleton.zip
    $ unzip FlightSkeleton.zip && rm FlightSkeleton.zip
```

### Installation use browser

[](#installation-use-browser)

Download the zip archive [use link](https://github.com/andrey900/Flight-Skeleton/archive/master.zip), or use button "Clone or download -&gt; Download zip". Uncompressed archive in you hosting or local directory.

> Remember: The string **"path/to/install"** should be replaced by your folder path.

### First start

[](#first-start)

Open file **src/bootstrap/config.php** for edit, and enter the correct data for your connection db. More info for config file [link](https://github.com/andrey900/Flight-Skeleton#config-example)

Copy files to you root webserver folder. Open browser input you host. Local start use php in unix:

```
    $ cd path/to/install
    $ php -S 127.0.0.1:8080
```

After open browser use link:

### Folder structure

[](#folder-structure)

```
.
├── .git                # git repository folder
├── cache               # Cache folder
│   └── ...             # Cache type, etc
├── log                 # Logs files
├── src                 # Folder for you application source code
│   ├── App             # You namespace for library and classes
│   │   └── ...         # Make you structure, etc
│   ├── bootstrap       # Files using for starting application
│   ├── Controllers     # Controllers for you application
│   └── Models          # Model for you application
├── templates           # Templates use in you application
│   ├── main            # Holds name for template, use for many templates and easy substitution
│   └── ...             # Make you template, etc
├── uploads             # Static files
├── ...                 # Make you folder, etc

```

### Files structure

[](#files-structure)

```
.
├── src
│   ├── App
│   │   ├── Routes                  # Example: Routes namespace
│   │   │   └── RouteGenerator.php  # Example: Make array for config, and init this routers
│   │   └── Utils.php               # Example: Class for utilities
│   ├── bootstrap
│   │   ├── config.php              # Config array for you application: @return array
│   │   ├── dependencies.php        # Init dependencies and class in Flight
│   │   ├── routes.php              # Init routes in Flight
│   │   └── start.php               # Boot file for you application
│   ├── Controllers
│   │   ├── FrontController.php     # Example: Base controller and logic for front-end
│   │   └── PageController.php      # Example: Specific controller for type page
│   └── Models
│       └── Pages.php               # Example: Page model for sql table "pages"
└── templates
    └── main                        # Example: template
         ├── base.twig              # Base template layout
         ├── home.twig              # Home template
         ├── pageLists.twig         # List pages template
         ├── pageDetail.twig        # Detail page template
         └── 404.twig               # 404 error - page not found template

```

### Config example

[](#config-example)

Structure file config - multidimensional array. This file must return always array for correctly functioning your application!

First level - key for config library Second level - array - with a convenient structure for use, most often used key-value

Example:

```
    return array(
        ...
        "you_key" => array(
            "you_first_key"  => "value1",
            "you_second_key" => "value2",
        ),
    );
```

### Install example site and db structure

[](#install-example-site-and-db-structure)

Follow for link: ***/install-example/*** and click button "*Install*".

> Remember: You must first start and correctly configure a database connection.

### More links and docs

[](#more-links-and-docs)

More information can be found in the documentation of individual system modules:

- [Flight](http://flightphp.com/learn/)
- [Twig](http://twig.sensiolabs.org/documentation)
- [Illuminate ORM](https://laravel.com/docs/4.2/queries)
- [Monolog](https://github.com/Seldaek/monolog/blob/master/doc/01-usage.md)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0865fad05da8fc3e2a91c2f1f365fdb3c4ade46c106fb8f69829bf0cde448592?d=identicon)[andrey900](/maintainers/andrey900)

---

Tags

eloquentflight-phpflight-skeletonmonologphpskeleton-applicationtwig

### Embed Badge

![Health badge](/badges/andrey900-flight-skeleton/health.svg)

```
[![Health](https://phpackages.com/badges/andrey900-flight-skeleton/health.svg)](https://phpackages.com/packages/andrey900-flight-skeleton)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.3k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M540](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M208](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
