Skip to content

devxian96/phpExpress

Repository files navigation

logo

GitHub stars GitHub forks GitHub issues GitHub license

Minimalist RestAPI web framework for PHP, Affected by Express

  require 'phpExpress.php';
  $app = new phpExpress();

  $app->get('/', function ($req, $res) {
      $res->send("Hello World");
  });

  $app->listen();

Features

  • Robust routing
  • Focus on high performance and Minimalist
  • HTTP helpers (redirection, caching, GET and POST read, etc)
  • Support many headers
  • phpSequelize ORM, Affected by Sequelize

Getting started

Requirement

  • php7 or higher

Standalone

  1. Download Framework file.
  2. Follow code sample.
  require 'phpExpress.php';
  $app = new phpExpress();

Now you ready to use it

Composer


I not ready this way yet. Coming soon.

Examples

Please take a look at Example page.

Notice

phpSequlize is not ready