{"id":15969668,"url":"https://github.com/benapetr/psf","last_synced_at":"2026-03-11T09:32:31.315Z","repository":{"id":31642265,"uuid":"35207506","full_name":"benapetr/psf","owner":"benapetr","description":"PHP simple framework - toolkit for html / js / css + many other various tools I often use on my projects","archived":false,"fork":false,"pushed_at":"2025-10-16T14:15:31.000Z","size":206,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-17T17:19:50.912Z","etag":null,"topics":["css","framework","html","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benapetr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2015-05-07T08:14:51.000Z","updated_at":"2025-10-16T14:15:35.000Z","dependencies_parsed_at":"2024-03-25T12:51:00.264Z","dependency_job_id":"60d4a2a9-847d-4f54-b18d-867a709b42ef","html_url":"https://github.com/benapetr/psf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/benapetr/psf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benapetr%2Fpsf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benapetr%2Fpsf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benapetr%2Fpsf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benapetr%2Fpsf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benapetr","download_url":"https://codeload.github.com/benapetr/psf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benapetr%2Fpsf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30377278,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T06:09:32.197Z","status":"ssl_error","status_checked_at":"2026-03-11T06:09:17.086Z","response_time":84,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["css","framework","html","php"],"created_at":"2024-10-07T19:41:00.053Z","updated_at":"2026-03-11T09:32:31.279Z","avatar_url":"https://github.com/benapetr.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PSF (PHP Simple Framework) Documentation\n\nPSF is a lightweight PHP framework that allows you to create full-featured HTML pages using purely object-oriented PHP code, without writing any HTML, CSS, or JavaScript directly. It's designed to make web development simpler and more maintainable by providing a clean, object-oriented interface to web page elements.\n\nSee wiki or docs for a complete documentation.\n\nPlease note that PSF is a work in progress and many features are missing now.\n\nExample code\n=============\n\n```\n\u003c?php\n# Example webpage created with psf\nrequire(\"psf/psf.php\");\n\n# Create a html page\n$wp = new HtmlPage(\"Example web page\");\n\n# Github link\n$wp-\u003eAppendObject(new GitHub_Ribbon(\"benapetr/psf/blob/master/examples/website\"));\n\n# Create a line of text\n$wp-\u003eAppendParagraph(\"This is an example web page\");\n\n# Create a html table\n$table = new HtmlTable();\n$table-\u003eHeaders = [ \"Sample\", \"header\" ];\n$table-\u003eAppendRow([ \"1\", \"2\" ]);\n\n# Insert it to web page\n$wp-\u003eAppendObject($table);\n\n#print it\n$wp-\u003ePrintHtml();\n```\n\nSee http://petr.insw.cz/devel/psf/psf/examples/website/ for result\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenapetr%2Fpsf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenapetr%2Fpsf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenapetr%2Fpsf/lists"}