{"id":27162174,"url":"https://github.com/consoletvs/links","last_synced_at":"2026-02-28T12:02:28.299Z","repository":{"id":56957470,"uuid":"72780598","full_name":"ConsoleTVs/Links","owner":"ConsoleTVs","description":"Links statistics \u0026 link tracking for laravel 5, It tracks down browsers, operating systems, languages and more","archived":false,"fork":false,"pushed_at":"2020-08-26T08:56:32.000Z","size":28,"stargazers_count":49,"open_issues_count":2,"forks_count":11,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-11-17T03:03:09.623Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://erik.cat","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ConsoleTVs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-11-03T19:42:48.000Z","updated_at":"2024-07-22T14:40:16.000Z","dependencies_parsed_at":"2022-08-21T08:50:43.443Z","dependency_job_id":null,"html_url":"https://github.com/ConsoleTVs/Links","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/ConsoleTVs/Links","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConsoleTVs%2FLinks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConsoleTVs%2FLinks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConsoleTVs%2FLinks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConsoleTVs%2FLinks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ConsoleTVs","download_url":"https://codeload.github.com/ConsoleTVs/Links/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConsoleTVs%2FLinks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29933021,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T09:58:13.507Z","status":"ssl_error","status_checked_at":"2026-02-28T09:57:57.047Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-09T00:59:43.300Z","updated_at":"2026-02-28T12:02:28.273Z","avatar_url":"https://github.com/ConsoleTVs.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Links\n### Links statistics for laravel 5\n\n[![StyleCI](https://styleci.io/repos/72780598/shield?branch=master)](https://styleci.io/repos/72780598)\n![StyleCI](https://img.shields.io/badge/Built_for-Laravel-green.svg?style=flat-square)\n![StyleCI](https://img.shields.io/github/license/consoletvs/links.svg?style=flat-square)\n\n\n![Links Logo](http://i.imgur.com/tWlribC.png)\n\n![Sample 1](https://i.gyazo.com/7ec31509b21f392ff93b1b4339a001c9.png)\n\n![Sample 2](https://i.gyazo.com/faa9a5b99a816d366348a6f85826602b.png)\n\n![Sample 3](https://i.gyazo.com/51d0f03789670f7d31cc4cceead62ab5.png)\n\n![Sample 4](https://i.gyazo.com/fbdc7fdc83ca27cf3818ad2c4479f893.png)\n\n## Table Of Contents\n\n-   [Installation](#installation)\n-   [Configuration](#configuration)\n-   [Usage](#usage)\n\n# Installation\n\nTo install charts use composer\n\n### Download\n\n```\ncomposer require consoletvs/links\n```\n\n### Add service provider \u0026 alias\n\nAdd the following service provider to the array in: ```config/app.php```\n\n```php\nConsoleTVs\\Links\\LinksServiceProvider::class,\n```\n\nAdd the following alias to the array in: ```config/app.php```\n\n```php\n'Links' =\u003e ConsoleTVs\\Links\\Facades\\Links::class,\n```\n### Publish the assets\n\n```\nphp artisan vendor:publish\n```\n\n### Migrate\n\n```\nphp artisan migrate\n```\n# Configuration\n\n## Default Settings\n\nThe file in: ```config/links.php``` contains an array of settings, you can find the default settings in there.\n\n```php\n\u003c?php\n\nreturn [\n    /* Middleware that will be applied to the statistic pages */\n    'middleware' =\u003e ConsoleTVs\\Links\\Middleware\\LinksMiddleware::class,\n\n    /* Password to use if ConsoleTVs\\Links\\Middleware\\LinksMiddleware is beeing used */\n    'password' =\u003e 'LinksRocks',\n\n    /* The views layout */\n    'layout' =\u003e 'links::template',\n\n    /* The route prefix, will be applied to all of the routes. */\n    'prefix' =\u003e 'links',\n];\n```\n\nYou should now modify the password if you're willing to use the default middleware.\n\n\n### The Middleware\n\nThe middleware is applied to the statistics page, this middleware can be changed and you're able to apply your own access rules.\n\n*Default:* ```ConsoleTVs\\Links\\Middleware\\LinksMiddleware::class```\n\nThe default middleware requires a simple password to login.\n\n### The Password (Only with the default middleware)\n\nThe password needs to be set if you are using the default middleware. This will allow you to login.\n\n*Default:* ```LinksRocks```\n\n### The Layout\n\nThe layout can be changed, but the current pages are designed using **Bootstrap 4** keep that in mind.\n\n*Default:* ```links::template```\n\n### The prefix\n\nThe prefix will be used in all of the routes. It determines the root of all the routes of the package.\n\n*Default:* ```links```\n\n# Usage\n\n## Create Links\n\nTo create links, go in the view where you want to add a traked link and instead of using the typical url operations:\n\n```php\n{{ url('http://google.com') }}\n{{ route('google') }}\n```\n\nUse the package facade:\n\n```php\n{{ Links::url('http://google.com') }}\n{{ Links::route('google') }}\n```\n\n## Track Pages\n\nif you want to track down the current page, simply do this:\n\n**Note:** It uses jQuery!\n\n```php\n// If jQuery .js is already included and you don't want conflits:\n{!! Links::track() !!}\n\n// If jQuery .js is not included in your view, this will also add it.\n{!! Links::track(true) !!}\n```\n\n**Quick tip:** Adding the track to the views layout will track all pages using that layout once visited!\n\n## View the statistics\n\nTo view all the links statistics go to the root of the package (the prefix).\nThe default prefix is: ```links```.\n\nOnce you are inside the links app. You'll need to login if you're using the default mdiddleware.\nThe default password is: ```LinksRocks```\n\nOnce you're in the web app, you're ready to explore the statistics.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconsoletvs%2Flinks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconsoletvs%2Flinks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconsoletvs%2Flinks/lists"}