1 repositorio
Retrieving database records using unique text identifiers instead of primary keys.
Distinct from Laravel Integrations: Focuses on retrieving models by slug for SEO rather than framework bootstrapping or hardware IDs.
Explore 1 awesome GitHub repository matching web development · Slug-Based Model Resolution. Refine with filters or upvote what's useful.
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 syst
Retrieves database records using unique text identifiers instead of primary keys to improve SEO and user experience.