Awesome Open Source
Awesome Open Source

Laravel 5 / Angular example with JSON Web Token authentication

This is a basic Laravel 5 app that shows how to use the most basic JWT authentication.


This app is not meant to be used in Production environment.
It's a very basic example, that lacks any kind of input validation, handling of expired tokens, local storage fallback to cookies or any other storage.


  • Clone the repository (git clone [email protected]:ttkalec/laravel5-angular-jwt.git)
  • Use Laravel Homestead
  • SSH in to your Homestead Vagrant box
  • Run php composer install to install the dependencies (get composer here)
  • Run php artisan vendor:publish to publish JWT and CORS packages config files
  • Run php artisan migrate to migrate the database
  • Follow Jwt-auth and Laravel-cors in order to config your dependencies
Alternatives To Laravel5 Angular Jwt
Select To Compare

Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Php (287,647
Angular (54,867
Laravel (40,953
Authentication (26,891
Basic (10,721
Jwt (9,890
Cors (2,973
Jwt Authentication (2,021
Homestead (521