New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

onemustcode/laravel

Handy Laravel utils
2,217
Install
composer require onemustcode/laravel
Latest Version:v1.0.0
PHP:>=5.6.4
License:MIT
Last Updated:May 4, 2017
Links: GitHub  ·  Packagist
Maintainer: onemustcode

Laravel utils

This package holds some simple Laravel utils.

Installation

Require this package

composer require onemustcode/laravel

After adding the package, add the ServiceProvider to the providers array in config/app.php

OneMustCode\Laravel\LaravelServiceProvider::class,

Route::is()

The is method is an marco that is attached to the Route Facade. It's just like the is method on the Request Facade, but then for route names.

$bool = Route::is('route.name', 'other.route*');

License

MIT

Related Packages

devolon/laravel-common

Devolon Payment provides utils in order to make development easier

1,703 0
moephp/laravel-utils

utils for laravel

6 0
datalogix/laravel-utils

A Laravel package that provides a set of useful utilities and service providers...

1,164 2
tlr/laravel-utils

A collection of common classes from several projects

324 2
fsauter/laravel-web-utils

A simple collection of useful helpers for laravel.

18 1

Version History

Version Released PHP License
v1.0.0 >=5.6.4 MIT