I'm using Faker via Composer autoload and everything works fine in a controller, for example, since
config/loader.php file. However, Devtools solely loads
config/config.php, hence Faker isn't available in my migration files. For the same reason, I can't use a model to insert data (models are autoloaded via
config/loader.php as well).
How can I handle this? Can't require
config/loader.php in my migrations, because it relies on
config/config.php vars. Can specify it as config parameter neither, for the same reason.