@@ -1,6 +1,7 @@
APP_ENV=local
APP_DEBUG=true
APP_KEY=SomeRandomString
+APP_URL=http://localhost
DB_HOST=127.0.0.1
DB_DATABASE=homestead
@@ -0,0 +1 @@
+
@@ -39,7 +39,7 @@ return [
|
*/
- 'url' => 'http://localhost',
+ 'url' => env('APP_URL', 'http://localhost'),
/*
|--------------------------------------------------------------------------
@@ -14,7 +14,7 @@
$factory->define(App\User::class, function (Faker\Generator $faker) {
return [
'name' => $faker->name,
- 'email' => $faker->email,
+ 'email' => $faker->safeEmail,
'password' => bcrypt(str_random(10)),
'remember_token' => str_random(10),
];
@@ -11,6 +11,6 @@ class DatabaseSeeder extends Seeder
public function run()
{
- // $this->call(UserTableSeeder::class);
+ // $this->call(UsersTableSeeder::class);
}
@@ -24,4 +24,4 @@ If you discover a security vulnerability within Laravel, please send an e-mail t
## License
-The Laravel framework is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)
+The Laravel framework is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).
@@ -1,2 +1,2 @@
*
-!.gitignore
+!.gitignore