PHPackages                             kharanenka/laravel-scope-slug - 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. [Database &amp; ORM](/categories/database)
4. /
5. kharanenka/laravel-scope-slug

ActiveLibrary[Database &amp; ORM](/categories/database)

kharanenka/laravel-scope-slug
=============================

Scope for field 'slug' (string)

1.0.0(9y ago)142.2k↓53.7%1GPL-3.0PHPPHP &gt;=5.6

Since Nov 12Pushed 9y ago1 watchersCompare

[ Source](https://github.com/kharanenka/laravel-scope-slug)[ Packagist](https://packagist.org/packages/kharanenka/laravel-scope-slug)[ RSS](/packages/kharanenka-laravel-scope-slug/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (2)Used By (1)

Trait SlugField
===============

[](#trait-slugfield)

You can use trait in your models with "slug" field (string)

\#Installation Require this package in your `composer.json` and update composer.

```
"kharanenka/laravel-scope-slug": "1.0.*"
```

Usage
=====

[](#usage)

```

    class MyModel extend Model {

        use Kharanenka\Scope\SlugField;

        ...

    }

    $obElement = MyModel::getBySlug('andrey')->first();
    $obElement = MyModel::nullSlug()->get();
    $obElement = MyModel::notNullSlug()->get();

```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

3566d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f72dfe2a14224cf1e368ddefcd7886bbe7be751a21fe77227175ba21ebfab823?d=identicon)[Andrey Kharanenka](/maintainers/Andrey%20Kharanenka)

---

Top Contributors

[![kharanenka](https://avatars.githubusercontent.com/u/18258760?v=4)](https://github.com/kharanenka "kharanenka (1 commits)")

---

Tags

phpsluglaravelmodelfieldscopeoctobercms

### Embed Badge

![Health badge](/badges/kharanenka-laravel-scope-slug/health.svg)

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

###  Alternatives

[spiritix/lada-cache

A Redis based, automated and scalable database caching layer for Laravel

591459.5k2](/packages/spiritix-lada-cache)[awes-io/repository

Implementation of repository pattern for Laravel. The package allows out-of-the-box filtering of data based on parameters in the &lt;b&gt;request&lt;/b&gt;, and also allows you to quickly integrate the list filters and custom criteria.

171105.4k5](/packages/awes-io-repository)[sebastiaanluca/laravel-boolean-dates

Automatically convert Eloquent model boolean attributes to dates (and back).

40117.7k1](/packages/sebastiaanluca-laravel-boolean-dates)[matchory/elasticsearch

The missing elasticsearch ORM for Laravel!

3066.0k](/packages/matchory-elasticsearch)[crcms/repository

Detached model and controller warehouse data provider

674.4k5](/packages/crcms-repository)

PHPackages © 2026

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