PHPackages                             unrulynatives/helpers - 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. unrulynatives/helpers

ActiveLibrary

unrulynatives/helpers
=====================

Snippets, tools, views for Laravel 5.4 app

1.1.19(7y ago)1468CSSPHP &gt;=7.0.0

Since Jun 7Pushed 7y ago1 watchersCompare

[ Source](https://github.com/UnrulyNatives/helpers-for-laravel-projects)[ Packagist](https://packagist.org/packages/unrulynatives/helpers)[ RSS](/packages/unrulynatives-helpers/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (46)Used By (0)

laravel-helper
==============

[](#laravel-helper)

A set of code snippets and functions to use across all projects.

This package contains some modifications made over a fresh installation of Laravel &gt;= 5.3.

With time, this package would contain all modifications of the bare Laravel app. In other words, as soon as you include this package in your composer.json, you will get fully working starter kit.

Current version: [![Latest Stable Version](https://camo.githubusercontent.com/d8e99fe2c954132452f3f8e53ffb781bd01df47ccca442eea5ae481c55db04d7/68747470733a2f2f706f7365722e707567782e6f72672f756e72756c796e6174697665732f68656c706572732f762f737461626c65)](https://packagist.org/packages/unrulynatives/helpers)

Features
--------

[](#features)

- Gravatar for your User model
- some usefull css and jQuery tools included. See the DEMO in Starter kit for details and examples:

Installation
------------

[](#installation)

1. Add `"unrulynatives/helpers": "^1.0"`to your composer.json file.
2. Add this to your `config/app.php` file in packages section `Unrulynatives\Helpers\HelpersServiceProvider::class,`
3. Publish views, css &amp; jQuery files to your app:

`php artisan vendor:publish --provider="Unrulynatives\Helpers\HelpersServiceProvider" --force`

Should you wish to publish to `app` folder only selected resources, use these commands:

- public assets (js, css) `php artisan vendor:publish --provider="Unrulynatives\Helpers\HelpersServiceProvider" --tag=publicassets --force`
- app files: Controllers, route files, Models `php artisan vendor:publish --provider="Unrulynatives\Helpers\HelpersServiceProvider" --tag=app --force`
- app files: View files `php artisan vendor:publish --provider="Unrulynatives\Helpers\HelpersServiceProvider" --tag=views --force`

WARNING:

- app files: View files to be copied to `resources/views/layouts/` folder `php artisan vendor:publish --provider="Unrulynatives\Helpers\HelpersServiceProvider" --tag=viewslayouts --force`
- migration files `php artisan vendor:publish --provider="Unrulynatives\Helpers\HelpersServiceProvider" --tag=migrations --force`
- seed files `php artisan vendor:publish --provider="Unrulynatives\Helpers\HelpersServiceProvider" --tag=seeds --force`

4. Register the package in your User model and wherever you see it is necessary - see features section.

In your `User` model: `use Unrulynatives\\Helpers\\UserExtensions;

class User extends Authenticatable {

use UserExtensions;`

5. Register trait in other models In your model file declare: `use Unrulynatives\\Helpers\\ModelExtensions;

class \[your-model-name-goes-here\] extends Authenticatable {

use ModelExtensions;`

6. You need to register the routes defined in this package. Open `\app\Providers\RouteServiceProvider.php` and

- add `$this->mapUnstarterRoutes();` to the `map()` function and
- add the below code at the bottom of mapWebRoutes() fucntion:

```
    protected function mapUnstarterRoutes()
    {
        Route::group([
            'middleware' => 'web',
            'namespace' => $this->namespace,
        ], function ($router) {
            require base_path('unstarter/routes/unstarter.php');
        });
    }

```

### Done!

[](#done)

Now you can check if the package works. Point your browser to `unrulyhelpers`. You should see a clock - an example developed along Laraveldaily tutorial

To do (Future features)
-----------------------

[](#to-do-future-features)

Example usage
-------------

[](#example-usage)

1. To get Gravatar assigned to authenticated user's e-mail use ``

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~24 days

Recently: every ~66 days

Total

45

Last Release

2563d ago

Major Versions

0.2.2 → 1.0.02016-09-29

PHP version history (4 changes)0.0.5PHP &gt;=5.4.0

0.0.6PHP &gt;=5.5.9

1.1.0PHP &gt;=5.6.4

1.1.7PHP &gt;=7.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/767840734c5c1c8a5ae5ccdd00d5d00efad9964126d48ca6b2e0cd9b3c9e43fc?d=identicon)[UnrulyNatives](/maintainers/UnrulyNatives)

---

Top Contributors

[![UnrulyNatives](https://avatars.githubusercontent.com/u/6769986?v=4)](https://github.com/UnrulyNatives "UnrulyNatives (38 commits)")

### Embed Badge

![Health badge](/badges/unrulynatives-helpers/health.svg)

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

###  Alternatives

[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[slowlyo/owl-admin

基于 laravel、amis 开发的后台框架~

61214.2k26](/packages/slowlyo-owl-admin)[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)
