You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 6.x/base-how-to.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ In order to place something else inside that view, like [widgets](/docs/{{versio
51
51
```
52
52
53
53
To use information from the database, you can:
54
-
-[use view composers](https://laravel.com/docs/5.7/views#view-composers) to push variables inside this view, when it's loaded;
54
+
-[use view composers](https://laravel.com/docs/views#view-composers) to push variables inside this view, when it's loaded;
55
55
- load all your dashboard information using AJAX calls, if you're loading charts, reports, etc, and the DB queries might take a long time;
56
56
- use the full namespace for your models, like ```\App\Models\Product::count()```;
57
57
@@ -290,7 +290,7 @@ This is a default in Backpack v4.
290
290
291
291
Backpack's authentication uses a completely separate authentication driver, provider, guard and password broker. They're all named ```backpack```, and registered in the vendor folder, invisible to you.
292
292
293
-
If you need a separate login for user, just go ahead and create it. [Add the Laravel authentication, like instructed in the Laravel documentation](https://laravel.com/docs/5.7/authentication#authentication-quickstart): ```php artisan make:auth```. You'll then have:
293
+
If you need a separate login for user, just go ahead and create it. [Add the Laravel authentication, like instructed in the Laravel documentation](https://laravel.com/docs/authentication#authentication-quickstart): ```php artisan make:auth```. You'll then have:
294
294
- the user login at ```/login``` -> using the AuthenticationController Laravel provides
295
295
- the admin login at ```/admin/login``` -> using the AuthenticationControllers Backpack provides
296
296
@@ -440,7 +440,7 @@ This will make the registration process pick up a view you can create, in ```res
440
440
441
441
In Backpack CRUD 6.2 we introduced the ability to require email verification when accessing Backpack routes. To enable this feature please do the following:
442
442
443
-
**Step 1** - Make sure your user model (usually `App\Models\User`) implements the `Illuminate\Contracts\Auth\MustVerifyEmail` contract. [More info](https://laravel.com/docs/10.x/verification#model-preparation).
443
+
**Step 1** - Make sure your user model (usually `App\Models\User`) implements the `Illuminate\Contracts\Auth\MustVerifyEmail` contract. [More info](https://laravel.com/docs/verification#model-preparation).
444
444
445
445
```php
446
446
<?php
@@ -494,7 +494,7 @@ return new class extends Migration
494
494
};
495
495
496
496
```
497
-
Then run `php artisan migrate`. [More info](https://laravel.com/docs/10.x/verification#database-preparation).
497
+
Then run `php artisan migrate`. [More info](https://laravel.com/docs/verification#database-preparation).
498
498
499
499
**Step 3** - New Laravel 10/11 installations already have them in place so you can skip this step. If you came from earlier versions it's possible that they are missing in your app, in that case you can add them manually.
Copy file name to clipboardExpand all lines: 7.x-dev/base-how-to.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ In order to place something else inside that view, like [widgets](/docs/{{versio
51
51
```
52
52
53
53
To use information from the database, you can:
54
-
-[use view composers](https://laravel.com/docs/5.7/views#view-composers) to push variables inside this view, when it's loaded;
54
+
-[use view composers](https://laravel.com/docs/views#view-composers) to push variables inside this view, when it's loaded;
55
55
- load all your dashboard information using AJAX calls, if you're loading charts, reports, etc, and the DB queries might take a long time;
56
56
- use the full namespace for your models, like ```\App\Models\Product::count()```;
57
57
@@ -290,7 +290,7 @@ This is a default in Backpack v4.
290
290
291
291
Backpack's authentication uses a completely separate authentication driver, provider, guard and password broker. They're all named ```backpack```, and registered in the vendor folder, invisible to you.
292
292
293
-
If you need a separate login for user, just go ahead and create it. [Add the Laravel authentication, like instructed in the Laravel documentation](https://laravel.com/docs/5.7/authentication#authentication-quickstart): ```php artisan make:auth```. You'll then have:
293
+
If you need a separate login for user, just go ahead and create it. [Add the Laravel authentication, like instructed in the Laravel documentation](https://laravel.com/docs/authentication#authentication-quickstart): ```php artisan make:auth```. You'll then have:
294
294
- the user login at ```/login``` -> using the AuthenticationController Laravel provides
295
295
- the admin login at ```/admin/login``` -> using the AuthenticationControllers Backpack provides
296
296
@@ -440,7 +440,7 @@ This will make the registration process pick up a view you can create, in ```res
440
440
441
441
In Backpack CRUD 6.2 we introduced the ability to require email verification when accessing Backpack routes. To enable this feature please do the following:
442
442
443
-
**Step 1** - Make sure your user model (usually `App\Models\User`) implements the `Illuminate\Contracts\Auth\MustVerifyEmail` contract. [More info](https://laravel.com/docs/10.x/verification#model-preparation).
443
+
**Step 1** - Make sure your user model (usually `App\Models\User`) implements the `Illuminate\Contracts\Auth\MustVerifyEmail` contract. [More info](https://laravel.com/docs/verification#model-preparation).
444
444
445
445
```php
446
446
<?php
@@ -494,7 +494,7 @@ return new class extends Migration
494
494
};
495
495
496
496
```
497
-
Then run `php artisan migrate`. [More info](https://laravel.com/docs/10.x/verification#database-preparation).
497
+
Then run `php artisan migrate`. [More info](https://laravel.com/docs/verification#database-preparation).
498
498
499
499
**Step 3** - New Laravel 10/11 installations already have them in place so you can skip this step. If you came from earlier versions it's possible that they are missing in your app, in that case you can add them manually.
0 commit comments