inphinit / framework
A framework for easy creation of routes
Installs: 395
Dependents: 1
Suggesters: 0
Security: 0
Stars: 12
Watchers: 3
Forks: 2
Open Issues: 0
pkg:composer/inphinit/framework
Requires
- php: >=5.3.0
README
Inphinit is a PHP framework for managing routes, controllers, and views. To learn more or try it out, visit:
- https://github.com/inphinit/inphinit/blob/master/README.md (English)
- https://github.com/inphinit/inphinit/blob/master/README-PT.md (Português)
Requirements
- See currently supported PHP versions: https://www.php.net/supported-versions.php.
- Minimal PHP 5.4 (backward compatibility is maintained for users with upgrade limitations).
- If you need a full-featured server for Windows or macOS, you can try WampServer, XAMPP, Laragon, EasyPHP, or AMPPS.
- (Optional) Intl PHP extension to use
Inphinit\Utility\Stringsclass. - (Optional) COM PHP extension or cURL PHP extension to use
Inphinit\Filesystem\Sizeclass.
Getting started
This repository contains the core code of the Inphinit framework. To build an application, visit the main repository.
Inphinit is a minimalist framework inspired by the syntax of other popular frameworks, designed to make learning easier. The core of the framework is divided into two parts: Inphinit and Inphinit\Experimental.
Inphinitnamespace contains all defined classes that will hardly change their behavior.Inphinit\Experimentalnamespace contains classes that are being designed and tested. Some of them already work very well, while others are still being defined. Once a class is stable and fully tested, it will be moved to theInphinitnamespace.
If you are a contributor, before sending a pull-request it is important to run LINT, run the following command to check for syntax errors:
find . -type f -name "*.php" -exec php -l {} \;
On Windows:
for /R %F in (*.php) do @php -l %F