A utility tool for generating copious amounts of test data for Moodle's auth_db and enrol_database plugins.
Create a new database (preferably postgres)
git clone git://github.com/andrewnicols/mdl_auth_db.git
composer install
./bin/console appbundle:createtestdata [usercount] [coursecount] [maxuserspercourse]
Copy configuration generated from the following command to your config.php:
./bin/console appbundle:moodleconfig
php auth/db/cli/sync_users.php --verbose
php enrol/database/cli/sync.php --verbose