{"id":25953582,"url":"https://github.com/tempestphp/view-for-laravel","last_synced_at":"2026-05-10T18:09:18.426Z","repository":{"id":279798909,"uuid":"939990895","full_name":"tempestphp/view-for-laravel","owner":"tempestphp","description":"Laravel support for tempest/view","archived":false,"fork":false,"pushed_at":"2025-02-27T18:58:16.000Z","size":18,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-27T19:14:03.231Z","etag":null,"topics":["engine","php","tempest","template"],"latest_commit_sha":null,"homepage":"https://tempestphp.com/view/","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/tempestphp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","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},"funding":{"github":"tempestphp","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"thanks_dev":null,"custom":null}},"created_at":"2025-02-27T12:46:18.000Z","updated_at":"2025-02-27T18:58:51.000Z","dependencies_parsed_at":"2025-02-27T19:14:10.327Z","dependency_job_id":"dec752f1-c051-4875-ab62-c8c9daeefd53","html_url":"https://github.com/tempestphp/view-for-laravel","commit_stats":null,"previous_names":["tempestphp/view-for-laravel"],"tags_count":0,"template":false,"template_full_name":"spatie/package-skeleton-laravel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tempestphp%2Fview-for-laravel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tempestphp%2Fview-for-laravel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tempestphp%2Fview-for-laravel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tempestphp%2Fview-for-laravel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tempestphp","download_url":"https://codeload.github.com/tempestphp/view-for-laravel/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241871490,"owners_count":20034476,"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":["engine","php","tempest","template"],"created_at":"2025-03-04T15:29:15.633Z","updated_at":"2026-05-10T18:09:18.374Z","avatar_url":"https://github.com/tempestphp.png","language":"PHP","funding_links":["https://github.com/sponsors/tempestphp"],"categories":[],"sub_categories":[],"readme":"\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://tempestphp.com\"\u003e\n    \u003cimg src=\".github/tempest-logo.svg\" width=\"100\" /\u003e\n  \u003c/a\u003e\n    \u003ch1 align=\"center\" \"\u003eLaravel support for tempest/view\u003c/h1\u003e\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n  Bringing \u003ca href=\"https://tempestphp.com/view\"\u003etempest/view\u003c/a\u003e to Laravel.\n  \u003cbr /\u003e\n  Read the \u003ca href=\"https://tempestphp.com/docs/framework/views/\"\u003edocumentation\u003c/a\u003e to get started.\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\u003cbr /\u003e\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require tempest/view-for-laravel\n```\n\n## Usage\n\nFrom any controller, simply return an instance of `\\Tempest\\ViewForLaravel\\TempestView`:\n\n```php\nuse Tempest\\ViewForLaravel\\GenericTempestView;\n\nfinal readonly class HomeController\n{\n    public function __invoke()\n    {\n        return new GenericTempestView(__DIR__ . '/Views/home.view.php');\n    }\n}\n```\n\n```html\n\u003c!-- home.view.php --\u003e\n\u003cx-layout\u003e\n    \u003ch1\u003eHello Laravel\u003c/h1\u003e\n\u003c/x-layout\u003e\n\n\u003c!-- x-layout.view.php --\u003e\n\u003cx-component name=\"x-layout\"\u003e\n    \u003chtml lang=\"en\"\u003e\n    \u003chead\u003e\n        \u003ctitle\u003eTempest View\u003c/title\u003e\n    \u003c/head\u003e\n    \u003cbody\u003e\n        \u003cx-slot /\u003e\n    \u003c/body\u003e\n    \u003c/html\u003e\n\u003c/x-component\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftempestphp%2Fview-for-laravel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftempestphp%2Fview-for-laravel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftempestphp%2Fview-for-laravel/lists"}