inphinit / framework
A framework for easy creation of routes
2.0
2024-11-24 14:55 UTC
Requires
- php: >=5.3.0
README
Inphinit is a PHP framework for use routes, controllers and views. To try it, go to:
- https://github.com/inphinit/inphinit/blob/master/README.md (English)
- https://github.com/inphinit/inphinit/blob/master/README-PT.md (Português)
Requirements
- 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
- Multibyte String (GD also) (optional, only used in
Inphinit\Utility\Strings
class) - libiconv (optional, only used in
Inphinit\Utility\Strings
class) - fileinfo (optional, only used in
Inphinit\Filesystem\File
) - 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 theInphinit
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 {} \;`