wffranco / laravel-helpers
Some helpers for Laravel 5.*
Installs: 36
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/wffranco/laravel-helpers
Requires
- php: ^7.0
- laravel/framework: ^5.2
This package is not auto-updated.
Last update: 2025-10-09 16:28:21 UTC
README
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.