Coder Social home page Coder Social logo

flight-core's Introduction

Version Monthly Downloads PHPStan: Level 6 License PHP Version Require Matrix

What is Flight?

Flight is a fast, simple, extensible framework for PHP. Flight enables you to quickly and easily build RESTful web applications.

Basic Usage

// if installed with composer
require 'vendor/autoload.php';
// or if installed manually by zip file
// require 'flight/Flight.php';

Flight::route('/', function () {
  echo 'hello world!';
});

Flight::start();

Skeleton App

You can also install a skeleton app. Go to flightphp/skeleton for instructions on how to get started!

Documentation

We have our own documentation website that is built with Flight (naturally). Learn more about the framework at docs.flightphp.com.

Community

Chat with us on Matrix IRC #flight-php-framework:matrix.org

Upgrading From v2

If you have a current project on v2, you should be able to upgrade to v2 with no issues depending on how your project was built. If there are any issues with upgrade, they are documented in the migrating to v3 documentation page. It is the intention of Flight to maintain longterm stability of the project and to not add rewrites with major version changes.

Requirements

Important

Flight requires PHP 7.4 or greater.

Note: PHP 7.4 is supported because at the current time of writing (2024) PHP 7.4 is the default version for some LTS Linux distributions. Forcing a move to PHP >8 would cause a lot of heartburn for those users.

The framework also supports PHP >8.

Roadmap

To see the current and future roadmap for the Flight Framework, visit the project roadmap

License

Flight is released under the MIT license.

flight-core's People

Contributors

mikecao avatar n0nag0n avatar fadrian06 avatar masroore avatar kafene avatar tamtamchik avatar krmu avatar larsjk avatar ozh avatar merkuriy avatar enyst avatar berkus avatar pine3ree avatar kouts avatar juneszh avatar hitautodestruct avatar hlidotbe avatar spytheman avatar davidkuridza avatar dstelljes avatar bellenottelling avatar alexshadie avatar vlakoff avatar susuper avatar pluveto avatar orthographic-pedant avatar everflux avatar smeinecke avatar sethbattin avatar saschanos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.