← Back to projects
Laravel Fake Cartoons
This Laravel package provides a Faker provider to generate fictional cartoon company names. Perfect for seeding your database with fun and recognizable company names from popular cartoons and animated series.
#Laravel Fake Cartoons
This Laravel package provides a Faker provider to generate fictional cartoon company names. Perfect for seeding your database with fun and recognizable company names from popular cartoons and animated series.
#Installation
You can install the package via composer:
composer require --dev jeffersongoncalves/laravel-fake-cartoons
#Usage
#Basic Usage
fake()->cartoonCompany();
#Using in a Model Factory
use Illuminate\Database\Eloquent\Factories\Factory; class CompanyFactory extends Factory { public function definition(): array { return [ 'name' => fake()->cartoonCompany(), ]; } }
#Using in a Seeder
use Illuminate\Database\Seeder; class CompanySeeder extends Seeder { public function run(): void { foreach (range(1, 10) as $ignored) { Company::create([ 'name' => fake()->cartoonCompany(), ]); } } }
#Changelog
Please see CHANGELOG for more information on what has changed recently.
#Contributing
Please see CONTRIBUTING for details.
#Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
#Credits
#License
The MIT License (MIT). Please see License File for more information.