inphinit/framework

A framework for easy creation of routes

2.0 2024-11-24 14:55 UTC

README

Inphinit is a PHP framework for use routes, controllers and views. To try it, go to:

Requirements

  1. PHP 5.4.0+, but it is recommended that you use PHP 8 due to PHP support issues, read: https://www.php.net/supported-versions.php
  2. Multibyte String (GD also) (optional, only used in Inphinit\Utility\Strings class)
  3. libiconv (optional, only used in Inphinit\Utility\Strings class)
  4. fileinfo (optional, only used in Inphinit\Filesystem\File)
  5. COM or CUrl (optional, only used in Inphinit\Filesystem\Size)

Getting start

This repository is core code of the Inphinit framework, to build an application visit the main repository.

Inphinit is a minimalist framework based on the syntax of other popular frameworks, to make learning easier. The core of the framework is divided into two parts: Inphinit and Inphinit\Experimental.

  • Inphinit namespace contains all defined classes that will hardly change their behavior.
  • Inphinit\Experimental namespace contains classes that are being designed and tested, some of them already work very well, others are not yet fully defined, if the class has all its functionalities defined and tested in the future it will be moved to the Inphinit namespace.

If you are a contributor, before sending a pull-request it is important to run LINT, use the following command to make it easier:

find . -type f -name "*.php" -exec php -l {} \;`