laravel-erd
eloquent-sluggable
Our great sponsors
laravel-erd | eloquent-sluggable | |
---|---|---|
1 | 3 | |
128 | 3,827 | |
- | - | |
6.2 | 5.8 | |
2 months ago | 11 days ago | |
PHP | PHP | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
laravel-erd
-
Packages that automatically convert models to class diagram
Alternatively, you can generate an interactive ERD by using Laravel ERD Generator
eloquent-sluggable
-
generate unique slug with eloquent-sluggable package laravel 8
for more feature, maybe you want to read the documentations
-
Is a good idea to use slugs with ids?
You could use something like eloquent-sluggable to generate unique slugs for your posts. Thy way you wouldn't need to expose your ids. Depending on the use case the id could be considered a secret. If you expose it in the url, someone could enumerate the parameter, and potentially expose things you don't want exposed
-
Get Actual Model Name After Passing As Slug
I would use a package to handle slugs. This one for example provides some convenient methods so you can simplify to $hobby = Hobby::findBySlug($slug);
What are some alternatives?
laravel - Reliese Laravel Model Generator
laravel-opcache - Laravel Package for OPcache
laravel-elasticsearch - Use Elasticsearch as a database in Laravel to retrieve Eloquent models and perform aggregations.
laravel-er-diagram-generator - Generate entity relation diagrams from your Laravel model files.
Laravel - Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation for your next big idea — freeing you to create without sweating the small things.
laravel-deployer - 🚀 Zero-downtime deployment out-of-the-box
laravel-intelli-db - Intelligent way to generate database-related Laravel "artisan make" components using AI
Elasticsearch Eloquent - ⚡️ Models like Eloquent for Elasticsearch.
laravel-terminal - Runs artisan command in web application