PHPackages                             lojazone/helper - 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. lojazone/helper

ActiveLibrary

lojazone/helper
===============

Package with helpers mixers

20HTML

Since Apr 24Pushed 6y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

### Helpers

[](#helpers)

Laravel 5.8 Require bootstrap 4.4.1 min Optional font awesome 5.13.0 min

##### Installation and Configuration

[](#installation-and-configuration)

- Run command

    ```
      composer require lojazone/helper

    ```
- Add to config/app.php

    ```
      'providers' => [
          ...
          /*
           * Package Service Providers...
           */
          Lojazone\Helper\Providers\HelperServiceProvider::class,
          ...
      ],

      'aliases' => [
          ...
          'Helper' => \Lojazone\Helper\Support\Helper::class,
      ]

    ```

##### Mix helpers to help

[](#mix-helpers-to-help)

```
* mix_url
* isActive
* messages
* listDir

```

###### mix\_url:

[](#mix_url)

this function to create base url with laravel mix compilation

How to use:

```

 Usage to create base url from compiling files with laravel-mix

```

###### isActive:

[](#isactive)

this function to add a css class to code is a link active or not

How to use:

```
Blog

'my_class_active' class is optional or to use another class name.

```

###### messages:

[](#messages)

this function to create messages using types class of bootstrap in your sessions

How to use messages before request with errors:

```
All messages from session:

@include('helper::partials.session_message')

```

or

```
Message to input especific:

     First Name

     @include('helper::partials.invalid_message', ['input' => 'first_name'])

```

How to use messages create with Helper::message(...):

```
include before call js bootstrap:

@include('helper::partials.notify_message')

Call this funcition with types = success, primary, info, warning or danger:

Helper::messages('Welcome', "Last login in " . now()->format('d M Y H:i'), 'success', 2000);
Helper::messages('Welcome', "Last login in " . now()->format('d M Y H:i'), 'primary', 3000);
Helper::messages('Welcome', "Last login in " . now()->format('d M Y H:i'), 'info', 4000);
Helper::messages('Welcome', "Last login in " . now()->format('d M Y H:i'), 'warning', 5000);
Helper::messages('Welcome', "Last login in " . now()->format('d M Y H:i'), 'danger', 6000);

```

###### listDir:

[](#listdir)

this function to list files in determinate directory

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/955fcd1f6d7659391fedb9747c6e786eac767b94fb1ca892e428aabe83845673?d=identicon)[webstylus](/maintainers/webstylus)

---

Top Contributors

[![webstylus](https://avatars.githubusercontent.com/u/61922352?v=4)](https://github.com/webstylus "webstylus (3 commits)")

### Embed Badge

![Health badge](/badges/lojazone-helper/health.svg)

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

PHPackages © 2026

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