{"id":19420490,"url":"https://github.com/zhukmax/twigpad","last_synced_at":"2026-05-15T11:05:45.377Z","repository":{"id":57091061,"uuid":"143864125","full_name":"ZhukMax/TwigPad","owner":"ZhukMax","description":"Lib for add symbols to start or end of string in Twig templates.","archived":false,"fork":false,"pushed_at":"2020-02-21T11:31:48.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-07T18:20:46.718Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ZhukMax.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":"2018-08-07T11:32:06.000Z","updated_at":"2020-02-21T11:31:03.000Z","dependencies_parsed_at":"2022-08-22T20:40:33.923Z","dependency_job_id":null,"html_url":"https://github.com/ZhukMax/TwigPad","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZhukMax%2FTwigPad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZhukMax%2FTwigPad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZhukMax%2FTwigPad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZhukMax%2FTwigPad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZhukMax","download_url":"https://codeload.github.com/ZhukMax/TwigPad/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240599196,"owners_count":19826959,"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-10T13:23:37.121Z","updated_at":"2026-05-15T11:05:45.320Z","avatar_url":"https://github.com/ZhukMax.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TwigPad\n[![Software License][ico-license]](license.md)\n[![Total Downloads][ico-downloads]][link-downloads]\n\nLib for add symbols to start or end of string in Twig templates.\n\n## Install\n```console\ncomposer require zhukmax/twigpad\n```\n\n## Usage\nBasic example:\n```php\n\u003c?php\n\nrequire_once 'vendor/autoload.php';\n\n$loader = new Twig_Loader_Array(array(\n    'index' =\u003e 'Hello {{ rightpad(name, 9, \"#\") }}',\n));\n\n$twig = new Twig_Environment($loader);\n$twig-\u003eaddExtension(new Zhukmax\\TwigPad\\TwigPad());\n\necho $twig-\u003erender('index', array('name' =\u003e 'Max'));\n// =\u003e Hello Max######\n```\n\n[ico-license]: https://img.shields.io/badge/license-Apache%202-brightgreen.svg\n[ico-downloads]: https://img.shields.io/packagist/dt/zhukmax/twigpad.svg\n[link-downloads]: https://packagist.org/packages/zhukmax/twigpad\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhukmax%2Ftwigpad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhukmax%2Ftwigpad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhukmax%2Ftwigpad/lists"}