awesome-repositories.com
ब्लॉग
MCP
awesome-repositories.com

AI-संचालित खोज के साथ बेहतरीन ओपन-सोर्स रिपॉजिटरी खोजें।

एक्सप्लोर करेंक्यूरेटेड खोजेंओपन-सोर्स विकल्पसेल्फ-होस्टेड सॉफ्टवेयरब्लॉगसाइटमैप
प्रोजेक्टMCP सर्वरहमारे बारे मेंहम रैंकिंग कैसे करते हैंप्रेस
कानूनीगोपनीयताशर्तें
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
cviebrock avatar

cviebrock/eloquent-sluggable

0
View on GitHub↗
3,993 स्टार्स·449 फोर्क्स·PHP·MIT·5 व्यूज़

Eloquent Sluggable

This project is a slug generation and management tool for the Laravel Eloquent ORM. It provides a reusable trait that adds the ability to create unique, URL-friendly strings from model attributes, allowing database records to be retrieved using human-readable slugs instead of primary keys.

The system supports multilingual URL management by maintaining separate localized slugs for a single model instance. It ensures uniqueness through an automatic collision-avoidance mechanism that appends numeric suffixes to duplicate strings and prevents the use of reserved words that might overlap with system routing paths.

The toolkit includes capabilities for custom slug generation via engine overrides and formatting rules, as well as an event-driven pipeline to intercept or cancel the slugging process. Database resolution is handled through dedicated query scopes and helper methods for retrieving models based on their slug values.

Features

  • Slug Generators - Creates human-readable, URL-safe slugs from model attributes for search engine optimization.
  • Query Scopes - Wraps database queries in dedicated scopes to retrieve model instances based on slug values.
  • Slug-Based Record Retrieval - Implements a dedicated query scope to limit database results to records matching a specific slug value.
  • Slug History Trackers - Provides simplified helper methods to retrieve model instances from the database using their slug values.
  • Slug Generation Extensions - Provides a specialized tool for creating unique, URL-friendly strings within the Laravel Eloquent ORM.
  • Model Trait Extensions - Provides a reusable trait that extends Eloquent models with slugging capabilities and query scopes.
  • Trait-Based Capability Injection - Uses a reusable PHP trait to inject slugging logic and persistence methods into Eloquent models.
  • Slug-Based Model Resolution - Retrieves database records using unique text identifiers instead of primary keys to improve SEO and user experience.
  • Multilingual Slugs - Generates and maintains unique slugs across different languages to support localized web addresses.
  • Model - Maps specific model fields to slugging engines to transform human-readable text into URL-friendly strings.
  • Unique Identifier Generators - Prevents URL collisions by automatically managing unique identifiers for slugs in the database.
  • Unique String Suffixing - Implements an automatic collision-avoidance mechanism that appends numeric suffixes to duplicate slugs.
  • Custom Slug Configurations - Allows implementing custom formatting rules and reserved word lists to control URL generation.
  • Behavioral Overrides - Allows overriding default slugging behaviors through custom methods to implement complex uniqueness checks.
  • Engine Overrides - Implements hooks and configuration settings to modify the slugging engine and character mappings for custom formatting.
  • Multi-Slug Persistence - Generates and maintains several distinct slugs for a single model instance to support diverse URL requirements.
  • Reserved Word Filters - Blocks the generation of slugs that match a predefined list of reserved words to avoid routing conflicts.
  • Reserved Word Slug Blockers - Blocks the generation of slugs that match a predefined list of reserved names to avoid route collisions.
  • Numeric Suffix Fallbacks - Prevents duplicate slugs by appending numeric suffixes to colliding strings using configurable indices.
  • General Utilities - Generates URL slugs for database models.
  • Application Helpers - Generates slugs for Eloquent models.

स्टार हिस्ट्री

cviebrock/eloquent-sluggable के लिए स्टार हिस्ट्री चार्टcviebrock/eloquent-sluggable के लिए स्टार हिस्ट्री चार्ट

AI सर्च

और अधिक बेहतरीन रिपॉजिटरी खोजें

अपनी ज़रूरत को सरल भाषा में बताएं — AI हजारों क्यूरेटेड ओपन-सोर्स प्रोजेक्ट्स को प्रासंगिकता के आधार पर रैंक करता है।

Start searching with AI

Eloquent Sluggable के ओपन-सोर्स विकल्प

समान ओपन-सोर्स प्रोजेक्ट्स, जो Eloquent Sluggable के साथ साझा की गई सुविधाओं के आधार पर रैंक किए गए हैं।
  • norman/friendly_idnorman का अवतार

    norman/friendly_id

    6,225GitHub पर देखें↗

    Friendly ID is an ActiveRecord slugging plugin that generates human-readable URL slugs from model attributes, replacing numeric IDs for cleaner permalinks in Rails applications. It resolves database records by matching a slug string instead of the numeric primary key in finder methods, enabling friendlier URLs throughout an application. The plugin provides a slug conflict resolution system that appends a UUID or uses candidate attribute combinations to guarantee unique slugs when the primary choice is already taken. It also offers a scoped uniqueness engine that restricts slug uniqueness with

    Rubyfriendly-urlpluginrails
    GitHub पर देखें↗6,225
  • area17/twillarea17 का अवतार

    area17/twill

    3,956GitHub पर देखें↗

    Twill is a Laravel CMS toolkit and admin panel generator designed for building custom administrative consoles and content management systems. It serves as a headless CMS framework and a toolkit for defining content models and managing structured data through a dedicated administrative interface. The project features a visual block editor that allows publishers to arrange and configure reusable content sections via a drag-and-drop interface. It includes a dedicated digital asset manager for storing, cropping, and optimizing images and files across local or cloud storage, as well as a multiling

    PHP
    GitHub पर देखें↗3,956
  • doctrine-extensions/doctrineextensionsdoctrine-extensions का अवतार

    doctrine-extensions/DoctrineExtensions

    4,143GitHub पर देखें↗

    DoctrineExtensions is a collection of reusable behavioral extensions for Doctrine ORM designed to automate common entity tasks. It provides a system for tracking historical changes to database entities, implementing soft deletion workflows, managing nested set tree structures for hierarchical data, and storing translated field values based on language locales. The project distinguishes itself by providing specialized tools for entity auditing, which logs modified values and timestamps, and a translation framework for multilingual content management. It also includes a tree manager to organize

    PHP
    GitHub पर देखें↗4,143
  • consoletvs/chartsConsoleTVs का अवतार

    ConsoleTVs/Charts

    86GitHub पर देखें↗

    Deprecated Charts for Laravel

    PHP
    GitHub पर देखें↗86
Eloquent Sluggable के सभी 30 विकल्प देखें→

अक्सर पूछे जाने वाले प्रश्न

cviebrock/eloquent-sluggable क्या करता है?

This project is a slug generation and management tool for the Laravel Eloquent ORM. It provides a reusable trait that adds the ability to create unique, URL-friendly strings from model attributes, allowing database records to be retrieved using human-readable slugs instead of primary keys.

cviebrock/eloquent-sluggable की मुख्य विशेषताएं क्या हैं?

cviebrock/eloquent-sluggable की मुख्य विशेषताएं हैं: Slug Generators, Query Scopes, Slug-Based Record Retrieval, Slug History Trackers, Slug Generation Extensions, Model Trait Extensions, Trait-Based Capability Injection, Slug-Based Model Resolution।

cviebrock/eloquent-sluggable के कुछ ओपन-सोर्स विकल्प क्या हैं?

cviebrock/eloquent-sluggable के ओपन-सोर्स विकल्पों में शामिल हैं: norman/friendly_id — Friendly ID is an ActiveRecord slugging plugin that generates human-readable URL slugs from model attributes,… doctrine-extensions/doctrineextensions — DoctrineExtensions is a collection of reusable behavioral extensions for Doctrine ORM designed to automate common… area17/twill — Twill is a Laravel CMS toolkit and admin panel generator designed for building custom administrative consoles and… nahid/talk — Talk is a real-time users messaging and chatting system for Laravel. consoletvs/charts — [Deprecated] Charts for Laravel. rachidlaasri/laravelinstaller — A web installer for Laravel.