Skip to content
This repository was archived by the owner on Sep 3, 2021. It is now read-only.

A simple application server for your Silex applications.

License

NotificationsYou must be signed in to change notification settings

jsor/SilexApplicationServerServiceProvider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ApplicationServerServiceProvider for Silex

A simple application server for your Silex applications.

Note: This is a POC, is meant to be used locally for testing purposes and is not production ready.

Usage

Create a file with following content and run it from the command line:

#!/usr/bin/env php
<?php

$app = new Silex\Application();

$app->register(new Jsor\ApplicationServerServiceProvider());

$app->get('/', function() {
    return "Hello world";
});

$app['application_server']->listen('8080', '127.0.0.1', '/index.php');

This will start the application server on 127.0.0.1:8080 with the base path /index.php.

About

A simple application server for your Silex applications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages