Download the PHP package consoletvs/links without Composer
On this page you can find all versions of the php package consoletvs/links. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package links
Links
Links statistics for laravel 5
Table Of Contents
- Installation
- Configuration
- Usage
Installation
To install charts use composer
Download
Add service provider & alias
Add the following service provider to the array in:
Add the following alias to the array in:
Publish the assets
Migrate
Configuration
Default Settings
The file in: contains an array of settings, you can find the default settings in there.
You should now modify the password if you're willing to use the default middleware.
The Middleware
The middleware is applied to the statistics page, this middleware can be changed and you're able to apply your own access rules.
Default:
The default middleware requires a simple password to login.
The Password (Only with the default middleware)
The password needs to be set if you are using the default middleware. This will allow you to login.
Default:
The Layout
The layout can be changed, but the current pages are designed using Bootstrap 4 keep that in mind.
Default:
The prefix
The prefix will be used in all of the routes. It determines the root of all the routes of the package.
Default:
Usage
Create Links
To create links, go in the view where you want to add a traked link and instead of using the typical url operations:
Use the package facade:
Track Pages
if you want to track down the current page, simply do this:
Note: It uses jQuery!
Quick tip: Adding the track to the views layout will track all pages using that layout once visited!
View the statistics
To view all the links statistics go to the root of the package (the prefix). The default prefix is: .
Once you are inside the links app. You'll need to login if you're using the default mdiddleware. The default password is:
Once you're in the web app, you're ready to explore the statistics.
All versions of links with dependencies
laravel/framework Version ^5.4
consoletvs/charts Version 2.*
consoletvs/identify Version 1.*