PHPackages                             honey-comb/slugs - 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. honey-comb/slugs

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

honey-comb/slugs
================

HoneyComb slugs

0.2.2(7y ago)03.6k1MITPHPPHP ^7.1

Since Feb 3Pushed 7y ago2 watchersCompare

[ Source](https://github.com/honey-comb/slugs)[ Packagist](https://packagist.org/packages/honey-comb/slugs)[ Docs](https://github.com/honey-comb/slugs)[ RSS](/packages/honey-comb-slugs/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (4)Dependencies (7)Versions (7)Used By (1)

honeycomb-slugs
===============

[](#honeycomb-slugs)

Description
-----------

[](#description)

Slugs manager for HoneyComb CMS

Attention
---------

[](#attention)

This is part core package HoneyComb CMS package.

If you want to use laravel version 5.5.\* [use slug package version 0.1.\*](https://github.com/honey-comb/slugs/tree/5.5 "Slugs package version 0.1.*")

Requirement
-----------

[](#requirement)

- php: `^7.1`
- laravel: `^5.6`
- composer

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

[](#installation)

Begin by installing this package through Composer.

```
	{
	    "require": {
	        "honey-comb/slugs": "0.2.*"
	    }
	}
```

or

```
    composer require honey-comb/slugs
```

Usage
-----

[](#usage)

`generateHCSlug(string $path, string $string, string $separator = '-')`

It is a helper function, which requires few parameters:

`$path` - Under which domain the slug will be generated.

`$string` - Source from which text the slug will be generated.

`$separator` - You can specify a custom separator

Examples
--------

[](#examples)

Let's say we have 2 services `House` and `Flat`. Each of them will have a record with at title `One`. And both of them will require a slug.

`$houseSlug = generateHCSlug('house', 'One'); // output: one`

`$flatSlug = generateHCSlug('flat', 'One'); // output: one`

Only when we will call it with the same name few times, then it will kick in.

`$flatSlug = generateHCSlug('flat', 'One'); // output: one`

`$flatSlug = generateHCSlug('flat', 'One'); // output: one-1`

`$flatSlug = generateHCSlug('flat', 'One'); // output: one-2`

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 77.8% 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 ~43 days

Total

5

Last Release

2892d ago

Major Versions

0.1.0 → 5.5.x-dev2018-02-03

PHP version history (2 changes)0.1.0PHP &gt;=7.1.0

0.2.0PHP ^7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/50455fcb3fc494da9ef27a61de8fdb208f589635bcc1a052713050b0f5abca9c?d=identicon)[jdmitrijev](/maintainers/jdmitrijev)

---

Top Contributors

[![darslu](https://avatars.githubusercontent.com/u/24210912?v=4)](https://github.com/darslu "darslu (7 commits)")[![jdmitrijev](https://avatars.githubusercontent.com/u/545166?v=4)](https://github.com/jdmitrijev "jdmitrijev (2 commits)")

---

Tags

laravelcmsslugshoneyhoneycomb

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/honey-comb-slugs/health.svg)

```
[![Health](https://phpackages.com/badges/honey-comb-slugs/health.svg)](https://phpackages.com/packages/honey-comb-slugs)
```

###  Alternatives

[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17818.7k](/packages/markwalet-nova-modal-response)[tomshaw/electricgrid

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

119.2k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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