-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2ce025c
commit 985d442
Showing
2 changed files
with
23 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,6 @@ | |
[![Total Downloads](https://img.shields.io/packagist/dt/openjournalteam/core.svg?style=flat-square)](https://packagist.org/packages/openjournalteam/core) | ||
![GitHub Actions](https://github.com/openjournalteam/core/actions/workflows/main.yml/badge.svg) | ||
|
||
This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors. | ||
|
||
## Installation | ||
|
||
You can install the package via composer: | ||
|
@@ -16,10 +14,31 @@ composer require openjournalteam/core | |
|
||
## Usage | ||
|
||
Run the following to use the latest stable version | ||
```php | ||
php artisan core:install | ||
``` | ||
Edit config/auth.php and add the following lines: | ||
```php | ||
'providers' => [ | ||
'users' => [ | ||
'driver' => 'eloquent', | ||
'model' => App\User::class, | ||
], | ||
], | ||
``` | ||
To | ||
```php | ||
// Usage description here | ||
'providers' => [ | ||
'users' => [ | ||
'driver' => 'eloquent', | ||
'model' => OpenJournalTeam\Core\Models\User::class, | ||
], | ||
], | ||
``` | ||
|
||
|
||
|
||
### Changelog | ||
|
||
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently. | ||
|
@@ -36,7 +55,3 @@ If you discover any security related issues, please email [email protected] | |
|
||
- [Rahman Ramsi](https://github.com/rhmrms) | ||
- [All Contributors](../../contributors) | ||
|
||
## License | ||
|
||
The The Unlicense. Please see [License File](LICENSE.md) for more information. |