Download the PHP package emran-alhaddad/statamic-dummy-data without Composer
On this page you can find all versions of the php package emran-alhaddad/statamic-dummy-data. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download emran-alhaddad/statamic-dummy-data
More information about emran-alhaddad/statamic-dummy-data
Files in emran-alhaddad/statamic-dummy-data
Package statamic-dummy-data
Short Description A Statamic addon to inject dummy data into collections and taxonomies
License MIT
Homepage https://statamic.com/addons/emran-alhaddad/statamic-dummy-data
Informations about the package statamic-dummy-data
Dummy Data Addon for Statamic
The Dummy Data addon for Statamic allows you to quickly inject dummy data into your collections and taxonomies. This is useful for testing and development purposes, enabling you to populate your site with sample content effortlessly.
Features
- Inject dummy data into any collection or taxonomy.
- Specify the number of records or terms to inject.
- Automatically generates data based on the collection or taxonomy structure.
Installation
To install the Dummy Data addon, use Composer:
Configuration
No additional configuration is required. Once installed, the command is ready to use.
Usage
To inject dummy data into your collections or taxonomies, use the following Artisan command:
Injecting Data into a Collection
-
Run the command:
- Choose
Collectionwhen prompted. - Select the collection you want to inject data into.
- Specify the number of records to inject.
Injecting Data into a Taxonomy
-
Run the command:
- Choose
Taxonomywhen prompted. - Select the taxonomy you want to inject data into.
- Specify the number of terms to inject.
Development
Directory Structure
The main files of this addon are located in the src directory:
Service Provider
The ServiceProvider.php registers the Artisan command:
Command
The InjectDummyData.php command is responsible for injecting the dummy data:
Contributions
Contributions are welcome. Please create pull requests or issues on our GitHub repository.
License
This addon is open-sourced software licensed under the MIT license.
All versions of statamic-dummy-data with dependencies
laravel/framework Version ^7.30.3 || ^8.24 || ^9.0 || ^10.0 || ^11.0
statamic/cms Version ^3.0.0|^4.0|^5.0