2017 © Pedro Peláez
 

library push

A PHP-driven platform for rapid web application develepment

image

push/push

A PHP-driven platform for rapid web application develepment

  • Wednesday, March 23, 2016
  • by jogboms
  • Repository
  • 1 Watchers
  • 3 Stars
  • 28 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Push PHP MVC Framework

A Minimal PHP platform for rapid web application development., (*1)

Installation

It's most recommended to utilize Composer for installation., (*2)

$ composer require push/push "@dev"

This installs Push and it requires PHP 5.5.0 or newer., (*3)

Usage

Create an index.php file with the following contents:, (*4)

<?php

include_once __DIR__.'/vendor/autoload.php';

$app = new Push\Application();

// Hello world from Hello controller
$app->router->any('/hello/:$input', 'Hello@index');

// Hello world from Callback
$app->router->get('/:$input', function($req, $res){
    $content = '

Hello, '.$req['input'].'!

'; $content .= '

from Route callback..

'; $content .= '<a href="hello/world">Goto Hello Controller</a>'; $res->write($content); }); $app->run();

The rest of the Application's configurations and structure is described in th example's directory., (*5)

You may quickly test this using the built-in PHP server:, (*6)

$ php -S localhost:3000

Go to http://localhost:3000 to see Push framework in action., (*7)

Credits

License

The Push Framework is licensed under the MIT license. See License File for more information., (*8)

The Versions

23/03 2016

dev-master

9999999-dev http://github.com/Jogboms/push

A PHP-driven platform for rapid web application develepment

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

framework light application slim minimal

18/02 2016

0.1.0

0.1.0.0 http://github.com/Jogboms/push

A Minimal PHP platform for rapid web application development

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

micro framework light application slim minimal