{"id":15529541,"url":"https://github.com/zonuexe/phrogramming","last_synced_at":"2025-07-19T13:36:43.935Z","repository":{"id":17352974,"uuid":"20124535","full_name":"zonuexe/phrogramming","owner":"zonuexe","description":"Programming interface for the template engine called PHP","archived":false,"fork":false,"pushed_at":"2014-11-02T13:17:24.000Z","size":256,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T18:43:24.818Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zonuexe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-24T07:36:33.000Z","updated_at":"2014-05-28T13:36:47.000Z","dependencies_parsed_at":"2022-09-24T15:32:51.998Z","dependency_job_id":null,"html_url":"https://github.com/zonuexe/phrogramming","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zonuexe/phrogramming","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonuexe%2Fphrogramming","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonuexe%2Fphrogramming/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonuexe%2Fphrogramming/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonuexe%2Fphrogramming/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zonuexe","download_url":"https://codeload.github.com/zonuexe/phrogramming/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonuexe%2Fphrogramming/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265942581,"owners_count":23853294,"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-10-02T11:19:04.510Z","updated_at":"2025-07-19T13:36:43.869Z","avatar_url":"https://github.com/zonuexe.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Phrogramming\n============\n\nProgramming interface for the template engine called PHP\n\n*NOTICE*\n--------\n\nThis library taints [global scope](http://php.net/language.variables.scope).\n\nRequires\n--------\n\n * PHP 5.4+\n\nSyntax\n------\n\n### If-Then-Else\n\n```php\n\u003c?php include __DIR__ . '../src/bootstrap.php'; ?\u003e\n\u003c!DOCTYPE html\u003e\n\u003ctitle\u003eboolean\u003c/title\u003e\n\u003c?php\n\necho $if( $true,       'foo', 'bar' ) . PHP_EOL;\n//=\u003e 'foo'\necho $if( $not($true), 'foo', 'bar' ) . PHP_EOL;\n//=\u003e 'bar'\necho $if( $and($true, $true), 'foo', 'bar' ) . PHP_EOL;\n//=\u003e 'foo'\n\necho $if( $Equals(10, 20), 'foo', 'bar' ) . PHP_EOL;\n//=\u003e 'foo'\necho $if( $isGratorThan(10, 20), 'foo', 'bar' ) . PHP_EOL;\n//=\u003e 'bar'\n```\n\nDemo\n----\n\n    $ cd ./examples\n\t$ php -S localhost:5656\n\nAnd open http://localhost:5656 in your browser.\n\nCopyright\n---------\n\n\u003e Phrogramming - Programming interface for the template engine called PHP\n\u003e Copyright (C) 2014 USAMI Kenta\n\u003e\n\u003e This program is free software: you can redistribute it and/or modify\n\u003e it under the terms of the GNU General Public License as published by\n\u003e the Free Software Foundation, either version 3 of the License, or\n\u003e (at your option) any later version.\n\u003e\n\u003e This program is distributed in the hope that it will be useful,\n\u003e but WITHOUT ANY WARRANTY; without even the implied warranty of\n\u003e MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n\u003e GNU General Public License for more details.\n\u003e\n\u003e You should have received a copy of the GNU General Public License\n\u003e along with this program.  If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzonuexe%2Fphrogramming","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzonuexe%2Fphrogramming","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzonuexe%2Fphrogramming/lists"}