Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Start a free Courses trial
to watch this video
What good is a registration system without a way for the user to log in. We'll be using some additional packages for building a JWT and storing environmental variables.
Check out this course if you want to know more about Dependency Management with Composer
Packages
- PHP JWT by Firebase: a simple library to encode and decode JSON Web Tokens (JWT) in PHP, conforming to RFC 7519.
- PHP dotenv: Loads environment variables from .env to getenv(), $_ENV and $_SERVER automagically.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up