Category: Laravel, PHP, git

Before you can use JetStream authentication, you’ll want to make sure that you have the latest versions of PHP, composer, and the laravel installer on your system. Make sure that you have the latest version of PHP installed.

Run the following command if you have composer installed globally: Verify that you have the latest version of composer.

The first option is to run the update command: If you check the version and it’s still not the latest version, you can uninstall and reinstall the global installer.

Next, build your assets with the following commands: Again, you can run the two commands as one if you don’t have any issues: Finally, run the migrations: Again, if you happen to receive an error that states that max key length is 1000 bytes, open up the AppServiceProvider from app/Providers/AppServiceProvider.php and add the following code to the boot() method: Some tables might have been added, so run: You should see everything populate properly.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Community Partners