php / web-pecl

The PECL website
http://pecl.php.net
Other
32 stars 30 forks source link

Add data fixtures CLI command #64

Closed petk closed 5 years ago

petk commented 5 years ago

This patch adds ability to insert data fixtures in the development environment using a new console script via Symfony Console component and Faker library which generates demo data for localhost development environments.

After setting up the database, this inserts demo data for development environment:

bin/console app:generate-fixtures

In the future this can be also extended for testing environment...