Search
 
SCRIPT & CODE EXAMPLE
 

PHP

post factory faker

use FakerGenerator as Faker;
use IlluminateSupportStr;

$factory->define(AppUser::class, function (Faker $faker) {
    return [
        'name' => $faker->name,
        'email' => $faker->unique()->safeEmail,
        'email_verified_at' => now(),
        'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password
        'remember_token' => Str::random(10),
    ];
});
Comment

PREVIOUS NEXT
Code Example
Php :: text short in laravel 
Php :: obtener tipo 
Php :: IlluminateDatabaseEloquentMassAssignmentException with message 
Php :: auto complete order paid3 
Php :: how-to-customize-the-email-verification-email-from-laravel-8 
Php :: How to calculate age using query builder in laravel? 
Php :: direct without public laravel 
Php :: repalce 0 in phone with 234 
Php :: laravel has many deep 
Php :: php mysql remove by timestamp older than a month 
Php :: Find template serving current page 
Php :: The app function returns the service container instancel 
Php :: how to lookup value object php 
Php :: php how to use namespaces 
Php :: php is_a 
Php :: wp plugin handles - load on specific page 
Php :: logout php mysql 
Php :: upsert request php-salesforce-rest-api 
Php :: php hide credit card middle numbers 
Php :: get header sent var 
Php :: school management system in codeigniter free download 
Php :: install tinymce php 
Php :: composer exceeded the timeout of 300 seconds. 
Php :: ifmodule condition in htaccess 
Php :: cors laravel 
Php :: br2nl 
Php :: laravel illuminate filesystem not found 
Php :: how to create pdf with doompdf in php 
Php :: array_unshift php 
Php :: remove public laravel 
ADD CONTENT
Topic
Content
Source link
Name
3+3 =