Download the PHP package michaelachrisco/readonly without Composer
On this page you can find all versions of the php package michaelachrisco/readonly. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download michaelachrisco/readonly
More information about michaelachrisco/readonly
Files in michaelachrisco/readonly
Download michaelachrisco/readonly
More information about michaelachrisco/readonly
Files in michaelachrisco/readonly
Vendor michaelachrisco
Package readonly
Short Description Readonly Models for Laravel 5+
License MIT
Package readonly
Short Description Readonly Models for Laravel 5+
License MIT
Please rate this library. Is it a good library?
Informations about the package readonly
Laravel 5+ Read Only Models
The read only trait removes the ability to save, delete or modify Laravel models. Ideally, this would be used in addition to DB permissions to ensure users and developers cannot write to a Legacy system.
Install
To use:
Methods that will throw ReadOnlyExceptions:
- create
- forceCreate
- save
- update
- firstOrCreate
- firstOrNew
- delete
- destroy
- restore
- forceDelete
- performDeleteOnModel
- push
- finishSave
- performUpdate
- touch
- insert
- truncate
- Add in a PR for any other methods you can find!
All versions of readonly with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0.0
The package michaelachrisco/readonly contains the following files
Loading the files please wait ....