2017 © Pedro Peláez
 

library navigation

image

checkeredmichael/navigation

  • Monday, June 16, 2014
  • by MichaelBrooks
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Build Status, (*1)

This is a dynamic navigation which will be used within my Admin package. Feel free to fork this and try it out for yourself. If you have any problems then please feel free to ask me any questions. This can be implemented into any package, but I will release some documentation later on once I have used it with my admin package., (*2)

I would like to thank Josh Benham for his help and support. (He did create this himself, I have just stolen it from him with permission, but will hope to make it my own)., (*3)

To install, place "checkeredmichael/navigation": "0.1", to your require part in composer.json., (*4)

To use the package within another package, you should create an events.php where your routes are and add..., (*5)

php <?php Event::listen('admin.menu.build', function($menu){ $menu->add('index', 'Index', URL::route('Admin::index.index'), 1, 'dashboard'); $menu->add('users', 'Users', URL::route('Admin::users.index'), 100, 'users'); }); You should add this to every package that needs to build onto the navigation system, obviously you should edit each menu item as required. If this doesn't make any sense, then please feel free to contact me on Github (username: CheckeredMichael)., (*6)

Then in your ServiceProvider.php add..., (*7)

php <?php include __DIR__.'/../../events.php';, (*8)

This will set you up with using the dynamic navigation. All you need to do now is wherever you're using the navigation to show to people, add this to you're blade if that's what you are using..., (*9)

```php , (*10)

```, (*11)

You should now have your dynamic navigation up and running, please feel free to report any bugs or contribute with updates., (*12)

The Versions

16/06 2014

dev-master

9999999-dev

  Sources   Download

The Requires

 

by Michael Brooks

26/05 2014

v0.1

0.1.0.0

  Sources   Download

The Requires

 

by Michael Brooks