mascot / mascot
The PHP micro-framework based on the Symfony Components
Requires
- php: >=7.1.3
- pimple/pimple: ^3.0
- symfony/event-dispatcher: ^4.4
- symfony/http-foundation: ^4.4
- symfony/http-kernel: ^4.4
- symfony/routing: ^4.4
Requires (Dev)
- doctrine/dbal: ^2.2
- monolog/monolog: ^1.4.1
- symfony/asset: ^4.4
- symfony/browser-kit: ^4.4
- symfony/config: ^4.4
- symfony/css-selector: ^4.4
- symfony/doctrine-bridge: ^4.4
- symfony/dom-crawler: ^4.4
- symfony/error-handler: ^4.4
- symfony/expression-language: ^4.4
- symfony/finder: ^4.4
- symfony/form: ^4.4
- symfony/intl: ^4.4
- symfony/monolog-bridge: ^4.4
- symfony/options-resolver: ^4.4
- symfony/phpunit-bridge: ^3.2
- symfony/process: ^4.4
- symfony/security: ^4.4
- symfony/serializer: ^4.4
- symfony/translation: ^4.4
- symfony/twig-bridge: ^4.4
- symfony/validator: ^4.4
- symfony/var-dumper: ^4.4
- symfony/web-link: ^4.4
- twig/twig: ^3.0
This package is auto-updated.
Last update: 2024-03-29 03:59:04 UTC
README
Mascot, a simple Web Framework =============================
Mascot is a fork of Silex, the PHP micro-framework to develop websites based on Symfony components:
<?php
require_once __DIR__.'/../vendor/autoload.php';
$app = new Mascot\Application();
$app->get('/hello/{name}', function ($name) use ($app) {
return 'Hello '.$app->escape($name);
});
$app->run();
Mascot works with PHP 7.2 or later.
Installation
The recommended way to install Mascot is through Composer:
composer require mascot/mascot
Alternatively, you can download the mascot.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 mascot tag on StackOverflow to ask a question.
If you think there is an actual problem in Mascot, please open an issue if there isn't one already created.
License
Mascot is licensed under the MIT license.