ReadOnlyTraitLaravel
laravel
Our great sponsors
ReadOnlyTraitLaravel | laravel | |
---|---|---|
1 | 2 | |
136 | 1,376 | |
- | 1.9% | |
6.1 | 2.6 | |
29 days ago | 14 days ago | |
PHP | PHP | |
MIT License | 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.
ReadOnlyTraitLaravel
-
Using Database Views in Laravel?
I'm not sure about best practices but you can use this package to make the model read only https://github.com/michaelachrisco/ReadOnlyTraitLaravel. It's old but it still works.
laravel
- Using pre-existing database - HELP
-
What do you think about API Artisan?
Instead, go the other way around. There are plenty of packages that convert an SQL database into a collection of models. Some of them are really good, like this one https://github.com/reliese/laravel - I used that on an existing project with 78 tables and it produced a very decent and usable result.
What are some alternatives?
eloquent-viewable - Associate views with Eloquent models in Laravel
laravel-tags - Add tags and taggable behaviour to your Laravel app
laravel-time-series - ⏰📊✨Laravel Time Series - Provides an API to create and maintain data projections (statistics, aggregates, etc.) from your Eloquent models, and convert them to time series.
laravel-eloquent-query-cache - Adding cache on your Laravel Eloquent queries' results is now a breeze.
laravel-taxonomies - A package to bring simple taxonomy relationships to Laravel models
eloquent-sluggable - Easy creation of slugs for your Eloquent models in Laravel
inertiajs-tables-laravel-query-builder - Inertia.js Tables for Laravel Query Builder
Elasticsearch Eloquent - ⚡️ Models like Eloquent for Elasticsearch.
bouncer - Laravel Eloquent roles and abilities.
laravel-erd - Automatically generate ERD Diagrams from Model's relations in Laravel
column-sortable - Package for handling column sorting in Laravel 5/6/7/8
laravel-db-session-helper - This package is build on top of the Laravel session database driver. With it you are able to query users by their login state.