By running the following command you'll add
lcobucci/jwt as a dependency to your project:
composer require lcobucci/jwt:^4.0@alpha
We'll be omitting the autoloader from the code samples to simplify the documentation.
In order to be able to use the classes provided by this library you're also required to include Composer's autoloader in your application: