PHPackages                             softmedialabs/laravel-global-scope - 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. [CLI &amp; Console](/categories/cli)
4. /
5. softmedialabs/laravel-global-scope

ActiveLibrary[CLI &amp; Console](/categories/cli)

softmedialabs/laravel-global-scope
==================================

A laravel package for make global scope

01PHP

Since Jul 8Pushed 5y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Global Scope
====================

[](#laravel-global-scope)

This package adds a handful of global scope commands to Artisan in your Laravel project. Generate scope files to allow you to constraints to all queries for a given model.

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

[](#installation)

Use the package manager [composer](https://getcomposer.org/) to install this packages

```
composer require softmedialabs/laravel-global-scope
```

Usage
-----

[](#usage)

```
php artisan make:scope AgeScope
```

Contributing
------------

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License
-------

[](#license)

`softmedialabs/laravel-global-scope` is licenced under the MIT License (MIT). Please see the [license file](https://github.com/softmedialabs/laravel-global-scope/blob/master/LICENSE) for more information.

###  Health Score

16

—

LowBetter than 4% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

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/f70b115ccc5864d3fc16d891f69ea48edbd547f4ac36d884e279fc0049d47c61?d=identicon)[rizkymiff](/maintainers/rizkymiff)

---

Top Contributors

[![rizkymiff](https://avatars.githubusercontent.com/u/41412734?v=4)](https://github.com/rizkymiff "rizkymiff (8 commits)")

---

Tags

artisanbackendcommand-lineframeworklaravel

### Embed Badge

![Health badge](/badges/softmedialabs-laravel-global-scope/health.svg)

```
[![Health](https://phpackages.com/badges/softmedialabs-laravel-global-scope/health.svg)](https://phpackages.com/packages/softmedialabs-laravel-global-scope)
```

###  Alternatives

[illuminate/console

The Illuminate Console package.

13046.0M6.5k](/packages/illuminate-console)[styleci/cli

The CLI tool for StyleCI

71470.5k9](/packages/styleci-cli)[winbox/args

Windows command-line formatter

20720.9k21](/packages/winbox-args)[tomatophp/filament-artisan

Simple but yet powerful library for running some artisan commands for FilamentPHP

3275.4k1](/packages/tomatophp-filament-artisan)[thettler/laravel-console-toolkit

This Package provides some usefully console features like the attribute syntax for arguments and options, validation, auto ask and casting.

324.1k](/packages/thettler-laravel-console-toolkit)

PHPackages © 2026

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