Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
zerodahero committed Feb 23, 2021
1 parent 4046100 commit a5189c9
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,21 @@ Every check can be specified with options, for example:
]
```

Or with the fully explicit syntax:

```php
'production' => [
[
'check' => Database::class,
'options' => [
'connection' => 'db2'
]
],
]
```

If you need to repeat checks (for example, when using multiple database connections), you will need to use the full syntax.

## Available Checks

### Database
Expand Down Expand Up @@ -168,6 +183,10 @@ php artisan preflight:check -v
php-fpm
```

### Local Environment

The `preflight:check` command can also provide a concrete method of assuring all the appropriate environment configuration has taken place. This can be especially helpful when bringing on new developers, as simply running `php artisan preflight:check` can give them a good indication of what's left to setup/configure before their environment is live.

## Contributing

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
Expand Down

0 comments on commit a5189c9

Please sign in to comment.