Skip to content
Gabriel Mourão edited this page Jun 12, 2019 · 7 revisions

Summary

The FastWork framework provides some native fetures:

  1. Routing
  2. Providers Injection
  3. Doctrine ORM, own QueryBuilder.
  4. GraphQL.
  5. Task/Queues.
  6. Async programming with PHP (FastWork Async)
  7. Unificador PAAS (AWS, GCP e Azure)
  8. Custom Injection
  9. Cloud Functions Python, NodeJS e GO packages
  10. Redis
  11. NoSQL

Requirements

  • Linux
  • PHP > 7.2
  • Swoole (for swoole server)
  • Apache or NGinx or Swoole or FPM
  • composer

Installation

Swoole Installation

Install Swoole (don't use PECL installation for use Swoole with FastWork):

git clone https://github.com/swoole/swoole-src.git
cd swoole-src
phpize
./configure
make && make install

Add extension=swoole.so to php.ini.

Swoole Installation (Swoole Doc)

Install FastWork

From composer:

composer require anthraxisbr/swoole-fastwork

Or:

git clone https://github.com/AnthraxisBR/swoole-fastwork

Or:

{
     "require" : {
          "anthraxisbr/swoole-fastwork" : "dev-master"
     }
}

TODO

  • Upload no Packagist.
  • Installation Script
  • Docker image 100% for Swoole on Windows.
  • Test on MacOS

Clone this wiki locally