{"id":23024464,"url":"https://github.com/thipages/quicktag","last_synced_at":"2025-11-05T03:03:51.179Z","repository":{"id":57068895,"uuid":"253223118","full_name":"thipages/quicktag","owner":"thipages","description":"Quick Html tags builder","archived":false,"fork":false,"pushed_at":"2020-07-30T07:23:19.000Z","size":48,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-09T16:36:37.771Z","etag":null,"topics":["html","php","quick","tag"],"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/thipages.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-04-05T11:53:12.000Z","updated_at":"2020-07-30T07:21:52.000Z","dependencies_parsed_at":"2022-08-24T10:20:41.063Z","dependency_job_id":null,"html_url":"https://github.com/thipages/quicktag","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/thipages%2Fquicktag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thipages%2Fquicktag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thipages%2Fquicktag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thipages%2Fquicktag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thipages","download_url":"https://codeload.github.com/thipages/quicktag/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246882883,"owners_count":20849330,"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":["html","php","quick","tag"],"created_at":"2024-12-15T13:18:48.728Z","updated_at":"2025-11-05T03:03:46.141Z","avatar_url":"https://github.com/thipages.png","language":"PHP","readme":"# quicktag\nQuick Html tags builder\n\n### Installation\n**composer** require thipages\\quicktag\n\n\n### Usage of QTag class\n#### Basic usage\nMaps are associative arrays mapping tags attributes\n```php\n    // *************\n    // CONTENT TAGS\n    // *************\n    QTag::tag ($tag, ...$map)($content) : String\n    QTag::tag ($tag, ...$map1)($content,$map2]) : String\n    // *************\n    // VOID TAGS\n    // *************\n    QTag::tag ($tag, ...$map):String\n```\n##### Examples\n```php\n$blue=['style'=\u003e'color:blue'];\n\n$html=QTag::tag('span',$blue)('Hello QTag');\n/* \u003cspan style=\"color:blue\"\u003eHello QTag\u003c/span\u003e */\n\n$html=QTag::tag('input', ['type'=\u003e'num','min'=\u003e2]);\n/* \u003cinput type=\"num\" min=\"2\" /\u003e */\n```\n\n\u003cdetails\u003e\n \u003csummary\u003eTemplating usage - Content tags\u003c/summary\u003e\n    \n ```php\n    QTag::tag ($tag, ...$map1)[($content, ...$map2, true)]n($content, ...$mapN) : String\n```\nExamples\n```php\n$blue=['style'=\u003e'color:blue'];\n\n$template=QTag::tag('span',$blue)('Hello QTag', true);\n$html=$template('...and more\");\n/* \u003cspan style=\"color:blue\"\u003eHello QTag...and more\u003c/span\u003e */\n```\n\u003c/details\u003e\n\n\n\u003cdetails\u003e\n \u003csummary\u003eTemplating usage - Void tags\u003c/summary\u003e\n    \n```php\n    QTag::tag ($tag, ...$map1, true)[(...$map2, true)]n(...$mapN) : String\n```\n##### Examples\n```php\n$blue=['style'=\u003e'color:blue'];\n$min=['min'=\u003e2];\n\n$template=QTag::tag('input',$blue, true);\n$html=$template($min);\n/* \u003cinput style=\"color:blue\" min=\"2\"/\u003e */\n```\n\u003c/details\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthipages%2Fquicktag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthipages%2Fquicktag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthipages%2Fquicktag/lists"}