Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue authored Mar 8, 2022
1 parent 3b344cf commit 23740fc
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,13 @@ Related projects:
## Installing

```shell
$ composer require overtrue/laravel-follow -vvv
composer require overtrue/laravel-follow -vvv
```

### Configuration
### Configuration and Migrations

This step is optional

```php
$ php artisan vendor:publish --provider="Overtrue\\LaravelFollow\\FollowServiceProvider" --tag=config
```

### Migrations

This step is also optional, if you want to custom the pivot table, you can publish the migration files:

```php
$ php artisan vendor:publish --provider="Overtrue\\LaravelFollow\\FollowServiceProvider" --tag=migrations
```shell
php artisan vendor:publish
```

## Usage
Expand Down

0 comments on commit 23740fc

Please sign in to comment.