Obie is a simple PHP framework. It aims to provide basic services needed for any web app.
composer require alexrsagen/obie
Check out alexrsagen/obie-sample-app to see an example app built with Obie.
- Upgrade to PHP >= 8.0.0
- Replace all instances of "ZeroX" / "ZEROX" with "Obie" / "OBIE"
- Replace
Obie\MimewithObie\Http\Mime - Replace
Obie\RouterwithObie\Http\Router[1] - Replace
Obie\RouterInstancewithObie\Http\RouterInstance[1] - Replace
Obie\RoutewithObie\Http\Route[1] - Replace
Obie\Http\ClientwithObie\Http\Requestusing its methodperform() - Replace
Obie\Util::formatByteswithObie\Formatters\Bytes::toString - Replace
Obie\Util::formatTimewithObie\Formatters\Time::toRelativeString - Replace
Obie\ModelHelpers::getSingularwithObie\Formatters\EnglishNoun::toSingular - Replace
Obie\ModelHelpers::getPluralwithObie\Formatters\EnglishNoun::toPlural - Replace
Obie\ModelHelpers::getSingularFromClassNSwithObie\Formatters\EnglishNoun::classNameToSingular - Replace
Obie\ModelHelpers::getSnakeCasewithObie\Formatters\Casing::camelToSnake - Replace
Obie\ModelHelpers::getCamelCasewithObie\Formatters\Casing::snakeToCamel - Replace
Obie\Util::sendMailwithObie\App::sendMail
[1] Ideally, replace all possible use of Router with Request / Response as well.
I want to provide documentation in the future, but currently there is not enough development time to write any documentation.
I try to write most of the code as self-documenting and minimal as possible, please try to read the code to get an idea of how to use it.
There will be no support (as in help) provided, other than fixing bugs.
This framework is in production use and is being maintained, but you will have to be on your own in using it, for now.