{"repo":"michaelachrisco/ReadOnlyTraitLaravel","free":true,"listed":false,"github":"https://github.com/michaelachrisco/ReadOnlyTraitLaravel","clone":"git clone https://github.com/michaelachrisco/ReadOnlyTraitLaravel.git","description":"Laravel Read Only Model Traits","language":"PHP","stars":162,"topics":["php","laravel-models","read-only-laravel","laravel-5-package","laravel-model","laravel","eloquent","eloquent-models","laravel-read"],"license":"GPL-3.0","category":"api-integrations-sdks","readme_excerpt":"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!","default_branch":null,"files":null,"tree":[],"storefront":"/r/michaelachrisco","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/michaelachrisco/ReadOnlyTraitLaravel/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}