{"id":15019896,"url":"https://github.com/stichoza/laravel-coderunner","last_synced_at":"2026-04-02T18:37:41.606Z","repository":{"id":57059934,"uuid":"252311989","full_name":"Stichoza/laravel-coderunner","owner":"Stichoza","description":"▶️ Add Laravel support to CodeRunner (Tinker in CodeRunner)","archived":false,"fork":false,"pushed_at":"2023-08-04T01:12:25.000Z","size":32,"stargazers_count":12,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-31T03:31:42.751Z","etag":null,"topics":["coderunner","laravel","laravel-framework","laravel-tinker","tinker"],"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/Stichoza.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-01T23:49:23.000Z","updated_at":"2024-06-11T19:17:56.000Z","dependencies_parsed_at":"2024-09-22T10:10:33.216Z","dependency_job_id":null,"html_url":"https://github.com/Stichoza/laravel-coderunner","commit_stats":{"total_commits":47,"total_committers":2,"mean_commits":23.5,"dds":0.04255319148936165,"last_synced_commit":"3162f6dc83814abe363960f9db45f913236bde1f"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stichoza%2Flaravel-coderunner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stichoza%2Flaravel-coderunner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stichoza%2Flaravel-coderunner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stichoza%2Flaravel-coderunner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Stichoza","download_url":"https://codeload.github.com/Stichoza/laravel-coderunner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238016152,"owners_count":19402521,"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":["coderunner","laravel","laravel-framework","laravel-tinker","tinker"],"created_at":"2024-09-24T19:54:17.330Z","updated_at":"2025-10-24T18:30:17.902Z","avatar_url":"https://github.com/Stichoza.png","language":"PHP","funding_links":["https://paypal.me/stichoza"],"categories":[],"sub_categories":[],"readme":"# Laravel CodeRunner\n[![Latest Stable Version](https://img.shields.io/packagist/v/Stichoza/laravel-coderunner.svg)](https://packagist.org/packages/stichoza/laravel-coderunner) [![Total Downloads](https://img.shields.io/packagist/dt/Stichoza/laravel-coderunner.svg)](https://packagist.org/packages/stichoza/laravel-coderunner) [![Downloads Month](https://img.shields.io/packagist/dm/Stichoza/laravel-coderunner.svg)](https://packagist.org/packages/stichoza/laravel-coderunner) [![PayPal donation](https://img.shields.io/badge/paypal-donate-blue.svg)](https://paypal.me/stichoza)\n\nAdd Laravel support to **[CodeRunner](https://coderunnerapp.com)** (Tinker in CodeRunner).\n\n\u003cimg width=\"1216\" alt=\"Screen Shot 2020-04-02 at 14 58 24\" src=\"https://user-images.githubusercontent.com/1139050/78280940-ef2cfa80-752a-11ea-8946-03eab08483f9.png\"\u003e\n\n## Installation\n\nInstall this package globally via [Composer](https://getcomposer.org/).\n\n```bash\ncomposer global require stichoza/laravel-coderunner\n```\nAnd initialize default laravel app (optional).\n```bash\nlaravel-coderunner install-default\n```\n\n## Usage\n\n### Add Laravel in CodeRunner langauges\n\n1. Go to CodeRunner preferences.\n1. Navigate to Languages tab.\n1. Right-click on `PHP` and select Duplicate.\n1. Name new language `Laravel`.\n1. Write following in the \"Run Command\" field:\n\n```bash\nlaravel-coderunner $filename\n```\n\n\u003cp align=\"center\"\u003e\u003cimg width=\"737\" alt=\"Screen Shot 2020-04-02 at 14 36 34\" src=\"https://user-images.githubusercontent.com/1139050/78239965-6ba1e800-74ef-11ea-8990-09caf61b8a87.png\"\u003e\u003c/p\u003e\n\n\u003e [!Note]\n\u003e If you have composer installed correctly in your system, [vendor binaries](https://getcomposer.org/doc/articles/vendor-binaries.md) would be already added in your `.profile` or `.bash_profile`. If not, add it to your profile paths, or otherwise go to CodeRunner preferences, navigate to Advanced tab and add binary path (e.g. `/Users/YOUR_USERNAME/.composer/vendor/bin`) to `PATH` shell variable:\n\n\u003cp align=\"center\"\u003e\u003cimg width=\"619\" alt=\"Screen Shot 2020-04-02 at 14 40 22\" src=\"https://user-images.githubusercontent.com/1139050/78240331-e9fe8a00-74ef-11ea-8da6-102ade27cbe6.png\"\u003e\u003c/p\u003e\n\n### Running in default laravel app\n\nDefault laravel app is already installed via `laravel-coderunner install-default` command. If you want to reset the default app, you can run:\n```bash\nlaravel-coderunner reset-default\n```\n\n### Running in specific project\nBy default, the code is evaluated in default Laravel installation described above. Follow this steps if you want to run code in different project:\n\n1. Assuming you already have Laravel available in CodeRunner, click \"Run Settings...\" button right next to Run and Stop buttons.\n1. Enter **absolute** path to your project in Arguments field.\n\n\u003cp align=\"center\"\u003e\u003cimg width=\"1096\" alt=\"Screen Shot 2020-04-02 at 14 44 34\" src=\"https://user-images.githubusercontent.com/1139050/78240762-7f018300-74f0-11ea-9e42-fa0ad2b4612b.png\"\u003e\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstichoza%2Flaravel-coderunner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstichoza%2Flaravel-coderunner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstichoza%2Flaravel-coderunner/lists"}