{"repo":"rakshitbharat/laravel-storage-with-database","free":true,"listed":false,"github":"https://github.com/rakshitbharat/laravel-storage-with-database","clone":"git clone https://github.com/rakshitbharat/laravel-storage-with-database.git","description":"Laravel Storage with Database is a powerful package that provides a seamless way to store","language":"PHP","stars":17,"topics":["database","laravel","storage"],"license":null,"category":"databases-storage","readme_excerpt":"Laravel Storage with Database Laravel Storage with Database is a powerful package that provides a seamless way to store and retrieve text-based data using a database in Laravel. It offers a simple and intuitive API similar to Laravel's built-in Storage facade, making it easy to switch from file-based storage to database storage for your text-based data[1]. Features - Store and retrieve text-based data using a database - Seamless integration with Laravel's Storage facade - Simple and intuitive API for interacting with stored data - Supports various database drivers (MySQL, PostgreSQL, SQLite, etc.) - Customizable database table and column names - Provides mock implementations for file-related functions - Comprehensive documentation and code examples Installation You can install the package via Composer: After installing the package, you need to publish the configuration file: This will create a storage-database.php configuration file in your config directory. You can modify this file to customize the database connection, table name, and column names. Next, run the database migration to create the necessary table: Configuration To use the database storage driver, you need to update your config/filesystems.php file. Add the following to the disks array: Usage Once the package is installed and configured, you can start using it to store and retrieve text-based data. You can use the Storage facade with the database disk to interact with the stored data. Storing Data To store data,","default_branch":null,"files":null,"tree":[],"storefront":"/r/rakshitbharat","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rakshitbharat/laravel-storage-with-database/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."}