bearframework

An open-source PHP framework. Incredibly lightweight. Powerful enough.

MIT License

Downloads
7.4K
Stars
45
Committers
3

Bot releases are visible (Hide)

bearframework - v0.10.0-beta.1

Published by ivopetkov over 7 years ago

The first beta for v0.10.

bearframework - v0.9.3

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.

bearframework - v0.9.2

Published by ivopetkov almost 8 years ago

Added App::get() method that returns the app instance.

bearframework - v0.9.1

Published by ivopetkov about 8 years ago

Added port property to $app->request.

bearframework - v0.9.0

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.

bearframework - v0.8.1

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).

bearframework - v0.8.0

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

bearframework - v0.7.0

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

bearframework - v0.6.2

Published by ivopetkov over 8 years ago

bearframework - v0.6.1

Published by ivopetkov over 8 years ago

bearframework - v0.6.0

Published by ivopetkov over 8 years ago

bearframework - v0.5.0

Published by ivopetkov almost 9 years ago