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\Mime
withObie\Http\Mime
- Replace
Obie\Router
withObie\Http\Router
[1] - Replace
Obie\RouterInstance
withObie\Http\RouterInstance
[1] - Replace
Obie\Route
withObie\Http\Route
[1] - Replace
Obie\Http\Client
withObie\Http\Request
using its methodperform()
- Replace
Obie\Util::formatBytes
withObie\Formatters\Bytes::toString
- Replace
Obie\Util::formatTime
withObie\Formatters\Time::toRelativeString
- Replace
Obie\ModelHelpers::getSingular
withObie\Formatters\EnglishNoun::toSingular
- Replace
Obie\ModelHelpers::getPlural
withObie\Formatters\EnglishNoun::toPlural
- Replace
Obie\ModelHelpers::getSingularFromClassNS
withObie\Formatters\EnglishNoun::classNameToSingular
- Replace
Obie\ModelHelpers::getSnakeCase
withObie\Formatters\Casing::camelToSnake
- Replace
Obie\ModelHelpers::getCamelCase
withObie\Formatters\Casing::snakeToCamel
- Replace
Obie\Util::sendMail
withObie\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.