Download the PHP package spiral-packages/database-seeder without Composer

On this page you can find all versions of the php package spiral-packages/database-seeder. 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 database-seeder

Database Seeder

PHP Latest Version on Packagist GitHub Tests Action Status Total Downloads

When you build apps that use databases, it's really important to make sure your database works right. This means checking if it stores, changes, and gives back data the way it's supposed to. But sometimes, testing databases can be tricky and a bit boring. You might have to write a lot of complicated commands and be very careful about how data is added or removed.

What the package offers

  1. Easy Testing: With Spiral, you don't need to deal with complex commands. The tools are simple to use, which means your tests are easier to write and understand.

  2. Different Ways to Reset Your Database: After you test something, you need to make your database clean again for the next test. Spiral has different ways to do this, like the Transaction, Migration, Refresh, and SqlFile methods. Each one has its own way of working, so you can choose what fits best for your test.

  3. Seeders and Factories: These are like shortcuts to fill your database with test data. This data looks like the real data you would use in your app. You can quickly set up the data you need for testing with these tools.

  4. Checking Your Database: After you do something in your database, you want to make sure it worked right. Spiral's tools let you check if the data is there or not, and if your database structure is correct.

It's a great for any developer, no matter how much experience you have. They help make sure your database is doing what it should, which is really important for your app to work well.

Requirements

Make sure that your server is configured with following PHP version and extensions:

Documentation, Installation, and Usage Instructions

See the documentation for detailed installation and usage instructions.

License

The MIT License (MIT). Please see License File for more information.


All versions of database-seeder with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
butschster/entity-faker Version ^2.0
fakerphp/faker Version ^1.23
laminas/laminas-hydrator Version ^4.3
spiral/attributes Version ^2.0 || ^3.1.2
spiral/scaffolder Version ^3.8
spiral/boot Version ^3.8
spiral/console Version ^3.8
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 spiral-packages/database-seeder contains the following files

Loading the files please wait ....