PHP framework, routes, controllers and views
- PHP 5.3.0+
- Multibyte String (GD also) (optional, only used in
Inphinit\Helper::toAscii
) - libiconv (optional, only used in
Inphinit\Helper::toAscii
) - fileinfo (optional, only used in
Inphinit\File::mime
)
This repository is core code of the Inphinit framework, to build an application visit the main repository.
Inhpinit 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.
To start the framework see the wiki:
- Move
system/boot
folder toinphinit/framework
package - Move
system/View/debug/*
(views) toinphinit/framework
package - Move from
Inphinit\Experimental\
toInphinit\
namespace:Inphinit\Experimental\Config
Inphinit\Experimental\Debug
Inphinit\Experimental\Dom\*
Inphinit\Experimental\Exception
Inphinit\Experimental\Http\Negotiation
Inphinit\Experimental\Http\Status
Inphinit\Experimental\Routing\Group
Inphinit\Experimental\Routing\Quick
Inphinit\Experimental\Routing\Rest
- Create CLI with features:
- Maintenance mode (change up or down server)
- Generate
.htaccess
- Builtin webserver (start, stop and restart, like httpd2 commands)
- Auth
- ORM
- Unit testing