Download the PHP package mgamal92/filament-demo-generator without Composer

On this page you can find all versions of the php package mgamal92/filament-demo-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package filament-demo-generator

Filament Demo Generator

A Filament plugin that helps you generate realistic demo data for any resource — in just one click.

Whether you're testing layouts, showcasing features, or kicking off a new dashboard — skip writing manual seeders and fill your tables instantly.


Features


BelongsTo Relationships

The package automatically handles BelongsTo relationships:

For example, if your model has a user_id field and a user() relationship, the generator will automatically populate it correctly.


Event: DemoDataGenerated

After demo data is created, the following event is fired:

You can listen to it like this:

Payload includes:


Configuration

You can customize how fake demo data is generated by publishing the config file:

This will create a filament-demo-generator.php file in your config directory. You can customize:


Installation


Usage

After installation, a "Generate Demo Data" button will appear in the table header of any Filament resource.

If demo data already exists, the same button becomes "Delete Demo Data", and deletes only the records it generated.


Contributing

Contributions are welcome!

If you have suggestions for improving the plugin, want to support new field types, or help with localization, feel free to open an issue or submit a pull request.

  1. Fork the repo
  2. Make your changes
  3. Submit a PR

License

MIT License


All versions of filament-demo-generator with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
filament/filament Version ^3.0
illuminate/support Version ^12.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mgamal92/filament-demo-generator contains the following files

Loading the files please wait ...