Skip to content

Commit

Permalink
docs(README.md): change laravel 8 links to laravel 9
Browse files Browse the repository at this point in the history
  • Loading branch information
daveroverts committed Feb 12, 2022
1 parent f582f33 commit 425ad03
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ Connect Development Environment. Details can be found here: <https://github.com/

Before you begin, make sure you have a server with PHP 8.1 (recommended) or
PHP 8.0 to run everything on. For local development,
I use [Laravel Valet](https://laravel.com/docs/8.x/valet),
and before that I used [Laravel Homestead](https://laravel.com/docs/8.x/homestead).
I use [Laravel Valet](https://laravel.com/docs/9.x/valet),
and before that I used [Laravel Homestead](https://laravel.com/docs/9.x/homestead).

1. Clone the project

Expand Down Expand Up @@ -88,19 +88,19 @@ and before that I used [Laravel Homestead](https://laravel.com/docs/8.x/homestea
- `QUEUE_CONNECTION`
- For local, you can use `sync` with no issues
- In a production environment, I recommend you use something else,
like `database` or `redis`. More info can be found [here](https://laravel.com/docs/8.x/queues)
like `database` or `redis`. More info can be found [here](https://laravel.com/docs/9.x/queues)
- When you use `database`, the `jobs` table is already migrated,
no need to do that again.
- When you use `redis`, and can't use `phpredis` PHP extension,
`predis` is already in the `composer.json` file,
no need to require it again. You do need to add `REDIS_CLIENT=predis`.
See this link for more information about Redis and Laravel: <https://laravel.com/docs/8.x/redis#introduction>
See this link for more information about Redis and Laravel: <https://laravel.com/docs/9.x/redis#introduction>
- `MAIL_*`
- As required
- `MAIL_MAILER`: For testing, you can use something like
[Mailtrap](https://mailtrap.io/) (online) or
[Mailhog](https://github.com/mailhog/MailHog)
(local, included with [Laravel Homestead](https://laravel.com/docs/8.x/homestead))
(local, included with [Laravel Homestead](https://laravel.com/docs/9.x/homestead))
- `MAIL_FROM_ADDRESS`: This will be used as the `From` email.
Don't forget to set this.
- `MAIL_FROM_NAME`: This will be used as the `From` name
Expand Down Expand Up @@ -151,7 +151,7 @@ and before that I used [Laravel Homestead](https://laravel.com/docs/8.x/homestea
For local development,
you can run `php artisan schedule:work` in a separate terminal.

More info can be found here: <https://laravel.com/docs/8.x/scheduling#running-the-scheduler>
More info can be found here: <https://laravel.com/docs/9.x/scheduling#running-the-scheduler>

8. (Optional) If you want to include all airports in the database,
run the following command:
Expand All @@ -171,7 +171,7 @@ run the following command:

If you're not using `sync` as `QUEUE_CONNECTION`, you need to run a queue worker,
or else things like emails aren't being sent.
Check Laravel documentation on how to set one up using Supervisor <https://laravel.com/docs/8.x/queues#supervisor-configuration>
Check Laravel documentation on how to set one up using Supervisor <https://laravel.com/docs/9.x/queues#supervisor-configuration>

When you're using `redis` as `QUEUE_CONNECTION`, [Laravel Horizon](https://laravel.com/docs/8.x/horizon)
When you're using `redis` as `QUEUE_CONNECTION`, [Laravel Horizon](https://laravel.com/docs/9.x/horizon)
is already installed and can be used to start a queue worker.

0 comments on commit 425ad03

Please sign in to comment.