From c5685d7072f7a22e5b21f65f505b1c0c616db7d3 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 2 Sep 2025 19:56:08 +0000 Subject: [PATCH] Prepare package for Packagist release with installation instructions Co-authored-by: anwarx4u --- README.md | 8 +++++++- composer.json | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0840397..00b3c96 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,10 @@ Multi Factor Authentication CodingLibs Laravel MFA Installation -- Require in your Laravel 12 app composer.json or via path repository. +- Install via Composer from Packagist: +``` +composer require codinglibs/laravel-mfa +``` - The service provider auto-registers. Publish config and migrations: ``` php artisan vendor:publish --tag=mfa-config @@ -11,6 +14,9 @@ php artisan vendor:publish --tag=mfa-migrations php artisan migrate ``` +Packagist +- `https://packagist.org/packages/codinglibs/laravel-mfa` + Usage ```php use CodingLibs\MFA\Facades\MFA; diff --git a/composer.json b/composer.json index 48d0869..538062f 100644 --- a/composer.json +++ b/composer.json @@ -40,5 +40,7 @@ }, "minimum-stability": "stable", "prefer-stable": true + , + "version": "1.0.0" }