prestophp/prestophp

This package is abandoned and no longer maintained. No replacement package was suggested.

The PHP micro-framework based on the Symfony Components

2.4.2 2021-02-24 13:28 UTC

README

PrestoPHP is a PHP micro-framework to develop websites and API's based on Symfony components:

<?php

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

$app = new PrestoPHP\Application();

$app->get('/hello/{name}', function ($name) use ($app) {
  return 'Hello '.$app->escape($name);
});

$app->run();

PrestoPHP works with PHP 7.1.3 or later. PrestoPHP's goal is to offer a framework suitable for commercial software development. This means it's offers long time support and is always supporting PHP versions back to the latest Ubuntu Server LTS version. PrestoPHP will also support code generation in the future similar to CakePHPs bake plugin.

Installation

The recommended way to install PrestoPHP is through Composer:

composer require prestophp/prestophp "~2.0"

Alternatively, you can download the PrestoPHP.zip file and extract it.

More Information

Read the documentation for more information and changelog for upgrading information.

Tests

To run the test suite, you need Composer and PHPUnit:

composer install
phpunit

Support

If you have a configuration problem use the PrestoPHP tag on StackOverflow to ask a question.

If you think there is an actual problem in PrestoPHP, please open an issue if there isn't one already created.

License

PrestoPHP is licensed under the MIT license.