Skip to content
/ Hawk Public

A small, embeddable non-blocking, event based http server written in PHP

License

Notifications You must be signed in to change notification settings

eberhm/Hawk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hawk

Hawk is a small, embeddable, non-blocking, event based http server written entirely in PHP.

#!/usr/bin/env php
<?php
require_once __DIR__ . '/lib/SplClassLoader.php';

$loader = new SplClassLoader('Hawk', __DIR__ . '/src');
$loader->register();

$hawk = new \Hawk\Http\Server();
$hawk->registerApplication(new \My\Application());

$hawk->run();

Requirements

  1. PHP 5.3
  2. Libevent >= 2.0.13

About

A small, embeddable non-blocking, event based http server written in PHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published