lomi525/form-redirect

There is no license information available for the latest version (v1.0.10) of this package.

form redirect (post redirect)

v1.0.10 2017-03-02 07:29 UTC

This package is not auto-updated.

Last update: 2024-05-11 03:31:14 UTC


README

Lomi525 Laravel Form Redirect Package

Installation

composer.json repositories setting

{
    "type": "vcs",
    "url":  "https://github.com/lomi525/form-redirect.git"
}

Install using composer:

composer require lomi525/form-redirect

Laravel (optional)

Add the service provider in app/config/app.php:

Lomi525\FormRedirect\FormRedirectServiceProvider::class,

And add the Auth alias to app/config/app.php:

'Auth' => Lomi525\FormRedirect\Facades\UserAuth::class,

Basic Usage

Start by creating an Auth instance (or use the Auth Facade if you are using Laravel):

use Lomi525\FormRedirect\FormRedirector;

$redirector = new FormRedirector();