PHPackages                             zekini/laravel-generics - 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. zekini/laravel-generics

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

zekini/laravel-generics
=======================

A simple package to encapsulate all of our generic classes at Zekini to a package we can require in all our projects

2.0.5(4y ago)01.9k[1 PRs](https://github.com/zekini-com/laravel-generics/pulls)1MITPHPPHP ^8.1

Since Feb 21Pushed 3y ago1 watchersCompare

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

READMEChangelog (9)Dependencies (22)Versions (16)Used By (1)

Introduction
============

[](#introduction)

The **zekini/laravel-generics** package allows us to store our generic classes in a package so we can reuse them

**Installation**

```
composer require zekini/laravel-generics

sail artisan vendor:publish --tag=zekini-config
sail artisan vendor:publish --provider="Spatie\Activitylog\ActivitylogServiceProvider" --tag="activitylog-migrations"
sail artisan vendor:publish --provider="Spatie\Activitylog\ActivitylogServiceProvider" --tag="activitylog-config"
sail artisan vendor:publish --provider="Spatie\Permission\PermissionServiceProvider"

sail artisan migrate

```

**Usage**

To reset password in a local database environment

```
sail artisan local:password-reset --password=password

```

To generate or update the code checkers config files:

```
sail artisan vendor:publish --tag=zekini-config --force

```

To add another generic command

```
sail artisan generic:command TestCommand

```

To add another generic helper

```
sail artisan generic:helper TestHelper

```

To use the pdf mergeer

**Available Helpers**

```
use Zekini\Generics\Helpers\ArrayHelper;
use Zekini\Generics\Helpers\ArrayToObjectHelper;
use Zekini\Generics\Helpers\CsvHelper;
use Zekini\Generics\Helpers\EnvironmentHelper;
use Zekini\Generics\Helpers\FileHelper;
use Zekini\Generics\Helpers\FlashHelper;
use Zekini\Generics\Helpers\ForeignKeyHelper;
use Zekini\Generics\Helpers\HttpHelper;
use Zekini\Generics\Helpers\LoggingHelper;
use Zekini\Generics\Helpers\StringHelper;
use Zekini\Generics\Helpers\UIHelper;
use Zekini\Generics\Helpers\TimezoneHelper;
use Zekini\Generics\Helpers\PDFMergeHelper;

```

**Standard Packages**

```
https://github.com/arcanedev/log-viewer
https://github.com/barryvdh/laravel-dompdf
https://github.com/laravel/jetstream
https://github.com/livewire/livewire
https://github.com/mediconesystems/livewire-datatables
https://github.com/spatie/laravel-activitylog
https://github.com/spatie/laravel-permission
https://github.com/maatwebsite/excel
https://github.com/spatie/laravel-backup
https://github.com/spatie/laravel-schedule-monitor
https://github.com/Webklex/laravel-pdfmerger
https://github.com/barryvdh/laravel-snappy
https://github.com/h4cc/wkhtmltoimage-amd64
https://github.com/h4cc/wkhtmltopdf-amd64

```

**Standard Dev Packages**

```
https://github.com/barryvdh/laravel-debugbar
https://github.com/nunomaduro/larastan
https://github.com/protoqol/prequel
https://github.com/symplify/easy-coding-standard
https://github.com/vimeo/psalm

```

**Removed to be re-added once conflict is resolved**"spatie/laravel-backup" "spatie/laravel-schedule-monitor"

Snappy config
-------------

[](#snappy-config)

The main change to this config file (config/snappy.php) will be the path to the binaries.

For example, when loaded with composer, the line should look like:

`'binary' => base_path('vendor/h4cc/wkhtmltopdf-amd64/bin/wkhtmltopdf-amd64')`

For windows users you'll have to add double quotes to the bin path for wkhtmltopdf:

`'binary' => '"C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf"'`

For mac users what i simply did was install the macos executables for both libraries

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 60.7% 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 ~6 days

Recently: every ~1 days

Total

13

Last Release

1465d ago

Major Versions

v0.1.0-alpha → v1.0.02022-02-21

1.0.5 → v2.02022-05-03

PHP version history (2 changes)v0.1.0-alphaPHP ^8.1

v1.0.2PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/c37b1ac78bfae8d66ae3028322141b2f4059610e2cf837c896dbf548f435e497?d=identicon)[zekini](/maintainers/zekini)

---

Top Contributors

[![Keania-Eric](https://avatars.githubusercontent.com/u/29646053?v=4)](https://github.com/Keania-Eric "Keania-Eric (17 commits)")[![irfan-ansari-au28](https://avatars.githubusercontent.com/u/18440293?v=4)](https://github.com/irfan-ansari-au28 "irfan-ansari-au28 (8 commits)")[![Llewdur](https://avatars.githubusercontent.com/u/13761739?v=4)](https://github.com/Llewdur "Llewdur (3 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StyleECS

Type Coverage Yes

### Embed Badge

![Health badge](/badges/zekini-laravel-generics/health.svg)

```
[![Health](https://phpackages.com/badges/zekini-laravel-generics/health.svg)](https://phpackages.com/packages/zekini-laravel-generics)
```

###  Alternatives

[blair2004/nexopos

The Free Modern Point Of Sale System build with Laravel, TailwindCSS and Vue.js.

1.2k2.3k](/packages/blair2004-nexopos)[ronasit/laravel-helpers

Provided helpers function and some helper class.

1475.7k13](/packages/ronasit-laravel-helpers)[team-nifty-gmbh/tall-datatables

A package to create datatables using alpinejs, tailwind, livewire and laravel

1217.2k1](/packages/team-nifty-gmbh-tall-datatables)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

116.6k](/packages/tomshaw-electricgrid)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1225.0k10](/packages/fleetbase-core-api)

PHPackages © 2026

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