towoju5/kyc-form

a basic package for managing KYC data from customer.

dev-master 2023-06-17 20:35 UTC

This package is auto-updated.

Last update: 2024-12-17 23:49:15 UTC


README

Latest Version on Packagist Total Downloads GitHub Actions

This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.

Installation

You can install the package via composer:

composer require towoju5/kyc-form

Usage

      php artisan vendor:publish --provider="Towoju5\KycForm\KycFormServiceProvider"
      php  artisan migrate


      Route::get('/kyc/create', [KycVerificationController::class,  'create'])->name('kyc.create');
      Route::post('/kyc/store', [KycVerificationController::class,  'store'])->name('kyc.store');
      Route::group(['middleware' => config('kyc-form.middleware')], function () {
            Route::get('/kyc', [KycVerificationController::class, 'index'])->name('kyc.index');
            Route::post('/kyc/approve/{id}', [KycVerificationController::class, 'approve'])->name('kyc.approve');
            Route::delete('/kyc/reject/{id}', [KycVerificationController::class, 'reject'])->name('kyc.reject');
      });

Testing

      To setup middleware for routes. kindly go to config -> kyc-form.php

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email towojuads@gmail.com instead of using the issue tracker.

Credits

License

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

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.