Using
How to use this package on your project?
you can use our package with 2 ways
Command Line
you can generate a full option API by just using this command
it will ask you about some components to build auth for you.
NOTE
if you select OTP to true you must inject some cols to your table like this schema
Extend Class
if you have a ready controller and you don't need to use our command just extend this controller from our class
and setting the __construct
like
and on your api.php route list add this line
when users
is the guard's name and other attr is the controller class
Last updated
Was this helpful?