2017 © Pedro Peláez
 

library blade-active

Laravel Blade directives for the watson/active package

image

awobaz/blade-active

Laravel Blade directives for the watson/active package

  • Monday, June 4, 2018
  • by topclaudy
  • Repository
  • 1 Watchers
  • 0 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 800 % Grown

The README.md

Blade Active

Blade Active provides Blade directives for the Active package., (*1)

Installation

The recommended way to install Blade Active is through Composer, (*2)

$ composer require awobaz/blade-active

Usage

First, read the documentation of the Active package., (*3)

Blade Active provides 2 Blade directives to wrap the functionality of the active() and is_active() helpers:, (*4)

@active()
@isactive()

Using @active()

<a href="{{ route('posts.index') }}" class="@active('posts.index')">All posts</a>

Using @isactive()

@isactive('posts/*')
    You're looking at a blog post!
@endisactive

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us., (*5)

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository., (*6)

Authors

  • Awobaz - Web/Mobile agency based in Montreal, Canada

License

Blade Active is licensed under the MIT License., (*7)

The Versions

04/06 2018

dev-master

9999999-dev

Laravel Blade directives for the watson/active package

  Sources   Download

MIT

The Requires

 

The Development Requires

by Claudin J. Daniel

laravel routing active link current url

28/05 2018

1.0.0

1.0.0.0

Laravel Blade directives for the watson/active package

  Sources   Download

MIT

The Requires

 

The Development Requires

by Claudin J. Daniel

laravel routing active link current url