{"repo":"statamic/eloquent-driver","free":true,"listed":false,"github":"https://github.com/statamic/eloquent-driver","clone":"git clone https://github.com/statamic/eloquent-driver.git","description":"Provides support for storing your Statamic data in a database, rather than flat files.","language":"PHP","stars":128,"topics":["laravel","statamic","eloquent","database","cms"],"license":"MIT","category":"databases-storage","readme_excerpt":"Eloquent Driver Provides support for storing your Statamic data in a database, rather than flat files. Installation & Usage You can install and configure the Eloquent Driver using a single command: The command will install the statamic/eloquent-driver package, publish the config file, then prompt you to select which repositories you wish to move to the database. The command will then publish the relevant migrations and run php artisan migrate behind the scenes. The command will also give you the opportunity to indicate whether you'd like existing data to be imported. Importing flat-file content If you originally opt-out of importing existing content, then later change your mind, you can import existing content by running the relevant commands: - Addon Settings: php please eloquent:import-addon-settings - Assets: php please eloquent:import-assets - Blueprints and Fieldsets: php please eloquent:import-blueprints - Collections: php please eloquent:import-collections - Entries: php please eloquent:import-entries - Forms: php please eloquent:import-forms - Globals: php please eloquent:import-globals - Navs: php please eloquent:import-navs - Revisions: php please eloquent:import-revisions - Taxonomies: php please eloquent:import-taxonomies - Sites: php please eloquent:import-sites Assets Syncing If your assets are being driven by the Eloquent Driver and you're managing your assets outside of Statamic (eg. directly in the filesystem), you should run the php please eloquent:sync-asse","default_branch":null,"files":null,"tree":[],"storefront":"/r/statamic","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/statamic/eloquent-driver/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."}