Dries Vints 6f3aa7a4c5 Don't redirect for api calls
When calling api routes the Authenticate middleware attempts to redirect you to the login page. If you expect JSON back or don't have auth routes then you don't want this to happen. By re-using the logic from Laravel's exception handler on which format to output we can also determine wether to redirect the user to the login page or give them a JSON error response.
2018-10-12 15:40:15 +02:00
2018-10-12 15:40:15 +02:00
2018-09-28 13:52:26 -04:00
2018-08-31 13:53:27 +02:00
2018-10-05 18:13:18 +02:00
2018-09-12 20:59:35 +01:00
2018-09-03 00:14:17 +03:00
2018-03-13 13:38:47 -05:00
2017-03-25 12:02:22 -07:00
2017-05-07 09:56:20 -05:00
2018-09-18 12:48:09 -07:00
2018-08-22 14:13:25 -05:00
wip
2018-10-01 07:50:06 -05:00
2016-08-16 00:13:51 -04:00
2018-08-31 10:35:44 +01:00

Build Status Total Downloads Latest Stable Version License

About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as:

Laravel is accessible, yet powerful, providing tools needed for large, robust applications.

Learning Laravel

Laravel has the most extensive and thorough documentation and video tutorial library of any modern web application framework, making it a breeze to get started learning the framework.

If you're not in the mood to read, Laracasts contains over 1100 video tutorials on a range of topics including Laravel, modern PHP, unit testing, JavaScript, and more. Boost the skill level of yourself and your entire team by digging into our comprehensive video library.

Laravel Sponsors

We would like to extend our thanks to the following sponsors for helping fund on-going Laravel development. If you are interested in becoming a sponsor, please visit the Laravel Patreon page:

Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via taylor@laravel.com. All security vulnerabilities will be promptly addressed.

License

The Laravel framework is open-sourced software licensed under the MIT license.

Description
No description provided
Readme 14 MiB
Languages
Blade 59.5%
PHP 38.9%
Dockerfile 0.8%
CSS 0.3%
JavaScript 0.3%
Other 0.2%