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: 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.

License