-
Notifications
You must be signed in to change notification settings - Fork 736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated example for Laravel 8 and PHP 8? #26
Comments
Just tested deploying Laravel 8. Besides adding the different files (ones that aren't labelled as initial commit). Dockefile only needed to change nginx-fpm to 2.0.0. Eg.
Don't know how to submit pull requests so somebody please do that. Also, I wonder if you could have a separate repo that only contains the necessary files to add to a default laravel install, like the Docker files, scripts etc. Instead of cloning a old Laravel package. |
So all we need to do to update our app to PHP 8 is to update the Dockerfile to |
Yeap, top line from Dockerfile. Not sure if it'll work with Laravel 5.8 though, I'm using Laravel 8, now Laravel 9
Considering this isn't updated, and is listed on the official render docs on getting Laravel setup, I'd suggest keeping the docker files, scripts and have a bit about setting up force https as the package instead. That way it can be copied into existing Laravel apps. |
Could you explain step by step how to do the implementation with Laravel 9? |
Follow official Laravel guide and install Laravel 9. After installed, copy the In |
Thanks a lot |
@MeikyuuTrader, thanks for the info. That saved me some headache. I, however, made a small change to ensure new updates sync:
|
How do I install npm packages? |
As far as I've seen, you can add script files in the |
Can this example get updated for Laravel 8 and PHP 8?
richarvey/nginx-php-fpm 2.0.0 supports PHP 8.1.
The text was updated successfully, but these errors were encountered: