Skip to content

Commit

Permalink
Merge pull request #3 from sakasa/patch-1
Browse files Browse the repository at this point in the history
Update memo.md
  • Loading branch information
msakasai authored Apr 23, 2020
2 parents aac5d5c + fb29440 commit c38876e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions PHP/memo.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,20 @@ public function index({FormRequest} $request) // コントローラのメソッ
php artisan make:middleware {Middleware}
```

### プロバイダの作成
```bash
php artisan make:provider {Provider}
```
`conf/app.php` に追加して有効化
```
'providers' => [
...
App\Providers\{Provider}::class,
...
];
```


### セッション
#### DBセッションにする場合のテーブル作成
```bash
Expand Down

0 comments on commit c38876e

Please sign in to comment.