I guess you broke something... This works fine for me!
Did you add the correct dependenties with composer as mentioned in the upgrade guide?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi,
The command:
php artisan make:seed RoleTableSeeder
Makes template file instead of compiling it into real seed file. So output file looks like this:
<?php
use Illuminate\Database\Seeder;
// composer require laracasts/testdummy
use Laracasts\TestDummy\Factory as TestDummy;
class {{class}} extends Seeder
{
public function run()
{
// TestDummy::times(20)->create('App\Post');
}
}
And the file is called RoleTableSeederTableSeeder (double TableSeeder). How can I fix it to work properly. I use laravel 5.2 upgraded from 5.1
Please or to participate in this conversation.