{"id":19973957,"url":"https://github.com/marioblazek/caching-psrs-in-netgen-stack","last_synced_at":"2026-05-08T23:11:06.856Z","repository":{"id":41628548,"uuid":"269313204","full_name":"MarioBlazek/caching-psrs-in-netgen-stack","owner":"MarioBlazek","description":"This repository holds code for Netgen's internal workshop for using the caching PSR's","archived":false,"fork":false,"pushed_at":"2023-01-06T07:53:47.000Z","size":3777,"stargazers_count":1,"open_issues_count":20,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-12T09:32:07.623Z","etag":null,"topics":["ezplatform","php","psr-16","psr-6","symfony"],"latest_commit_sha":null,"homepage":"https://netgen.io/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MarioBlazek.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2020-06-04T09:15:36.000Z","updated_at":"2021-08-24T14:28:44.000Z","dependencies_parsed_at":"2023-02-05T16:15:42.618Z","dependency_job_id":null,"html_url":"https://github.com/MarioBlazek/caching-psrs-in-netgen-stack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarioBlazek%2Fcaching-psrs-in-netgen-stack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarioBlazek%2Fcaching-psrs-in-netgen-stack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarioBlazek%2Fcaching-psrs-in-netgen-stack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarioBlazek%2Fcaching-psrs-in-netgen-stack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MarioBlazek","download_url":"https://codeload.github.com/MarioBlazek/caching-psrs-in-netgen-stack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241406565,"owners_count":19958012,"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":["ezplatform","php","psr-16","psr-6","symfony"],"created_at":"2024-11-13T03:13:28.244Z","updated_at":"2025-11-26T23:04:54.524Z","avatar_url":"https://github.com/MarioBlazek.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PSR-6 and PSR-16 in Netgen stack\n\n## Description\n\n### PSR-6\n\nFor more info about PSR-6 please visit this [link](https://www.php-fig.org/psr/psr-6/).\n\n### PSR-16\n\nFor more info about PSR-16 please visit this [link](https://www.php-fig.org/psr/psr-16/).\n\n### Symfony and PSR's\n\nSymfony implement caching PSR's through the [Cache component](https://symfony.com/doc/current/components/cache.html). PSR-16 standard is supported via [adapters](https://symfony.com/doc/current/components/cache/psr6_psr16_adapters.html).\n\n### Redis\n\n1. Include `cache.redis.yml` configuration from `cache_pool`\n2. Replace `cache.app` with `cache.redis` in your service arguments\n3. Start local Redis server with:\n\n```bash\nredis-server /usr/local/etc/redis.conf\n```\n\n4. Test\n\n#### Redis commands\n\nUse `redis-cli` to enter the Redis server through command line.\n\nOnce you are inside the Redis you can use this commands: \n\n* `keys *` - to list all the available keys\n* `ttl key` - to display the time required for key to expire\n* `expire key 0` - explicitly expire the key\n* `del key` - delete the key from Redis\n\n## Install guide\n\nTo install this example do the following:\n* clone this repository\n* run `composer install`\n* create database `php bin/console doctrine:database:create`\n* install demo content `php bin/console ezplatform:install netgen-media`\n* install frontend dependecies `yarn install`\n* build dev assets `yarn build:dev`\n* run `symfony serve` to start Symfony server\n\n## Presentation\n\nPresentation is available in PDF format and can be accessed [here](PSR-6_and_PRS-16_caching.pdf).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarioblazek%2Fcaching-psrs-in-netgen-stack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarioblazek%2Fcaching-psrs-in-netgen-stack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarioblazek%2Fcaching-psrs-in-netgen-stack/lists"}