Download the PHP package digitalnode/magiclogin-inertia without Composer
On this page you can find all versions of the php package digitalnode/magiclogin-inertia. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download digitalnode/magiclogin-inertia
More information about digitalnode/magiclogin-inertia
Files in digitalnode/magiclogin-inertia
Package magiclogin-inertia
Short Description Integration of Magic Login in a Laravel + InertiaJS project
License MIT
Homepage https://github.com/digitalnodecom/magiclogin-inertia
Informations about the package magiclogin-inertia
magiclogin-inertia
magiclogin-inertia is a Laravel package that integrates magic.mk authentication with Laravel + Inertia.js projects. It simplifies the setup process, provides a ready-made controller, views, and migration, and allows seamless integration with your existing Laravel applications.
Features
- Easy integration of magic.mk authentication into Laravel + Inertia.js projects.
- Automatic setup of the User model and migration, controller, routes and Vue.js auth page.
Installation
You can install the package via Composer:
After the installation, run this command to install the needed files:
Once the installation finishes, make sure to run the migrations:
After the installation, the /magic-login route leads to the magic login page.
The User model "password" and "name" field are now nullable, a nullable "phone" field is also added.
A user that has logged in through magic auth (using their mail) can later add a password form the Change Password option in their profile settings.
Remember to add the project id (slug) and project api key from your magic.mk project to your .env:
Customization
Feel free to customize any of the files we install or change:
Contributing
Contributions are welcome! Please feel free to submit a Pull Request or open an Issue if you find a bug or have a feature request.
Credits
Author: Dushan Cimbaljevic Email: [email protected]
All versions of magiclogin-inertia with dependencies
illuminate/contracts Version ^10.0||^11.0
inertiajs/inertia-laravel Version *
spatie/laravel-package-tools Version ^1.16