{"id":19052435,"url":"https://github.com/sitetheory/profilerstoragebundle","last_synced_at":"2025-04-24T02:41:19.497Z","repository":{"id":57052071,"uuid":"90670142","full_name":"Sitetheory/ProfilerStorageBundle","owner":"Sitetheory","description":"Profiler Storage Bundle for Symfony 2.8+","archived":false,"fork":false,"pushed_at":"2020-10-16T17:33:02.000Z","size":69,"stargazers_count":4,"open_issues_count":1,"forks_count":4,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-16T18:54:08.083Z","etag":null,"topics":["bundle","composer","mongodb","mysql","pdo","pdo-mysql","php","profiler","profiler-storage","storage","storage-bundle","symfony"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/Sitetheory.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-08T20:34:56.000Z","updated_at":"2020-10-16T15:34:25.000Z","dependencies_parsed_at":"2022-08-24T03:41:08.882Z","dependency_job_id":null,"html_url":"https://github.com/Sitetheory/ProfilerStorageBundle","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sitetheory%2FProfilerStorageBundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sitetheory%2FProfilerStorageBundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sitetheory%2FProfilerStorageBundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sitetheory%2FProfilerStorageBundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sitetheory","download_url":"https://codeload.github.com/Sitetheory/ProfilerStorageBundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250550284,"owners_count":21449014,"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":["bundle","composer","mongodb","mysql","pdo","pdo-mysql","php","profiler","profiler-storage","storage","storage-bundle","symfony"],"created_at":"2024-11-08T23:26:23.896Z","updated_at":"2025-04-24T02:41:19.440Z","avatar_url":"https://github.com/Sitetheory.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ProfilerStorageBundle [![License](https://poser.pugx.org/sitetheory/profiler-storage-bundle/license)](https://packagist.org/packages/sitetheory/profiler-storage-bundle)\nSitetheory Profiler Storage Bundle for Symfony 2.8+\n\n## Package Information\n[![Latest Stable Version](https://poser.pugx.org/sitetheory/profiler-storage-bundle/version)](https://packagist.org/packages/sitetheory/profiler-storage-bundle)\n[![Latest Unstable Version](https://poser.pugx.org/sitetheory/profiler-storage-bundle/v/unstable)](//packagist.org/packages/sitetheory/profiler-storage-bundle)\n[![Total Downloads](https://poser.pugx.org/sitetheory/profiler-storage-bundle/downloads)](https://packagist.org/packages/sitetheory/profiler-storage-bundle)\n\n## Code Inspection\n\n### Travis CI\n\n[![Build Status](https://travis-ci.com/Sitetheory/ProfilerStorageBundle.svg?branch=master)](https://travis-ci.com/Sitetheory/ProfilerStorageBundle)\n\n### Scrutinizer\n\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/Sitetheory/ProfilerStorageBundle/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/Sitetheory/ProfilerStorageBundle/?branch=master)\n[![Code Coverage](https://scrutinizer-ci.com/g/Sitetheory/ProfilerStorageBundle/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/Sitetheory/ProfilerStorageBundle/?branch=master)\n[![Build Status](https://scrutinizer-ci.com/g/Sitetheory/ProfilerStorageBundle/badges/build.png?b=master)](https://scrutinizer-ci.com/g/Sitetheory/ProfilerStorageBundle/build-status/master)\n[![Code Intelligence Status](https://scrutinizer-ci.com/g/Sitetheory/ProfilerStorageBundle/badges/code-intelligence.svg?b=master)](https://scrutinizer-ci.com/code-intelligence)\n\n# Overview\nWe'll be maintaining the following Profiler Bindings for the foreseeable future:\n\n- MemCache\n- MongoDB\n- MySQL\n- PDO\n- Redis\n- SQLite\n\n# Installation\n\n## Composer\nAdd this bundle to your Composer Package and follow the configuration below.\n\n```bash\ncomposer require sitetheory/profiler-storage-bundle\n```\n\nIf you are using MongoDB, you will also need to add the MongoDB Driver.  Instructions are available in the official repository: [github.com/mongodb/mongo-php-library](https://github.com/mongodb/mongo-php-library).\n\n## Configuration\nEnable the Bundle:\n\n```php\n\u003c?php\n// app/AppKernel.php\n\n// ...\nclass AppKernel extends Kernel\n{\n    public function registerBundles()\n    {\n        $bundles = array(\n            // ...\n\n            new Sitetheory\\Bundle\\ProfilerStorageBundle\\SitetheoryProfilerStorageBundle()\n        );\n\n        // ...\n    }\n\n    // ...\n}\n```\n\nAdd the following to your `config.yml` to control the location for Profiler Storage:\n\n### Mongo\n\n```yaml\nsitetheory_profiler_storage:\n    profiler:\n        defaultStorage: false\n        class: Sitetheory\\Bundle\\ProfilerStorageBundle\\Profiler\\MongoDbProfilerStorage\n        dsn: \"mongodb://%user%:%password%@%host%:%port%/%name%/profiler\"\n        ttl: 3600\n```\n\n### MySQL\n\n```yaml\nsitetheory_profiler_storage:\n    profiler:\n        defaultStorage: false\n        class: Sitetheory\\Bundle\\ProfilerStorageBundle\\Profiler\\MysqlProfilerStorage\n        dsn: \"mysql:host=%host%;port=%port%;dbname=%name%\"\n        username: \"%user%\"\n        password: \"%password%\"\n        ttl: 3600\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsitetheory%2Fprofilerstoragebundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsitetheory%2Fprofilerstoragebundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsitetheory%2Fprofilerstoragebundle/lists"}