{"id":18960382,"url":"https://github.com/kint-php/kint-twig","last_synced_at":"2025-04-19T10:32:54.999Z","repository":{"id":21971685,"uuid":"94585148","full_name":"kint-php/kint-twig","owner":"kint-php","description":"Twig extension for Kint integration","archived":false,"fork":false,"pushed_at":"2025-04-13T12:29:37.000Z","size":114,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-13T13:29:33.264Z","etag":null,"topics":["debug","dev","developer-tools","kint","php","twig"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kint-php.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-06-16T22:18:13.000Z","updated_at":"2025-04-13T12:29:40.000Z","dependencies_parsed_at":"2024-06-19T00:22:52.633Z","dependency_job_id":"206cf03f-6c04-4c76-9d50-e610b4c69f5d","html_url":"https://github.com/kint-php/kint-twig","commit_stats":{"total_commits":23,"total_committers":1,"mean_commits":23.0,"dds":0.0,"last_synced_commit":"db7a0172b53017f3ca1740d7bfa1bb5f9aedb283"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kint-php%2Fkint-twig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kint-php%2Fkint-twig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kint-php%2Fkint-twig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kint-php%2Fkint-twig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kint-php","download_url":"https://codeload.github.com/kint-php/kint-twig/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248722170,"owners_count":21151211,"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":["debug","dev","developer-tools","kint","php","twig"],"created_at":"2024-11-08T14:06:19.584Z","updated_at":"2025-04-16T04:32:04.002Z","avatar_url":"https://github.com/kint-php.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kint-Twig\n\nA Twig extension providing the familiar Kint functionality for dumping data.\n\nNote that features like the mini-trace, variable name detection, and modifiers will not work from inside twig templates.\n\n## Usage\n\n```php\n$twig-\u003eaddExtension(new Kint\\Twig\\TwigExtension());\n```\n\n```twig\n{{ d(data, richMode, moreData, evenMoreData) }}\n\n{{ s(data, plainMode) }}\n```\n\nCustom function names dumpers:\n\n```php\n$ext = new Kint\\Twig\\TwigExtension();\n\n$aliases = $ext-\u003egetAliases();\n\n// Different alias for existing dumper\n$aliases['dump'] = $aliases['d'];\n\n// Custom dumper\n$text = new Kint\\Kint(new Kint\\Parser\\Parser(), new Kint\\Renderer\\TextRenderer());\n$text-\u003esetStatesFromStatics(Kint\\Kint::getStatics());\n\n$aliases['text'] = $text;\n\n$ext-\u003esetAliases($aliases);\n\n$twig-\u003eaddExtension($ext);\n```\n\n```twig\n{{ dump() }}\n{{ text() }}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkint-php%2Fkint-twig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkint-php%2Fkint-twig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkint-php%2Fkint-twig/lists"}