PHPackages                             flo5581/larahelpers - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. flo5581/larahelpers

Abandoned → [flostone/larahelpers](/?search=flostone%2Flarahelpers)Library[Utility &amp; Helpers](/categories/utility)

flo5581/larahelpers
===================

1.3.0(8y ago)0151MITPHPPHP &gt;=5.4.0

Since Jul 11Pushed 8y ago1 watchersCompare

[ Source](https://github.com/flo5581/larahelpers)[ Packagist](https://packagist.org/packages/flo5581/larahelpers)[ RSS](/packages/flo5581-larahelpers/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (3)Versions (8)Used By (0)

Larahelpers
===========

[](#larahelpers)

Some custom helpers and functions for Laravel 5

\##Installation

Require the package in composer:

`composer require flo5581/larahelpers dev-master`

Register Service Provider in app.php:

`'Flo5581\Larahelpers\BladeExtensions'`

\##Features

\####Laravel functions and definitions:

`controller()` -&gt; Similar to `Route::controller()`
`controllers()` -&gt; Similar to `Route::controllers()`
`get_routes()` -&gt; Register multiple GET routes in an array,
example: `get_routes(['/' => function(){return view('index');}, 'test' => 'TestController@index']);`

`post_routes()` -&gt; Same as `get_routes()` but with POST requests instead
`group()` -&gt; Similar to `Route::group()`
`input()` -&gt; Similar to `Input::get()`, `Input::all()` (if no value is set)
`user()` -&gt; Similar to `Auth::user()`
`login()` -&gt; Similar to `Auth::login()` or `Auth::loginUsingId()` if a User Model or ID is given,
example: `login(['email' => $email, 'password' => $password])`, `login($user)`, `login(1)`

`logout()` -&gt; Similar to `Auth::logout()`
`check()` -&gt; Similar to `Auth::check()`

\####New functions and definitions:

`days_in_month($month, $year)` -&gt; Calculates days in a month, accepts parameter 1: month (int), parameter 2: year (int)
`num_to_word($number)` -&gt; Converts a number into words

\####Blade extensions:

`@use(path)` -&gt; similar to phps use, example: `@use(App\Models\User)`
`@define(code)` -&gt; define variables inside blade, example: `@define($i = 1)`
`@echo(string)` -&gt; echo out stuff, example `@echo('hi')`
`@print(var)` -&gt; print out stuff, example `@print($array)`
`@dd(var)` -&gt; similar to `dd()`, example: `@dd($user)`
`@php, @endphp` -&gt; basically open and close php tags, example: `@php echo 'hi'; @endphp`

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity63

Established project with proven stability

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~140 days

Recently: every ~208 days

Total

7

Last Release

3171d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/63fd1957ec0fd3b62eb4a10e5799ddaa79fba822aaaf40c39c7d2ce872846c17?d=identicon)[FloStone](/maintainers/FloStone)

### Embed Badge

![Health badge](/badges/flo5581-larahelpers/health.svg)

```
[![Health](https://phpackages.com/badges/flo5581-larahelpers/health.svg)](https://phpackages.com/packages/flo5581-larahelpers)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M345](/packages/psalm-plugin-laravel)[illuminate/routing

The Illuminate Routing package.

1419.2M3.0k](/packages/illuminate-routing)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[api-platform/laravel

API Platform support for Laravel

58171.4k14](/packages/api-platform-laravel)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
