{"id":22081759,"url":"https://github.com/fieg/statistico-bundle","last_synced_at":"2025-10-17T04:18:52.588Z","repository":{"id":18240956,"uuid":"21388804","full_name":"fieg/statistico-bundle","owner":"fieg","description":"Wrapper bundle for the Statistico library.","archived":false,"fork":false,"pushed_at":"2020-11-02T16:34:47.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T04:35:00.414Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fieg.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":"2014-07-01T13:33:35.000Z","updated_at":"2020-11-02T16:33:56.000Z","dependencies_parsed_at":"2022-08-04T23:30:29.200Z","dependency_job_id":null,"html_url":"https://github.com/fieg/statistico-bundle","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fieg%2Fstatistico-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fieg%2Fstatistico-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fieg%2Fstatistico-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fieg%2Fstatistico-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fieg","download_url":"https://codeload.github.com/fieg/statistico-bundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245168912,"owners_count":20571804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-11-30T23:25:18.715Z","updated_at":"2025-10-17T04:18:52.522Z","avatar_url":"https://github.com/fieg.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StatisticoBundle\n\nWrapper bundle for the [Statistico](https://github.com/fieg/statistico) library.\n\n[![Build Status](https://travis-ci.org/fieg/statistico-bundle.svg?branch=master)](https://travis-ci.org/fieg/statistico-bundle)\n[![Code Coverage](https://scrutinizer-ci.com/g/fieg/statistico-bundle/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/fieg/statistico-bundle/)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/fieg/statistico-bundle/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/fieg/statistico-bundle/)\n\n## Installation\n\nUsing composer:\n\n```sh\ncomposer require fieg/statistico-bundle:dev-master\n```\n\nAdd to `AppKernel.php`:\n\n```php\n$bundles = [\n  new Fieg\\StatisticoBundle\\FiegStatisticoBundle(),\n];\n```\n\nConfiguration in `app/config/config.yml`:\n\n```yaml\nfieg_statistico:\n  driver:\n    redis:\n      client: 'your_redis_service'\n```\n\n## Usage\n\nInject statistico into some service:\n\n```yaml\nsome_service:\n    class: Acme\\SomeService\n    arguments: [@statistico]\n```\n\nUsage:\n\n```php\nnamespace Acme;\n\nclass SomeService\n{\n    public function __construct(Statistico $statistico)\n    {\n        $this-\u003estatistico = $statistico;\n    }\n    \n    public function someAction()\n    {\n        $this-\u003estatistico-\u003eincrement('some.statistic.indentitier');  // increases the statistic with 1\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffieg%2Fstatistico-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffieg%2Fstatistico-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffieg%2Fstatistico-bundle/lists"}