PHP Classes


Recommend this page to a friend!
  Classes of Yousaf Syed  >  Crow PHP Web Framework  >  >  Download  
Role: Documentation
Content type: text/markdown
Description: Read me
Class: Crow PHP Web Framework
Microservice framework for PHP
Author: By
Last change:
Date: 1 year ago
Size: 2,049 bytes


Class file image Download

Fast un-opinionated minimalist web framework and server for PHP built on top of Async PHP servers (SwoolePHP and ReactPHP). CrowPHP lets you build real microservices in PHP without the use of PHP-FPM/Nginx or Apache.

Build Status License Coverage



  1. PHP >8.0
  2. Swoole PHP extension
$ pecl install swoole

Installation of CrowPHP via composer, the following command will install the framework and all of its dependencies with it.

composer install crowphp/crow

Hello world microservice using CrowPHP

require 'vendor/autoload.php';

use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface as RequestInterface;
use Crow\Http\Server\Factory as CrowServer;

$app = CrowServer::create(CrowServer::SWOOLE_SERVER);
$router = Crow\Router\Factory::make();

$router->get('/', function (RequestInterface $request, ResponseInterface $response) {
    $response->getBody()->write('Hello World');
    return $response;



You may quickly test your newly built service as follows:

$ php index.php

Going to http://localhost:5005 will now display "Hello World".

For more information on how to configure your web server, see the Documentation.


To execute the test suite, you'll need to install all development dependencies.

$ git clone
$ composer install
$ composer test


Please see CONTRIBUTING for details.

Learn More

Learn more at these links: - Website


If you discover security related issues, please email or use the issue tracker.


The Crow Framework is licensed under the MIT license. See License File for more information.

For more information send a message to info at phpclasses dot org.