Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mpyw authored Nov 21, 2023
1 parent 55fc223 commit 3265ecf
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ composer require mpyw/laravel-database-advisory-lock:^4.3

## Basic usage

The default implementation is provided by `ConnectionServiceProvider`, however, **package discovery is not available**.
Be careful that you MUST register it in **`config/app.php`** by yourself.
> [!IMPORTANT]
> The default implementation is provided by `ConnectionServiceProvider`, however, **package discovery is not available**.
> Be careful that you MUST register it in **`config/app.php`** by yourself.
```php
<?php
Expand Down Expand Up @@ -81,7 +82,8 @@ $result = DB::transaction(function (ConnectionInterface $conn) {

## Advanced Usage

You can extend Connection classes with `AdvisoryLocks` trait by yourself.
> [!TIP]
> You can extend Connection classes with `AdvisoryLocks` trait by yourself.
```php
<?php
Expand Down

0 comments on commit 3265ecf

Please sign in to comment.