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

This package is auto-updated.

Last update: 2025-06-29 01:51:29 UTC


README

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.

License