manothbi / simple-fw
There is no license information available for the latest version (dev-main) of this package.
A simple micro Framework
dev-main
2022-04-02 02:26 UTC
Requires
- php: ^8.0.2
- doctrine/annotations: ^1.13
- symfony/config: ^6.0
- symfony/console: ^6.0
- symfony/http-foundation: ^6.0
- symfony/routing: ^6.0
- symfony/yaml: ^6.0
This package is auto-updated.
Last update: 2024-03-30 00:24:37 UTC
README
Simple Micro Web Framework Simfra =============================
WARNING: Simfra is in maintenance mode only.
Simfra is personal web framework a PHP micro-framework to develop websites based on Symfony components:
<?php
require_once __DIR__.'/../vendor/autoload.php';
use Symfony\Component\Routing\RequestContext;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Routing\RouteCollection;
$routes = new RouteCollection();
$requestContext = new RequestContext();
$requestContext->fromRequest(Request::createFromGlobals());
Core\Bootstrap::getInstance($requestContext);
Simfra works with PHP 8 or later.
Installation
The recommended way to install Silex is through Composer:
composer require manothbi/simple-fw
Alternatively, you can download the simfra.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 think there is an actual problem in Simfra, please open an issue if there isn't one already created.