directorytree/dummy
directorytree/dummy is a Laravel/PHP package providing a lightweight dummy/test utility for generating placeholder data and fixtures. Useful for local development, demos, and automated tests where realistic sample content is needed quickly and consistently.
HasFactory traits, aligning with Laravel’s Eloquent ecosystem while enabling custom state management.Adopt When:
HasFactory.Look Elsewhere If:
HasFactory support.fakerphp/faker or laravel/breeze).Arr helpers.For Executives: "This package cuts test setup time by 60%+ by automating dummy data generation for Laravel apps—without locking us into framework dependencies. It’s ideal for scaling CI/CD, modernizing legacy systems, and enabling reusable test components across microservices. The MIT license and active maintenance (recent 1.3.1 release) make it a low-risk, high-ROI tool for dev teams."
For Engineering: *"DirectoryTree/Dummy lets us:
DB::table()->insert() with dynamic factories (e.g., User::factory()->withPassword('test123')).HasFactory traits.
Example use case: Spin up 1000 test users with random roles in seconds—critical for load testing or demo environments. The package’s Arr helper optimizations also reduce memory overhead vs. raw Faker usage."*How can I help you explore Laravel packages today?