{"id":22725106,"url":"https://github.com/katmore/flat-webapp","last_synced_at":"2025-03-29T23:22:37.156Z","repository":{"id":57004753,"uuid":"68967179","full_name":"katmore/flat-webapp","owner":"katmore","description":"the boilerplate flat web package","archived":false,"fork":false,"pushed_at":"2017-03-29T00:42:19.000Z","size":80,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T00:44:19.086Z","etag":null,"topics":[],"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/katmore.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":"2016-09-22T22:27:57.000Z","updated_at":"2017-03-21T07:14:33.000Z","dependencies_parsed_at":"2022-08-21T14:11:00.943Z","dependency_job_id":null,"html_url":"https://github.com/katmore/flat-webapp","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katmore%2Fflat-webapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katmore%2Fflat-webapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katmore%2Fflat-webapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katmore%2Fflat-webapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/katmore","download_url":"https://codeload.github.com/katmore/flat-webapp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246256128,"owners_count":20748197,"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-12-10T15:08:51.629Z","updated_at":"2025-03-29T23:22:37.135Z","avatar_url":"https://github.com/katmore.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flat webapp\n**the boilerplate flat web package**\n\n## features\n * HTML templating\n * Front-End Routing (for the HTML template) \n * Back-End Routing (for the RESTful API webservice) \n \n## directory map\n * [/webapp/app/AppRoute/Api](https://github.com/katmore/flat-webapp/tree/master/app/AppRoute) \"Webservice Routing\": starting point of the **route map** used by the \"API\" *entry point controller*, i.e., from the URL http://example.com/webapp/web/api.php/*\n   * for example... \n      define a class `MyResource` defined in /webapp/app/AppRoute/Api/MyResource.php (using namespace `\\AppRoute\\Api\\Resolve` in class definition)\n   * then...\n    visit the URL `http://example.com/webapp/web/api.php/MyResource`, and the `api.php` *entry point controller* will instantiate the class named \\AppRoute\\Api\\Resolve\\MyResource (from above example)\n * [/webapp/app/Resources/design/tmpl/view/](https://github.com/katmore/flat-webapp/tree/master/app/Resources/design/tmpl): \"HTML View Routing\": Starting point of the **route map** used by the \"View\" *entry-point controller*\n   * [/webapp/app/Resources/design/tmpl/view/home.php](https://github.com/katmore/flat-webapp/blob/master/app/Resources/design/tmpl/view/home.php) maps to URI http://example.com/webapp/web/view.php/home\n\n## Installation\nThe easiest way to get going is with a two-step process using *Composer* and *Bower*\n\n Step 1. Composer 'create-project'...\n\n```bash\ncomposer create-project katmore/flat-webapp my_project_dir\n```\n(copies this repo and configures php dependencies)\n\n Step 2. Bower update...\n```bash\ncd my_project_dir\nbower update\n```\n(installs static dependencies)\n\n### Copyright\nFlat webapp - https://github.com/katmore/flat-webapp\n\nCopyright (c) 2012-2017 Doug Bird. All Rights Reserved.\n\n\n### License\n\"Flat webapp\" is copyrighted free software.\n\nYou can redistribute it and/or modify it under either the terms and conditions of the\n\"[The MIT License (MIT)](https://github.com/katmore/flat-webapp/blob/master/LICENSE)\"; or the terms and conditions of the \"[GPL v3 License](https://github.com/katmore/flat-webapp/blob/master/GPLv3)\".\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatmore%2Fflat-webapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkatmore%2Fflat-webapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatmore%2Fflat-webapp/lists"}