Replies: 3 comments 1 reply
-
Ah damn, I didn't think of that. I've updated the readme: the default install instructions don't have that The package luckily also had a built in way to prevent misuse in other environments. |
Beta Was this translation helpful? Give feedback.
-
ps: in the doc you say Optionally, you can publish the config file with: but this is not an option. If you do not publish the config file, the package will be unable to auth the user. Came here to say this. Installed package but it wasn't logging any accounts in, published the config and it works fine. So yeah, not sure it's very optional! ;) (P.S - Thanks for releasing this! Was just about to make a similar thing for a specific site, then saw you'd released a package 😄 ) |
Beta Was this translation helpful? Give feedback.
-
I use Laravel 11 beta, You can also try re-running composer require with an explicit version constraint, e.g. "composer require spatie/laravel-login-link:*" to figure out if any version is installable, or "composer require spatie/laravel-login-link:^2.1" if you know which you need. ` |
Beta Was this translation helpful? Give feedback.
-
Hi !
The idea of the package is very good! And the fact that it can only be installed on
local
env too 👏In the README: We highly recommend only installing it as a dev dependency, so this code doesn't wind up in your production environment.
It works nicely in
local
env but when releasing in staging:The provided example with
@env
cannot work because the tag will still be parsed by Laravel... Any idea without requiring the package globally ?Beta Was this translation helpful? Give feedback.
All reactions