Skip to content
This repository has been archived by the owner on Jan 18, 2018. It is now read-only.

AdamBrianBright/AirCore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AirCore

WebSocket & HTTP server wrapper

Based on Ratchet

WARNING

Project is abandoned. New Project 'Fancy' will be able soon.

Get started

<?php
require __DIR__ . '/vendor/autoload.php';
use Aircodes\AirCore\Core;

$Core = new Core('127.0.0.1', 1337, Core::SESSION_MEMCACHED | Core::IP_FORWARDED);
$Core->with('localhost')
->on('/', function($req, $res) : void {
$res->send('<h1>Hello world!</h1>');
});

$Core->run();

About

PHP Http & WS server wrapper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages