PHPackages                             reliqarts/simple-commons - 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. reliqarts/simple-commons

Abandoned → [reliqarts/laravel-common](/?search=reliqarts%2Flaravel-common)Package[Utility &amp; Helpers](/categories/utility)

reliqarts/simple-commons
========================

Reliq Arts' base/common classes and functions for Laravel.

v6.0.0(4y ago)2483MITPHPPHP ^8.0CI passing

Since Sep 4Pushed 1y ago1 watchersCompare

[ Source](https://github.com/reliqarts/laravel-simple-commons)[ Packagist](https://packagist.org/packages/reliqarts/simple-commons)[ RSS](/packages/reliqarts-simple-commons/feed)WikiDiscussions main Synced 2mo ago

READMEChangelogDependencies (10)Versions (40)Used By (0)

Laravel Common
==============

[](#laravel-common)

Reliq Arts' base/common classes and functions for Laravel 6+.

[![Built For Laravel](https://camo.githubusercontent.com/5eeeef36666bf2aefe6800cfd097832e37f96e2d2f2b944baf4744637b05c4c9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6275696c74253230666f722d6c61726176656c2d7265642e7376673f7374796c653d666c61742d737175617265)](http://laravel.com)[![Test](https://github.com/reliqarts/laravel-common/actions/workflows/test.yml/badge.svg)](https://github.com/reliqarts/laravel-common/actions/workflows/test.yml)[![Maintainability](https://camo.githubusercontent.com/e737614bbc601aedfc87fbacd59569ebd4c96c07702599929957d6021c9d7295/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f65376236383462363930336335666335626133342f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/reliqarts/laravel-common/maintainability)[![Codecov](https://camo.githubusercontent.com/e654c5d3e272c4ce2477a016ba696afc5c64127b4e440a2589db1384d0a4af07/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f72656c6971617274732f6c61726176656c2d636f6d6d6f6e2e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/gh/reliqarts/laravel-common)[![License](https://camo.githubusercontent.com/69682d5452c590956f4ef390b3627edbbbb4269cce41a74af4cb59e03a7614a5/68747470733a2f2f706f7365722e707567782e6f72672f72656c6971617274732f6c61726176656c2d636f6d6d6f6e2f6c6963656e73653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/reliqarts/laravel-common)[![Latest Stable Version](https://camo.githubusercontent.com/27a11a45bf51fb8967de8550f02f692a75a48dd4710c2068b9b0ee37a834934e/68747470733a2f2f706f7365722e707567782e6f72672f72656c6971617274732f6c61726176656c2d636f6d6d6f6e2f76657273696f6e3f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/reliqarts/laravel-common)[![Latest Unstable Version](https://camo.githubusercontent.com/5bc042bfc31adb8e3c9debaf881eee05ecb9be705662554c23b368243079c086/68747470733a2f2f706f7365722e707567782e6f72672f72656c6971617274732f6c61726176656c2d636f6d6d6f6e2f762f756e737461626c653f666f726d61743d666c61742d737175617265)](//packagist.org/packages/reliqarts/laravel-common)

Features/Contents
-----------------

[](#featurescontents)

- Config provider implementation
    - uses `Illuminate\Contracts\Config\Repository`
    - allows easy access to config keys under specific (package) 'namespace'
- `Illuminate\Filesystem` implementation
    - Specifically changing the behaviour of `deleteDirectory()`
- [Monolog](https://github.com/Seldaek/monolog) Logger
- Result Object (simple DTO)
- Version Provider
- Sitemap generation command
    - via Spatie's [Laravel Sitemap](https://github.com/spatie/laravel-sitemap)
- NonWWW middleware: Tiny middleware to redirect all www requests to non-www counterparts.

Installation &amp; Use
----------------------

[](#installation--use)

Install via composer:

```
composer require reliqarts/laravel-common
```

Add service provider:

```
ReliqArts\ServiceProvider::class,
```

Use anywhere throughout your application. e.g.

```
$versionProvider = resolve(ReliqArts\Contract\VersionProvider::class);
$versionProvider->getVersion();
```

Use NonWWW middleware in Kernel. i.e.

```
'web' => [
    // ...

    \ReliqArts\NonWWW\Http\Middleware\NonWWW::class,

    // ...
],
```

All done! 🍻

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

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

Recently: every ~72 days

Total

38

Last Release

1779d ago

Major Versions

v1.0.6 → v2.0.0-beta2019-03-24

v2.2.0 → v3.0.02019-10-03

v3.0.0 → v4.0.02019-10-20

v4.0.1 → v5.0.0-beta2019-11-14

v5.7.0 → v6.0.02021-06-26

PHP version history (6 changes)v1.0.0-betaPHP &gt;=5.6.4

v2.0.0-betaPHP &gt;=7.1.3

v2.1.0PHP ^7.2

v5.0.0-beta.1PHP ^7.4

v5.7.0PHP ^7.4 || ^8.0

v6.0.0PHP ^8.0

### Community

Maintainers

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

---

Top Contributors

[![reliq](https://avatars.githubusercontent.com/u/2624812?v=4)](https://github.com/reliq "reliq (140 commits)")

---

Tags

basecommonlaravelnon-wwwredirectreliqartssharedwwwlaravelhelperscommonSimplebasefunctionsglobal

###  Code Quality

TestsPHPUnit

Code StyleECS

### Embed Badge

![Health badge](/badges/reliqarts-simple-commons/health.svg)

```
[![Health](https://phpackages.com/badges/reliqarts-simple-commons/health.svg)](https://phpackages.com/packages/reliqarts-simple-commons)
```

###  Alternatives

[illuminated/helper-functions

Laravel-specific and pure PHP Helper Functions.

107586.6k7](/packages/illuminated-helper-functions)[prologue/support

Prologue Support is an extension for Illuminate Support

1616.8k](/packages/prologue-support)

PHPackages © 2026

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