Skip to content

v3.3.0 - Custom stub templates

Choose a tag to compare

@tihomiro tihomiro released this 28 Jan 08:40
· 11 commits to master since this release

New Feature

  • Custom stub templates: Specify a custom stub path via config/iseed.php to customize the generated seed file format.

Usage

Create config/iseed.php in your Laravel application:

<?php
return [
    'stub_path' => resource_path('stubs'),
];

Then create your custom stub at resources/stubs/seed.stub.

Thanks

Thanks to @bahri-hirfanoglu for PR #222.