{"repo":"renoki-co/laravel-useful-casts","free":true,"listed":false,"github":"https://github.com/renoki-co/laravel-useful-casts","clone":"git clone https://github.com/renoki-co/laravel-useful-casts.git","description":"Laravel Useful Casts is a simple package for Laravel 7.0+ that comes with already-tested and already-written, useful casts for Eloquent models.","language":"PHP","stars":10,"topics":["laravel","php","casts","database","eloquent","orm","eloquent-models","laravel-package"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"Laravel Useful Casts ==================== Laravel Useful Casts is a simple package for Laravel 7.0+ that comes with already-tested and already-written, useful casts for Eloquent models. 🤝 Supporting If you are using one or more Renoki Co. open-source packages in your production apps, in presentation demos, hobby projects, school projects or so, sponsor our work with Github Sponsors. 📦 🚀 Installation You can install the package via composer: 🙌 Usage Available Casts Cast class Purpose ------------ --------- RenokiCo\\UsefulCasts\\Casts\\Encrypted::class Encrypts and decrypts a value from the database RenokiCo\\UsefulCasts\\Casts\\Arrayed::class Serializes and unserialies an array. If the value is null, returns an empty array. RenokiCo\\UsefulCasts\\Casts\\EncryptedArray::class Encrypts and decrypts a value from the database, making sure it's always an array, even if the value is set or get as null 🐛 Testing 🤝 Contributing Please see CONTRIBUTING for details. 🔒 Security If you discover any security related issues, please email alex@renoki.org instead of using the issue tracker. 🎉 Credits - Alex Renoki - All Contributors","default_branch":null,"files":null,"tree":[],"storefront":"/r/renoki-co","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/renoki-co/laravel-useful-casts/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."}