PHPackages                             enlivenapp/flight-factory - 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. [Framework](/categories/framework)
4. /
5. enlivenapp/flight-factory

ActiveLibrary[Framework](/categories/framework)

enlivenapp/flight-factory
=========================

Interactive scaffolding tool for FlightPHP applications and plugins

0.2.0(2mo ago)051MITPHPPHP ^8.1

Since Apr 18Pushed 2mo agoCompare

[ Source](https://github.com/enlivenapp/FlightPHP-Factory)[ Packagist](https://packagist.org/packages/enlivenapp/flight-factory)[ RSS](/packages/enlivenapp-flight-factory/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (2)Versions (5)Used By (1)

[![Stable? Not Quite Yet](https://camo.githubusercontent.com/8712c441bb32fd8db507e0008c5d13e30def50064f8fcbc689fbcf5191f7d2af/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f737461626c652533462d6e6f7425323071756974652532307965742d626c75653f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/enlivenapp/flight-factory)[![License](https://camo.githubusercontent.com/f04ee6e827d8970a532e9b1b5e4e3f9c7fd4f2a845d35f90272e66f819ca8b84/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f656e6c6976656e6170702f666c696768742d666163746f72793f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/enlivenapp/flight-factory)[![PHP Version](https://camo.githubusercontent.com/d841afc1d4704e1e55ffc7e07d361c9b166a5fa405dd3713490068d65d83bb47/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f656e6c6976656e6170702f666c696768742d666163746f72793f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/enlivenapp/flight-factory)[![Monthly Downloads](https://camo.githubusercontent.com/716b28ee7ae6c1b99827d4d3767253f891c17a43821cbf1e286d43b5fa5ab811/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f656e6c6976656e6170702f666c696768742d666163746f72793f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/enlivenapp/flight-factory)[![Total Downloads](https://camo.githubusercontent.com/362b55ee77a9cecb10498adb2e56a06df43e155eb32a1d7944d5f5bb9d78291f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f656e6c6976656e6170702f666c696768742d666163746f72793f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/enlivenapp/flight-factory)[![GitHub Issues](https://camo.githubusercontent.com/09aa60425cc02cab3fa0fffa6302413a5ba845a224071cbaa8ea17e6283f4f5d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f656e6c6976656e6170702f466c696768745048502d466163746f72793f7374796c653d666f722d7468652d6261646765)](https://github.com/enlivenapp/FlightPHP-Factory/issues)[![Contributors](https://camo.githubusercontent.com/fd5ff31423ec825ab1de2d10745eec86a42f385271a02b9df15f8c7f49c955ff/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f656e6c6976656e6170702f466c696768745048502d466163746f72793f7374796c653d666f722d7468652d6261646765)](https://github.com/enlivenapp/FlightPHP-Factory/graphs/contributors)[![Latest Release](https://camo.githubusercontent.com/8596779e637c7c62f1ac47b98d992af48be06bea726c690adc2355a60aee878d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f656e6c6976656e6170702f466c696768745048502d466163746f72793f7374796c653d666f722d7468652d6261646765)](https://github.com/enlivenapp/FlightPHP-Factory/releases)[![Contributions Welcome](https://camo.githubusercontent.com/9db3f8b82ea88469efd296a9305fc00f40b4c9450bb6b539d42d339fa6963444/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f6e747269627574696f6e732d77656c636f6d652d626c75653f7374796c653d666f722d7468652d6261646765)](https://github.com/enlivenapp/FlightPHP-Factory/pulls)

Flight Factory
==============

[](#flight-factory)

**I noticed folks downloading some of these packages. I'm super grateful, Thank You! I would like to let folks know until this notice disappears I'm doing a lot of breaking changes without worrying about them. Once versions are up around 0.5.x things should settle down.**

Interactive scaffolding tool for FlightPHP applications and plugins.

Installation
------------

[](#installation)

```
composer require enlivenapp/flight-factory
```

Commands are automatically available via `php runway build`.

Commands
--------

[](#commands)

CommandDescription`build:app`Create components for your application`build:vendor`Create components for a vendor packageAvailable Components
--------------------

[](#available-components)

ComponentDescription`command`CLI command`config`Configuration file`controller`Web or API controller`entity`ActiveRecord entity (src/Entities/)`middleware`Middleware class`migration`Database migration (PHP class)`model`ActiveRecord model (src/Models/)`mvc`Controller + Model + View combo`repository`Repository class (src/Repositories/)`seed`Database seeder`service`Service class`util`Utility class`view`View templateUsage
-----

[](#usage)

### Interactive Mode

[](#interactive-mode)

Run without arguments to be prompted for everything:

```
php runway build:app
php runway build:vendor
```

### Direct Mode

[](#direct-mode)

Pass arguments to skip prompts:

```
php runway build:app controller UserController
php runway build:app controller UserController --type=api
php runway build:app mvc Blog
php runway build:vendor enlivenapp/my-plugin controller UserController
php runway build:vendor enlivenapp/my-plugin mvc Blog --type=api
```

### Creating a New Vendor Package

[](#creating-a-new-vendor-package)

If the package doesn't exist, `build:vendor` will scaffold it for you. Flight School plugins get full boilerplate: `Plugin.php`, `Config/Config.php`, `Config/Routes.php`, and `Config/AdminRoutes.php`.

```
php runway build:vendor enlivenapp/my-new-plugin
```

Warnings
--------

[](#warnings)

Generally we trust Developers know what they're doing, we offer a warning when approching a potentially dangerous operation, but we don't block any operation. This will allow you to add to other authors' packages which could improve or break it but would be overwritten on a composer update.

New packages can optionally be created as [Flight School](https://github.com/enlivenapp/FlightPHP-Flight-School) plugins. Warns if Flight School not installed. **will crash your install if you create a flight school plugin and flight school is not installed.**

### Help

[](#help)

```
php runway build
php runway build:app --help
php runway build:vendor --help
```

Directory Structure
-------------------

[](#directory-structure)

### build:app

[](#buildapp)

Files are placed in the `app/` directory with lowercase directory names (use with skeleton):

```
app/commands/
app/config/
app/controllers/
app/entities/
app/middlewares/
app/migrations/
app/models/
app/repositories/
app/seeds/
app/services/
app/utils/
app/views/

```

### build:vendor

[](#buildvendor)

Files are placed in the package's `src/` directory with uppercase directory names (except `commands/`):

```
src/commands/
src/Config/           (Config.php, Routes.php, AdminRoutes.php)
src/Controllers/
src/Database/Migrations/
src/Entities/
src/Middlewares/
src/Models/
src/Repositories/
src/Seeds/
src/Services/
src/Utils/
src/Views/

```

License
-------

[](#license)

MIT

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance84

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

###  Release Activity

Cadence

Every ~4 days

Total

4

Last Release

82d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3036663?v=4)[Mike W](/maintainers/enlivenapp)[@enlivenapp](https://github.com/enlivenapp)

---

Top Contributors

[![enlivenapp](https://avatars.githubusercontent.com/u/3036663?v=4)](https://github.com/enlivenapp "enlivenapp (4 commits)")

### Embed Badge

![Health badge](/badges/enlivenapp-flight-factory/health.svg)

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

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k16](/packages/tempest-framework)[spiral/framework

Spiral, High-Performance PHP/Go Framework

2.1k2.2M69](/packages/spiral-framework)[nette/di

💎 Nette Dependency Injection Container: Flexible, compiled and full-featured DIC with perfectly usable autowiring and support for all new PHP features.

92641.5M1.6k](/packages/nette-di)[oro/platform

Business Application Platform (BAP)

645143.5k116](/packages/oro-platform)[nette/nette

👪 Nette Framework - innovative framework for fast and easy development of secured web applications in PHP (metapackage)

1.6k2.8M338](/packages/nette-nette)[filament/support

Core helper methods and foundation code for all Filament packages.

2331.0M270](/packages/filament-support)

PHPackages © 2026

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