PHPackages                             mojahid/slug-generator - 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. mojahid/slug-generator

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

mojahid/slug-generator
======================

This Is Slug generator php laravel packages

1.1.0(2y ago)05[5 PRs](https://github.com/devmojahid/Slug-generator/pulls)MITPHPPHP ^8.1|^8.2CI passing

Since Mar 20Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/devmojahid/Slug-generator)[ Packagist](https://packagist.org/packages/mojahid/slug-generator)[ Docs](https://github.com/mojahid/slug-generator)[ GitHub Sponsors](https://github.com/mojahid)[ RSS](/packages/mojahid-slug-generator/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (13)Versions (8)Used By (0)

This Is Slug generator php laravel packages
===========================================

[](#this-is-slug-generator-php-laravel-packages)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b0ab943c5976a9ed1edad22c2733a4b63691744ec7b908ab945ab4a39f5719fa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6f6a616869642f736c75672d67656e657261746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mojahid/slug-generator)[![GitHub Tests Action Status](https://camo.githubusercontent.com/d614fa8193d6ba83ca644e03c19a419bb075c2cca6e2d53a2c0266f99f945e25/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d6f6a616869642f736c75672d67656e657261746f722f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/mojahid/slug-generator/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/12c928667150d47382bb5e3dbd219e403b4fcf4c594c88e561f62a7d15970475/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d6f6a616869642f736c75672d67656e657261746f722f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/mojahid/slug-generator/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/385db273697cafac2ff31d21c9de1ca8e5ca6969b9ddb84743808b470bc86365/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6f6a616869642f736c75672d67656e657261746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mojahid/slug-generator)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Support us
----------

[](#support-us)

[![](https://camo.githubusercontent.com/372fe615e57f849ea4bb0c0193bddf3c3934b88f37b5e658a057fb217dbf6b0c/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f536c75672d67656e657261746f722e6a70673f743d31)](https://spatie.be/github-ad-click/Slug-generator)

We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).

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

[](#installation)

You can install the package via composer:

```
composer require mojahid/slug-generator
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="slug-generator-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="slug-generator-config"
```

This is the contents of the published config file:

```
return [
];
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="slug-generator-views"
```

Usage
-----

[](#usage)

```
$slugGenerator = new Mojahid\SlugGenerator();
echo $slugGenerator->echoPhrase('Hello, Mojahid!');
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Mojahid Islam](https://github.com/mojahid)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance55

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

2

Last Release

834d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7892345?v=4)[Mojahid Osman](/maintainers/mojahid)[@mojahid](https://github.com/mojahid)

---

Top Contributors

[![devmojahid](https://avatars.githubusercontent.com/u/90975777?v=4)](https://github.com/devmojahid "devmojahid (11 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (7 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (6 commits)")

---

Tags

laravelslug-generatormojahid

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/mojahid-slug-generator/health.svg)

```
[![Health](https://phpackages.com/badges/mojahid-slug-generator/health.svg)](https://phpackages.com/packages/mojahid-slug-generator)
```

###  Alternatives

[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M46](/packages/spatie-laravel-pdf)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329530.5k29](/packages/codewithdennis-filament-select-tree)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

124603.0k](/packages/worksome-exchange)[stephenjude/laravel-wallet

A simple wallet implementation for Laravel

26611.9k](/packages/stephenjude-laravel-wallet)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3913.7k](/packages/rawilk-profile-filament-plugin)[tarfin-labs/event-machine

Event-driven state machines for Laravel with event sourcing, type-safe context, and full audit trail.

199.4k](/packages/tarfin-labs-event-machine)

PHPackages © 2026

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