An open-source PHP framework. Incredibly lightweight. Powerful enough.
MIT License
Bot releases are hidden (Show)
Published by ivopetkov over 7 years ago
The first beta for v0.10.
Published by ivopetkov almost 8 years ago
Code optimizations. The loading of app/index.php file moved from $app->run() to $app->initialize(). The initialized
hook is moved too.
Published by ivopetkov almost 8 years ago
Added App::get() method that returns the app instance.
Published by ivopetkov about 8 years ago
Added port property to $app->request.
Published by ivopetkov about 8 years ago
Added:
Added argument validations to all methods.
Added \BearFramework\Addons::get that returns information about the addon registered (id, dir, options).
Added $app->addons->exists() method.
Added $app->addons->get() methodthat returns information about the added addon (id, options).
Added $app->cache->exists() method.
Added $app->classes->exists() method.
Added options argument to $app->hooks->add() that can be used to specify the priority of execution.
Added $app->hooks->exists() method.
Changed:
\BearFramework\Addons::getList() now returns an array containing all registered addons data.
$app->addons->getList() now returns an array containing the added addon ids and options.
Cache data is optimized. The cache value and the TTL value are now stored in one place.
BearFramework\App\InvalidConfigOptionException is renamed to BearFramework\App\Config\InvalidOptionException.
BearFramework\App\Container::has() method is named to BearFramework\App\Container::exists().
The ObjectStorage library exceptions are now replaced by \Exception and \BearFramework\App\Data\DataLockedException
Removed:
\BearFramework\Addons::getDir() method is removed. Use \BearFramework\Addons::get() instead.
\BearFramework\Addons::getOptions() method is removed. Use \BearFramework\Addons::get() instead.
Return values removed from set(), append(), duplicate(), rename() and delete() methods in the $app->data object.
Removed $app->filesystem.
Published by ivopetkov over 8 years ago
Changed:
Addons name
property is now changed to id
, but name
is still available. It will be removed in future versions.
All directory names are now passed through realpath
and now are consistent (no ending slash).
Published by ivopetkov over 8 years ago
Not compatible with v0.7!
Added:
A new way to register and use addons.
$app->urls
$app->filesystem instead of BearFramework\Dir and BearFramework\File
$app->images instead of BearFramework\Images
$app->data->execute to execute multiple commands atomically
Changed:
$app->container->add is now $app->container->set
The container now returns only a single instance (singleton).
Removed:
$app->load
$app->getUrl
$context->load
Published by ivopetkov over 8 years ago
Not compatible with v0.6!
Added:
BearFramework namespace.
Dependency Injection container.
config->updateEnvironment
option.
Changed:
Log
is now Logger
with changed method.
Addons are now added by pathname
instead of id
. addonsDir
config option is removed.
Now you can define which dirs are publicly accessible.
Addon context provides options
property instead of getOptions()
method.
Removed:
HTML Server Components.
Cache::exists method
Published by ivopetkov over 8 years ago
Published by ivopetkov over 8 years ago
Published by ivopetkov over 8 years ago
Published by ivopetkov almost 9 years ago