{"id":20672472,"url":"https://github.com/robinn1/php-ui-kit","last_synced_at":"2025-08-02T12:03:52.518Z","repository":{"id":40893211,"uuid":"455687261","full_name":"RobiNN1/PHP-UI-Kit","owner":"RobiNN1","description":"A toolkit for developing universal web interfaces with support for multiple CSS frameworks.","archived":false,"fork":false,"pushed_at":"2024-12-02T21:52:03.000Z","size":2556,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T05:03:51.020Z","etag":null,"topics":["bootstrap","css","fomantic-ui","framework","kit","php","php-ui-kit","semantic-ui","templating","twig","ui","uikit"],"latest_commit_sha":null,"homepage":"","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/RobiNN1.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":"2022-02-04T20:28:33.000Z","updated_at":"2025-02-17T17:17:39.000Z","dependencies_parsed_at":"2023-02-14T12:15:42.188Z","dependency_job_id":"3af47ca6-51dc-4831-8ef2-2178ff9c34eb","html_url":"https://github.com/RobiNN1/PHP-UI-Kit","commit_stats":{"total_commits":396,"total_committers":2,"mean_commits":198.0,"dds":0.002525252525252486,"last_synced_commit":"2a1bac7984ea359b297253219af39e5637a190b3"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobiNN1%2FPHP-UI-Kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobiNN1%2FPHP-UI-Kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobiNN1%2FPHP-UI-Kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobiNN1%2FPHP-UI-Kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RobiNN1","download_url":"https://codeload.github.com/RobiNN1/PHP-UI-Kit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249773073,"owners_count":21323388,"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":["bootstrap","css","fomantic-ui","framework","kit","php","php-ui-kit","semantic-ui","templating","twig","ui","uikit"],"created_at":"2024-11-16T20:37:41.818Z","updated_at":"2025-04-19T19:10:17.693Z","avatar_url":"https://github.com/RobiNN1.png","language":"PHP","readme":"# PHP UI Kit\n\nA toolkit for developing universal web interfaces with support for multiple CSS frameworks.\n\n![Visitor Badge](https://visitor-badge.laobi.icu/badge?page_id=RobiNN1.PHP-UI-Kit)\n\n## Installation\n\n```\ncomposer require robinn/uikit\n```\n\n## Basic Usage\n\nPrint everything with echo.\n\n```php\nob_start();\n\necho 'HTML code';\necho alert('Default');\n\necho layout(ob_get_clean(), [\n    'title' =\u003e 'Site title',\n]);\n```\n\nIt is also possible to call components in a template:\n\n```php\n$html = get_ui()\n    -\u003eaddPath(__DIR__.'/templates') // Path to dir with custom templates\n    -\u003erender('page'); // page.twig in templates/ dir\n\necho layout($html, [\n    'title' =\u003e 'Site title',\n]);\n```\n\n`page.twig`\n\n```twig\nHTML code\n{{ alert('Default') }}\n```\n\nThere are multiple syntaxes available. It's up to you which one you choose.\n\n\u003e Note: no need to use `layout()`, you can use your own logic as well.\n\n## Requirements\n\n- PHP \u003e= 8.2\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobinn1%2Fphp-ui-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobinn1%2Fphp-ui-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobinn1%2Fphp-ui-kit/lists"}