Packagist · packagist:cocur/slugify
cocur/slugify active
Converts a string into a slug.
The latest stable version of cocur/slugify is 4.8.0, published on 2026-11-18. Verified by Vigia on 2026-11-27.
| Latest stable version | 4.8.0 |
|---|---|
| Published | 2026-11-18 21:58:25+00:00 |
| Install | composer require cocur/slugify |
| Required PHP version (composer.json) | PHP ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0 || ~8.6.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-27 03:20:23 UTC |
| Sources | api.osv.dev, repo.packagist.org |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the packagist package "cocur/slugify", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/packagist/cocur/slugify . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-11-18 21:58:25 UTC · 8 days ago |
| Stable releases in the last 12 months | 3 |
| Published versions | 48 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
4.8.0 | 2026-11-18 21:58:25 UTC |
4.7.1 | 2025-11-27 18:57:36 UTC |
4.7.0 | 2025-11-27 18:34:36 UTC |
4.6.0 | 2024-09-10 14:09:25 UTC |
4.4.1 | 2023-09-17 07:30:25 UTC |
4.5.1 | 2023-09-17 07:26:20 UTC |
4.5.0 | 2023-09-16 10:10:53 UTC |
4.4.0 | 2023-08-05 09:42:11 UTC |
4.3.0 | 2022-12-07 19:48:48 UTC |
4.2.0 | 2022-08-13 15:23:32 UTC |
4.1.0 | 2022-01-11 20:51:10 UTC |
4.0.0 | 2019-12-14 13:04:14 UTC |
3.2.0 | 2019-01-31 20:38:55 UTC |
3.1.0 | 2018-01-22 09:00:48 UTC |
3.0.1 | 2017-09-24 10:29:04 UTC |
3.0.0 | 2017-08-11 20:28:15 UTC |
2.5.0 | 2017-03-23 21:52:55 UTC |
2.4.0 | 2017-02-09 19:27:52 UTC |
2.3.0 | 2016-08-09 20:10:17 UTC |
2.2.0 | 2016-07-10 13:06:05 UTC |
Showing the 20 most recent of 48 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
php 7.4 | 4.5.0 |
php 8.0 | 4.8.0 |
php 8.1 | 4.8.0 |
php 8.2 | 4.8.0 |
php 8.3 | 4.8.0 |
php 8.4 | 4.8.0 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of cocur/slugify?
The latest stable version of cocur/slugify is 4.8.0, published on 2026-11-18. Verified by Vigia on 2026-11-27.
How do I install the latest version of cocur/slugify?
Run composer require cocur/slugify. The latest stable version is 4.8.0 (verified 2026-11-27).
Is cocur/slugify deprecated?
No. cocur/slugify is not marked as deprecated in the registry.
Which PHP version does cocur/slugify require?
cocur/slugify 4.8.0 declares this requirement: PHP ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0 || ~8.6.0.
Does cocur/slugify 4.8.0 have known vulnerabilities?
No known advisories affect cocur/slugify 4.8.0 according to the data Vigia checks.
Is cocur/slugify still maintained?
cocur/slugify published 3 stable releases in the last 12 months; the most recent was 8 days ago. Activity: active.
Observed changes
- hu Nov 19 2026 03:19:59 GMT+0000 (Coordinated Universal Time) — released 4.7.1 → 4.8.0
Related packages
- stof/doctrine-extensions-bundle
- orchestra/testbench
- swiftmailer/swiftmailer
- laravel/chisel
- pear/archive_tar
- spatie/laravel-signal-aware-command
- onelogin/php-saml
- symplify/rule-doc-generator-contracts
- infection/mutator
- symfony/stimulus-bundle
- elastic/transport
- behat/mink
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/packagist/cocur/slugify) [](https://vigia.coredls.cloud/packagist/cocur/slugify) [](https://vigia.coredls.cloud/packagist/cocur/slugify)
For agents
GET https://vigia.coredls.cloud/v1/packages/packagist/cocur/slugify
GET https://vigia.coredls.cloud/v1/packages/packagist/cocur/slugify/versions/{version}