URL Shortener 1.0
A Laravel-based URL shortener application
Chargement...
Recherche...
Aucune correspondance
Référence de l'espace de nommage Database

This class is responsible for seeding the application's database. Plus de détails...

Espaces de nommage

namespace  Factories
 
namespace  Seeders
 

Description détaillée

This class is responsible for seeding the application's database.

Class UserSeeder.

It uses the WithoutModelEvents trait to prevent model events from being executed.

It includes two seeders: UserSeeder and ShortUrlSeeder.

The UserSeeder is responsible for creating a user with a random name and email. The ShortUrlSeeder is responsible for creating a short URL with a random URL and title.

\Seeders

Seeder for creating test users.

This class is responsible for seeding the database with test users. It creates a default test user with a specific password and multiple additional users for testing purposes. It also creates a specific admin user.

\Seeders