Home - AnthraxisBR/swoole-fastwork GitHub Wiki
Summary
The FastWork framework provides some native fetures:
- Routing
- Providers Injection
- Doctrine ORM, own QueryBuilder.
- GraphQL.
- Task/Queues.
- Async programming with PHP (FastWork Async)
- Unificador PAAS (AWS, GCP e Azure)
- Custom Injection
- Cloud Functions Python, NodeJS e GO packages
- Redis
- 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