{"id":23340401,"url":"https://github.com/imclint21/photon","last_synced_at":"2025-04-09T23:52:22.931Z","repository":{"id":83565724,"uuid":"233290833","full_name":"imclint21/photon","owner":"imclint21","description":"Photon is a Lightweight PHP Framework.","archived":false,"fork":false,"pushed_at":"2020-01-12T21:33:12.000Z","size":75,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T23:52:20.272Z","etag":null,"topics":["framework","lightweight","lightweight-framework","lightweight-php-framework","mvc","mvc-framework","php","php-framework"],"latest_commit_sha":null,"homepage":"https://github.com/clintnetwork/photon","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/imclint21.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-01-11T20:11:23.000Z","updated_at":"2023-04-24T11:29:55.000Z","dependencies_parsed_at":"2023-07-07T22:47:26.023Z","dependency_job_id":null,"html_url":"https://github.com/imclint21/photon","commit_stats":null,"previous_names":["imclint21/photon"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imclint21%2Fphoton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imclint21%2Fphoton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imclint21%2Fphoton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imclint21%2Fphoton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imclint21","download_url":"https://codeload.github.com/imclint21/photon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248131454,"owners_count":21052819,"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":["framework","lightweight","lightweight-framework","lightweight-php-framework","mvc","mvc-framework","php","php-framework"],"created_at":"2024-12-21T04:29:20.093Z","updated_at":"2025-04-09T23:52:22.908Z","avatar_url":"https://github.com/imclint21.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Photon PHP Framework\n\nPhoton is a Lightweight PHP MVC Framework 💡\n\nHow to Ignite?\n---\n\nTo use `Photon` you only need to add theses lines into your index.php folder and create some folders.\n\n```php\nrequire_once(__DIR__ . \"/photon.php\");\n$photon = new Photon();\n$photon-\u003eignite();\n```\n\nReally Simple to Use\n---\n\nIf you want to try `Photon` you can easily download this [example](https://github.com/clintnetwork/photon/tree/master/example).\n\n```php\nclass Home \n{\n    public function index()\n    {\n        return view();\n    }\n\n    public function about()\n    {\n        Photon::$viewbag = \"This is the about page.\";\n        return view();\n    }\n\n    /**\n     * @route /privacy-policy\n     */\n    public function privacy()\n    {\n        return view();\n    }\n}\n```\n\nCredits\n---\n\nPhoton is powered by [Clint.Network](https://twitter.com/clint_network).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimclint21%2Fphoton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimclint21%2Fphoton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimclint21%2Fphoton/lists"}