{"id":22257128,"url":"https://github.com/borisklco/php-htmx.mvc-url.shortener","last_synced_at":"2026-05-06T20:36:15.451Z","repository":{"id":251097062,"uuid":"836360667","full_name":"BorisKlco/php-htmx.MVC-URL.shortener","owner":"BorisKlco","description":"custom MVC -  generating shorter URL links, QR codes, and storing statistics","archived":false,"fork":false,"pushed_at":"2024-08-18T14:17:16.000Z","size":300,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T13:11:21.461Z","etag":null,"topics":["htmx","mvc","php","sql"],"latest_commit_sha":null,"homepage":"https://url.tricksofthe.trade/","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/BorisKlco.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}},"created_at":"2024-07-31T17:21:13.000Z","updated_at":"2025-03-12T06:48:55.000Z","dependencies_parsed_at":"2024-08-18T15:27:58.839Z","dependency_job_id":"d78371e7-22a5-4369-9211-f023473eb33f","html_url":"https://github.com/BorisKlco/php-htmx.MVC-URL.shortener","commit_stats":null,"previous_names":["borisklco/php.short-link","borisklco/php-htmx.mvc-url.shortener"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BorisKlco/php-htmx.MVC-URL.shortener","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorisKlco%2Fphp-htmx.MVC-URL.shortener","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorisKlco%2Fphp-htmx.MVC-URL.shortener/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorisKlco%2Fphp-htmx.MVC-URL.shortener/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorisKlco%2Fphp-htmx.MVC-URL.shortener/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BorisKlco","download_url":"https://codeload.github.com/BorisKlco/php-htmx.MVC-URL.shortener/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorisKlco%2Fphp-htmx.MVC-URL.shortener/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32711548,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T19:35:05.142Z","status":"ssl_error","status_checked_at":"2026-05-06T19:35:03.996Z","response_time":117,"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":["htmx","mvc","php","sql"],"created_at":"2024-12-03T08:09:40.750Z","updated_at":"2026-05-06T20:36:15.433Z","avatar_url":"https://github.com/BorisKlco.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# php/htmx custom MVC and router\n\nThis project provides a site for generating shorter URL links, QR codes, and storing statistics such as clicks and visit times.\n\n- Routes are defined in `public/index.php`, with support for undefined routes resulting in a 404/error response.\n- The response sent to the client will include an HTTP status code and a view.\n- Responses can either send a partial update for HTMX swapping or render a full page linked by a template and view.\n- Controllers in `app/Controller/*` extend `Response.php`, defining the response with a status code and view.\n- `app/Helper.php` and `app/DB.php` handle database calls and custom functions for controllers.\n- `app/path.php` defines paths to directories/folders.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/BorisKlco/php.short-link/main/public/static/1.jpg\" style=\"width:100%\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/BorisKlco/php.short-link/main/public/static/2.jpg\" style=\"width:100%\" /\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborisklco%2Fphp-htmx.mvc-url.shortener","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborisklco%2Fphp-htmx.mvc-url.shortener","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborisklco%2Fphp-htmx.mvc-url.shortener/lists"}