prestophp / prestophp
The PHP micro-framework based on the Symfony Components
Installs: 424
Dependents: 0
Suggesters: 0
Security: 0
Stars: 13
Watchers: 3
Forks: 741
Open Issues: 4
Requires
- php: >=7.4.0
- fig/link-util: ^1.1
- pimple/pimple: ^3.0
- symfony/event-dispatcher: ^5.0.0
- symfony/http-foundation: ^5.0.0
- symfony/http-kernel: ^5.0.0
- symfony/routing: ^5.0.0
Requires (Dev)
- doctrine/dbal: ^2.2
- monolog/monolog: ^1.4.1 || ^2.0.0
- phpstan/phpstan: ^0.12.35
- swiftmailer/swiftmailer: ^5.0.0 || ^6.0.0
- symfony/asset: ^5.0.0
- symfony/browser-kit: ^5.0.0
- symfony/config: ^5.0.0
- symfony/css-selector: ^5.0.0
- symfony/debug: ^4.0.0 || ^5.0.0
- symfony/doctrine-bridge: ^5.0.0
- symfony/dom-crawler: ^5.0.0
- symfony/expression-language: ^5.0.0
- symfony/finder: ^5.0.0
- symfony/form: ^5.0.0
- symfony/intl: ^5.0.0
- symfony/monolog-bridge: ^5.0.0
- symfony/options-resolver: ^5.0.0
- symfony/phpunit-bridge: ^5.0.0
- symfony/process: ^5.0.0
- symfony/security-core: ^5.0.0
- symfony/security-csrf: ^5.0.0
- symfony/security-guard: ^5.0.0
- symfony/security-http: ^5.0.0
- symfony/serializer: ^5.0.0
- symfony/translation: ^5.0.0
- symfony/twig-bridge: ^5.0.0
- symfony/validator: ^5.0.0
- symfony/var-dumper: ^5.0.0
- symfony/web-link: ^5.0.0
- twig/twig: ^2.0.0
Replaces
- prestophp/api: 2.4.2
- prestophp/providers: 2.4.2
- dev-master / 2.4.x-dev
- 2.4.2
- 2.4.1
- 2.4.0
- v2.3.4
- v2.3.3
- v2.3.2
- 2.3.1
- v2.3.0
- v2.2.3
- v2.2.2
- 2.2.1.x-dev
- v2.2.1
- v2.2.0
- v2.1.0
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v1.3.6
- v1.3.5
- v1.3.4
- v1.3.3
- v1.3.2
- v1.3.1
- v1.3.0
- v1.2.5
- v1.2.4
- v1.2.3
- v1.2.2
- v1.2.1
- v1.2.0
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.2
- v1.0.1
- v1.0.0
- dev-security-fix
This package is auto-updated.
Last update: 2024-01-24 22:38:06 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.