Package Data | |
---|---|
Maintainer Username: | gabber12 |
Maintainer Contact: | shubham.sha12@gmail.com (Shubham Sharma) |
Package Create Date: | 2017-02-16 |
Package Last Update: | 2017-02-17 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2025-02-05 15:04:24 |
Package Statistics | |
---|---|
Total Downloads: | 7 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 2 |
To install Laratracker use composer
composer require gabber12/Laratracker
Add the following service provider to the array in: config/app.php
Laratracker\Links\TrackingServiceProvider::class,
Add the following alias to the array in: config/app.php
'Tracker' => Laratracker\Links\Facades\Tracker::class,
php artisan vendor:publish
php artisan migrate
To create links, go in the view where you want to add a traked link and instead of using the typical url operations:
{{ url('http://google.com') }}
{{ route('google') }}
Use the package facade:
{{ Tracker::url('http://google.com') }}
{{ Tracker::route('google') }}