Releases: pingpong-labs/sky
Releases · pingpong-labs/sky
Version 2.1.5 Stable
- Added
hideWhen
feature to menu item class. This feature is helpful for hiding specific menu item. The menu item will hidden if the callback result is returningtrue
value.
Menu::make('main', function () {
$menu->url('foo','Foo')->hideWhen(function () {
// return boolean
return Auth::check();
});
});
Version 2.1.4 Stable
- Changed published module's view path to
resources/views/modules
. - Fix pingpong-labs/generators#3 : fix generate migration bug.
- Added new feature to pingpong/widget, merged from pingpong-labs/widget#12
Version 2.1.3 Stable
- Fix invalid path for fresh install of pingpong/generators package.
Version 2.1.2 Stable
- Improved ordering feature in pingpong/menus package.
- Added new feature: allow to modify generator templates.
Version 2.1.1 Stable
- Added back
modify
method toPingpong\Menus\Menu
class.
Menu::modify('main', function ($menu) {
//
});
- Now you can specify menu order via
->order
method.
$menu->add(['title' => 'Foo', 'url' => 'foo'])->order(1);
$menu->url('foo', 'Foo', [])->order(2);
$menu->route('home', 'Home', [], [])->order();
- Now you can create a menu via
make
method.
Menu::make('main', function ($menu) {
//
});
Version v2.1.0 Stable
- Added full support for Laravel 5.1
- Testing component now removed from pingpong/sky. But, you still can pull the package as standalone package.
- Since Laravel 5.1 released with LTS, pingpong/sky will also released with LTS.
- More
Version 2.0.21 Stable
- Change code style for stub files to PSR-2.
- Fix pingpong-labs/modules#178
Version 2.0.20 Stable
- Added new
modify
method toPingpong\Menus\Menu
class. This is helpful for modifying menu instance. More information available in pingpong/sky documentation website. - Make
pingpong/menus
service provider load as deferred. - Changed console info message in
module:use
command.
Version 2.0.19 Stable
- Added new two methods:
whereTitle
andfindBy
toPingpong\Menus\MenuBuilder
class. For more information, you may visit thepingpong/menus
documentation.
Version 2.0.18 Stable
- Move way of registration modules to the
register
method inPingpong\Modules\Providers\BootstrapServiceProvider
class.