alive2212/laravel-user-traffic is a Laravel package for :description.
It currently has 1 GitHub stars and 30 downloads on Packagist (latest version v1.0.1).
Install it with composer require alive2212/laravel-user-traffic.
Discover more Laravel packages by alive2212
or browse all Laravel packages to compare alternatives.
Last updated
This is where your description should go. Take a look at contributing.md to see a to do list.
Via Composer
$ composer require alive2212/laravelusertraffic
after install use 'MetaTrait' in user model
use Illuminate\Database\Eloquent\Model;
use Phoenix\EloquentMeta\MetaTrait;
class SomeModel extends Model
{
use MetaTrait;
// model methods
}
after use 'auth:api' use this middleware 'user_traffic'
To get last and current and count of traffic
$request['user_traffic'];
Please see the changelog for more information on what has changed recently.
$ composer test
Please see contributing.md for details and a todolist.
If you discover any security related issues, please email author email instead of using the issue tracker.
license. Please see the license file for more information.