edgrosvenor/tupleauth

This package is abandoned and no longer maintained. No replacement package was suggested.

Replacement for default Laravel auth routes

0.1.3 2019-10-12 03:01 UTC

This package is auto-updated.

Last update: 2020-10-23 02:50:04 UTC


README

Latest Version on Packagist StyleCI ChipperCI

I am a big fan of Freek Van der Herten's approach to A better way to register routes in Laravel and Simplifying controllers.

But if you follow his advice your auth routes will break. This is because they rely on that namespace in the routes service provider.

You could just manually add all the auth routes by hand to your web.php file. Or you can just type

composer require edgrosvenor/tupleauth

and delete Routes::auth() from your routes/web.php file.

That's it. No scripts to run. Nothing to add to any service provider. Just set it and forget it.

Installation

You can install the package via composer:

composer require edgrosvenor/tupleauth

Usage

Follow Freek's instructions in the articles above. Then delete Routes::auth() from routes/web.php.

Credits

License

The MIT License (MIT). Please see License File for more information.