{"id":16182530,"url":"https://github.com/lorenzo/pinky","last_synced_at":"2025-10-25T06:35:40.580Z","repository":{"id":16535772,"uuid":"80125201","full_name":"lorenzo/pinky","owner":"lorenzo","description":"A Foundation for Emails (Inky) template transpiler","archived":false,"fork":false,"pushed_at":"2023-07-31T13:38:05.000Z","size":46,"stargazers_count":281,"open_issues_count":2,"forks_count":16,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-01T10:18:18.292Z","etag":null,"topics":["email","foundation","inky","php"],"latest_commit_sha":null,"homepage":null,"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/lorenzo.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}},"created_at":"2017-01-26T15:09:34.000Z","updated_at":"2025-03-29T16:15:07.000Z","dependencies_parsed_at":"2024-06-18T12:25:52.156Z","dependency_job_id":null,"html_url":"https://github.com/lorenzo/pinky","commit_stats":{"total_commits":26,"total_committers":11,"mean_commits":"2.3636363636363638","dds":0.6923076923076923,"last_synced_commit":"e1b1bdb2c132b8a7ba32bca64d2443f646ddbd17"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lorenzo%2Fpinky","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lorenzo%2Fpinky/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lorenzo%2Fpinky/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lorenzo%2Fpinky/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lorenzo","download_url":"https://codeload.github.com/lorenzo/pinky/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247838444,"owners_count":21004580,"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":["email","foundation","inky","php"],"created_at":"2024-10-10T06:33:37.899Z","updated_at":"2025-10-25T06:35:35.524Z","avatar_url":"https://github.com/lorenzo.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pinky\n\nA PHP Transpiler for ([Inky](https://github.com/foundation/inky)), the templating language made for the Foundation for Email framework.\n\n## Installation\n\nYou can install this bundle using composer\n\n    composer require lorenzo/pinky\n\n## Usage and Examples\n\n### Basic Usage\n\n```php\n\u003c?php\nuse Pinky;\n\n$transpiled = Pinky\\transformFile('path/to/file.html');\n\n// $transpiled is an instance of DOMDocument\necho $transpiled-\u003esaveHTML();\n```\n\nYou can transpile strings directly:\n\n```php\n\u003c?php\nuse Pinky;\n\n$transpiled = Pinky\\transformString('\u003crow\u003eContents\u003c/row\u003e');\necho $transpiled-\u003esaveHTML();\n```\n\nAnd you can also transpile many files or strings in batch:\n\n```php\n\u003c?php\nuse Pinky;\n\n$files = [$path1, $path2, $path3];\n\n$transpiled = Pinky\\transformManyFiles($files);\nforeach ($transpiled as $result) {\n    echo $result-\u003esaveHTML();\n}\n```\n\n## License\nSee the [LICENSE](LICENSE) file for license info (it's the MIT license).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Florenzo%2Fpinky","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Florenzo%2Fpinky","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Florenzo%2Fpinky/lists"}