Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Persian Slug Laravel Package

pishran/persian-slug

pishran/persian-slug یک پکیج ساده برای ساخت اسلاگ استاندارد با پشتیبانی کامل از فارسی است. ورودی‌های فارسی و انگلیسی را به اسلاگ‌های خوانا تبدیل می‌کند (مثل سلام دنیا → سلام-دنیا، Hello world → hello-world). نصب با Composer.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Localization & Multilingual SEO: Enables Persian (Farsi) slug generation for non-Latin scripts, expanding reach to Persian-speaking markets (e.g., Iran, Afghanistan, Tajikistan).
  • Content Management Systems (CMS): Simplifies URL slug creation for Persian-language blogs, news sites, or e-commerce platforms (e.g., product names in Persian).
  • Build vs. Buy: Avoids reinventing slug logic for RTL (right-to-left) languages, reducing dev time and maintenance.
  • Roadmap for Globalization: Supports future-proofing for multilingual apps by standardizing slug generation across languages.
  • SEO & UX: Improves user experience by generating readable, locale-specific slugs (e.g., سلام-دنیا vs. hello-world).

When to Consider This Package

  • Use this if:

    • Your product targets Persian-speaking users (e.g., regional news, e-commerce, or SaaS).
    • You need consistent RTL slug formatting (e.g., hyphenation, diacritic handling).
    • Your team lacks time/resources to build custom slug logic for Persian text.
    • You’re using Laravel/PHP and want a lightweight, MIT-licensed solution.
  • Look elsewhere if:

    • You need support for other RTL scripts (e.g., Arabic, Hebrew) – consider alternatives like spatie/sluggable with custom rules.
    • Your slug requirements are highly customizable (e.g., dynamic length, special character handling) – a custom solution may fit better.
    • You’re not using PHP/Laravel (package is PHP-specific).
    • Maintenance is a concern: Last release was 2023; verify if updates align with your timeline.

How to Pitch It (Stakeholders)

For Executives: "This package lets us generate SEO-friendly Persian slugs (e.g., سلام-دنیا) with minimal effort, unlocking growth in Persian markets without extra dev work. Lightweight, open-source, and ready to integrate—ideal for our [CMS/e-commerce/globalization] roadmap."

For Engineering: "A 50-line PHP package that handles Persian slugs (hyphenation, diacritics) via str_slug_persian(). Plugs into Laravel seamlessly—just composer require pishran/persian-slug. Tradeoff: Limited to Persian, but saves us from writing/debugging RTL slug logic. Last updated in 2023; monitor for updates if critical."

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
sentix/ai-chatbot
terminal42/code-quality-tools
codifyo/ts-generator-bundle
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky