PHPackages                             flostone/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. flostone/larahelpers

AbandonedLibrary[Utility &amp; Helpers](/categories/utility)

flostone/larahelpers
====================

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

Since Jul 11Pushed 8y ago1 watchersCompare

[ Source](https://github.com/FloStone/larahelpers)[ Packagist](https://packagist.org/packages/flostone/larahelpers)[ RSS](/packages/flostone-larahelpers/feed)WikiDiscussions master Synced 6d ago

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

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

27

—

LowBetter than 46% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

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

3213d ago

### Community

Maintainers

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

### Embed Badge

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

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

###  Alternatives

[illuminate/routing

The Illuminate Routing package.

1239.4M3.5k](/packages/illuminate-routing)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.4M354](/packages/psalm-plugin-laravel)[spatie/laravel-export

Create a static site bundle from a Laravel app

679153.2k7](/packages/spatie-laravel-export)[api-platform/laravel

API Platform support for Laravel

58190.1k21](/packages/api-platform-laravel)[forjedio/inertia-table

Backend-driven dynamic tables for Laravel + Inertia.js

272.0k](/packages/forjedio-inertia-table)[aedart/athenaeum

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

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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