반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- Python
- Java
- vue
- elasticSearch
- php
- 당사자표시정정신청서
- Eclipse
- 홈택스
- as후기
- auth
- 이더리움
- Sentinel
- Bootstrap
- reactnative
- javascript
- 코로나19
- Laravel
- 보정명령
- 체당금
- 전자소송
- 인민공원
- 소액임금체불
- cartalyst
- Blade
- blockchain
- 코로나
- Tutorial
- 사업자계좌
- 개인사업자
- win32
Archives
- Today
- Total
그냥 사는 이야기
Laravel 5.3 Sentinel - Setting Up 본문
반응형
Sentinel 은 auth 관련 패키지이다. 이것을 Laravel 5.3에서 사용하는 방법을 정리해본다.
Sentinel By Cartalyst 검색
Install by Composer
composer require cartalyst/sentinel "2.0.*"
Integration
config/app.php
$providers
...
Cartalyst\Sentinel\Laravel\SentinelServiceProvider::class,
$aliases
...
'Activation' => Cartalyst\Sentinel\Laravel\Facades\Activation::class,
'Reminder' => Cartalyst\Sentinel\Laravel\Facades\Reminder::class,
'Sentinel' => Cartalyst\Sentinel\Laravel\Facades\Sentinel::class,
Assets
php artisan vendor:publish --provider="Cartalyst\Sentinel\Laravel\SentinelServiceProvider"
이후 config/cartalyst.sentinel.php 와 migration file 추가
Migrations
php artisan migrate
이 때 default user migration이 있었다면 rollback 후 다시 할 것
'Development > Web' 카테고리의 다른 글
Laravel 5.3 Sentinel - Create User (0) | 2020.01.20 |
---|---|
Laravel 5.3 Sentinel - Registration (0) | 2020.01.20 |
Laravel 5.3 Tutorial for Beginner - Social Network (CRUD) Migrations (0) | 2020.01.19 |
Laravel 5.3 Tutorial for Beginner - Profile Design and Date (0) | 2020.01.19 |
Laravel 5.3 Tutorial for Beginner - Profile (0) | 2020.01.19 |
Comments