Skip to content

Commit 0cfcecd

Browse files
committed
Update readme
1 parent ebc7c08 commit 0cfcecd

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

readme.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
[![Latest Version on Packagist][ico-version]][link-packagist]
44
[![Total Downloads][ico-downloads]][link-downloads]
5-
[![Build Status](https://scrutinizer-ci.com/g/Mckenziearts/laravel-socialite/badges/build.png?b=master)](https://scrutinizer-ci.com/g/Mckenziearts/laravel-socialite/build-status/master)
6-
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/Mckenziearts/laravel-socialite/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/mckenziearts/laravel-socialite/?branch=master)
5+
[![Build Status](https://scrutinizer-ci.com/g/Mckenziearts/laravel-oauth/badges/build.png?b=master)](https://scrutinizer-ci.com/g/Mckenziearts/laravel-oauth/build-status/master)
6+
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/Mckenziearts/laravel-oauth/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/mckenziearts/laravel-oauth/?branch=master)
77
[![StyleCI][ico-styleci]][link-styleci]
88

99
## Introduction
@@ -15,21 +15,21 @@ Social OAuth authentication for Laravel 5. Drivers: Facebook, Twitter, Google, L
1515
1. Include the package in your project using Composer
1616

1717
``` shell
18-
$ composer require mckenziearts/laravel-socialite
18+
$ composer require mckenziearts/laravel-oauth
1919
```
2020

2121
2. Add the service provider to your `config/app.php` providers array:
2222

2323
**For Laravel 5.5.+ - you're done.**
2424

2525
```php
26-
Mckenziearts\LaravelSocialite\LaravelSocialiteServiceProvider::class,
26+
Mckenziearts\LaravelOAuth\LaravelOAuthServiceProvider::class,
2727
```
2828

2929
3. Publish the Vendor Assets files by running:
3030

3131
```shell
32-
php artisan vendor:publish --provider="Mckenziearts\LaravelSocialite\LaravelSocialiteServiceProvider"
32+
php artisan vendor:publish --provider="Mckenziearts\LaravelOAuth\LaravelOAuthServiceProvider"
3333
```
3434

3535
4. Now that we have published a few new files to our application we need to reload them with the following command:
@@ -40,14 +40,14 @@ Social OAuth authentication for Laravel 5. Drivers: Facebook, Twitter, Google, L
4040

4141
## Configuration
4242

43-
When you published the vendor assets you added a new file inside of your `config` folder which is called `config/laravel-socialite.php`. This file contains a bunch of configuration you can use to configure your connexion using social networks.
43+
When you published the vendor assets you added a new file inside of your `config` folder which is called `config/laravel-oauth.php`. This file contains a bunch of configuration you can use to configure your connexion using social networks.
4444

4545
First, you have to add your service like is defined on The official documentation of Socialite [available here](https://laravel.com/docs/5.6/socialite#configuration). Just setup your
4646
Oauth services for your application. Laravel/socialite is automatically installed by this package.
4747

4848
## Usage
4949

50-
1. Fisrt of all in the `config/laravel-socialite.php` file you must define the default users table name to simplify migrations. By default users table is used
50+
1. Fisrt of all in the `config/laravel-oauth.php` file you must define the default users table name to simplify migrations. By default users table is used
5151

5252
```php
5353
'users' => [
@@ -69,12 +69,12 @@ The last configuration is to stylize the button by editing class name and add or
6969

7070
![](https://pix.watch/m3qMiw/Q8fKIi.png)
7171

72-
Next, if you may want to re-publish the laravel-socialite assets, config, and the migrations run the following command:
72+
Next, if you may want to re-publish the laravel-oauth assets, config, and the migrations run the following command:
7373

7474
```
75-
php artisan vendor:publish --tag=laravelsocialite.assets --force
76-
php artisan vendor:publish --tag=laravelsocialite.config --force
77-
php artisan vendor:publish --tag=laravelsocialite.migrations --force
75+
php artisan vendor:publish --tag=laravel-oauth.assets --force
76+
php artisan vendor:publish --tag=laravel-oauth.config --force
77+
php artisan vendor:publish --tag=laravel-oauth.migrations --force
7878
```
7979

8080
3. Next to make sure you have the latest database schema run:
@@ -99,7 +99,7 @@ php artisan vendor:publish --tag=laravelsocialite.migrations --force
9999

100100
```
101101
@section('css')
102-
<link href="{{ url('/vendor/mckenziearts/laravelsocialite/assets/css/socialite.css') }}" rel="stylesheet">
102+
<link href="{{ url('/vendor/mckenziearts/laravel-oauth/assets/css/socialite.css') }}" rel="stylesheet">
103103
@endsection
104104
```
105105

@@ -110,7 +110,7 @@ php artisan vendor:publish --tag=laravelsocialite.migrations --force
110110

111111
use App\Http\Controllers\Controller;
112112
use Illuminate\Foundation\Auth\AuthenticatesUsers;
113-
use Mckenziearts\LaravelSocialite\Traits\OAuthSocialite;
113+
use Mckenziearts\LaravelOAuth\Traits\OAuthSocialite;
114114

115115
class LoginController extends Controller
116116
{
@@ -152,14 +152,14 @@ If you discover any security related issues, please email monneylobe@gmail.com i
152152

153153
MIT. Please see the [license.md](license.md) for more information.
154154

155-
[ico-version]: https://img.shields.io/packagist/v/mckenziearts/laravel-socialite.svg?style=flat-square
156-
[ico-downloads]: https://img.shields.io/packagist/dt/mckenziearts/laravel-socialite.svg?style=flat-square
157-
[ico-travis]: https://img.shields.io/travis/mckenziearts/laravel-socialite/master.svg?style=flat-square
155+
[ico-version]: https://img.shields.io/packagist/v/mckenziearts/laravel-oauth.svg?style=flat-square
156+
[ico-downloads]: https://img.shields.io/packagist/dt/mckenziearts/laravel-oauth.svg?style=flat-square
157+
[ico-travis]: https://img.shields.io/travis/mckenziearts/laravel-oauth/master.svg?style=flat-square
158158
[ico-styleci]: https://styleci.io/repos/139203549/shield
159159

160-
[link-packagist]: https://packagist.org/packages/mckenziearts/laravel-socialite
161-
[link-downloads]: https://packagist.org/packages/mckenziearts/laravel-socialite
162-
[link-travis]: https://travis-ci.org/Mckenziearts/laravel-socialite
160+
[link-packagist]: https://packagist.org/packages/mckenziearts/laravel-oauth
161+
[link-downloads]: https://packagist.org/packages/mckenziearts/laravel-oauth
162+
[link-travis]: https://travis-ci.org/Mckenziearts/laravel-oauth
163163
[link-styleci]: https://styleci.io/repos/139203549
164164
[link-author]: https://github.com/mckenziearts
165165
[link-contributors]: ../../contributors]

0 commit comments

Comments
 (0)