Skip to content

Commit

Permalink
laravel auto discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
leo108 committed Apr 3, 2018
1 parent 8724df7 commit 8a807d6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,12 @@
"tests/TestCase.php",
"tests/_support/SerializableModel.php"
]
},
"extra": {
"laravel": {
"providers": [
"Leo108\\CAS\\CASServerServiceProvider"
]
}
}
}
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ This package works for Laravel 5.5/5.6 . Please check 2.x branch if you are usin
## Installation && Usage

- `composer require leo108/laravel_cas_server`
- add `Leo108\CAS\CASServerServiceProvider::class` to the `providers` field in `config/app.php`
- <del>add `Leo108\CAS\CASServerServiceProvider::class` to the `providers` field in `config/app.php`</del>
- `php artisan vendor:publish --provider="Leo108\CAS\CASServerServiceProvider"`
- modify `config/cas.php`, fields in config file are all self-described
- `php artisan migrate`
Expand Down

0 comments on commit 8a807d6

Please sign in to comment.