{"id":19450890,"url":"https://github.com/morning-train/laravelreact","last_synced_at":"2025-09-02T08:35:51.979Z","repository":{"id":57019850,"uuid":"176520803","full_name":"Morning-Train/LaravelReact","owner":"Morning-Train","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-08T05:10:28.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-19T05:23:29.514Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Morning-Train.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2019-03-19T13:43:20.000Z","updated_at":"2022-10-31T06:27:20.000Z","dependencies_parsed_at":"2024-11-10T16:40:49.162Z","dependency_job_id":null,"html_url":"https://github.com/Morning-Train/LaravelReact","commit_stats":{"total_commits":24,"total_committers":3,"mean_commits":8.0,"dds":"0.41666666666666663","last_synced_commit":"c6755988ce7c69f6e68278a0c76181db5deb7c62"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/Morning-Train/LaravelReact","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Morning-Train%2FLaravelReact","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Morning-Train%2FLaravelReact/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Morning-Train%2FLaravelReact/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Morning-Train%2FLaravelReact/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Morning-Train","download_url":"https://codeload.github.com/Morning-Train/LaravelReact/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Morning-Train%2FLaravelReact/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273257044,"owners_count":25073528,"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","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-10T16:39:22.368Z","updated_at":"2025-09-02T08:35:51.916Z","avatar_url":"https://github.com/Morning-Train.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel React\nReact for Laravel\n\n## Install\n\nVia Composer\n\n``` bash\n$ composer require morningtrain/laravel-react\n```\n\n## Usage\n\n#### View\n\nIn your controller:\n``` php\nreturn view('your_view')-\u003ewith([\n    'component' =\u003e 'Welcome',\n    'props'     =\u003e [\n        'title' =\u003e 'From controller',\n    ],\n    'options'   =\u003e [],\n]);\n```\n\nAnd in your view:\n``` php\n@react()\n```\n\nOr straight from view:\n``` php\n@react([\n    'component' =\u003e 'Welcome',\n    'props' =\u003e [\n        'title' =\u003e 'From view',\n    ],\n    'options' =\u003e [],\n])\n```\n\n## Credits\n\n- [Morning Train](https://morningtrain.dk/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorning-train%2Flaravelreact","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorning-train%2Flaravelreact","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorning-train%2Flaravelreact/lists"}