LaravelPackages.net
Acme Inc.
Toggle sidebar
wffranco/laravel-helpers

Some helpers for Laravel 5.*

39
0
v1.0.1
About wffranco/laravel-helpers

wffranco/laravel-helpers is a Laravel package for some helpers for laravel 5.*. It currently has 0 GitHub stars and 39 downloads on Packagist (latest version v1.0.1). Install it with composer require wffranco/laravel-helpers. Discover more Laravel packages by wffranco or browse all Laravel packages to compare alternatives.

Last updated

Package that contains some helpers for Laravel 5.*

Installation

This package is easy to set up. Just follow a couple of steps.

Composer

Pull this package in through Composer (file composer.json).

{
    "require": {
        "wffranco/laravel-helpers": "~1.0"
    }
}

Cors

If you need to use cross origin, here provides a solution.

Service Provider

Add the package to your application service providers in config/app.php file.

'providers' => [
    ...
    /**
     * Third Party Service Providers...
     */
    Wffranco\Helpers\ServiceProvider::class,
],

Config File

Publish the package config file to your application. Run these command inside your terminal.

php artisan vendor:publish --provider="Wffranco\Helpers\ServiceProvider" --tag=config

Change the configuration acording to your needs.

Cors Middleware

Finally, add the Cors middleware to your app\Http\Kernel.php file.

protected $middleware = [
    ...
    \Wffranco\Helpers\Http\Middleware\Cors::class,
];

Usage

Documentation not finished.

Star History Chart