{"id":31235451,"url":"https://github.com/ridwanchip/tinkering","last_synced_at":"2026-04-15T20:02:41.836Z","repository":{"id":315357927,"uuid":"1059164747","full_name":"RidwanChip/tinkering","owner":"RidwanChip","description":"Run Laravel Tinker inside VSCode with ease, avoiding manual terminal commands","archived":false,"fork":false,"pushed_at":"2025-09-18T05:21:26.000Z","size":41,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-18T06:35:53.065Z","etag":null,"topics":["extension","laravel","tinker"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/RidwanChip.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-18T04:53:40.000Z","updated_at":"2025-09-18T05:24:28.000Z","dependencies_parsed_at":"2025-09-18T06:35:58.843Z","dependency_job_id":"cd78eb73-b3cb-425a-8196-70571c94bb0a","html_url":"https://github.com/RidwanChip/tinkering","commit_stats":null,"previous_names":["ridwanchip/tinkering"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/RidwanChip/tinkering","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RidwanChip%2Ftinkering","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RidwanChip%2Ftinkering/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RidwanChip%2Ftinkering/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RidwanChip%2Ftinkering/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RidwanChip","download_url":"https://codeload.github.com/RidwanChip/tinkering/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RidwanChip%2Ftinkering/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31857625,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"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":["extension","laravel","tinker"],"created_at":"2025-09-22T14:27:53.527Z","updated_at":"2026-04-15T20:02:41.821Z","avatar_url":"https://github.com/RidwanChip.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tinkering\n\n**Tinkering** is a Visual Studio Code extension that allows you to run Laravel Tinker easily from within VSCode.  \nIt provides a dedicated playground for PHP code execution, CodeLens for running scripts, and a play button in the editor title for quick execution.\n\n\u003e A simple and convenient way to run Laravel Tinker directly inside VSCode, avoiding the complexity of writing commands manually in the terminal.\n\n---\n\n## Features\n\n- **Create a Playground**: Automatically creates a `.tinkering/playground.php` file in your Laravel project where you can write Tinker code.\n- **Run PHP Files with Tinker**: Execute any PHP file inside the `.tinkering/` folder using Laravel Tinker.\n- **CodeLens Integration**: Displays a “Run Playground” link above your code for quick execution.\n- **Editor Title Button**: Shows a play icon in the top-right corner of the editor for files in `.tinkering/`.\n- **SQL Query Logging**: Outputs SQL queries, bindings, and execution time in a readable format in the terminal.\n- **Keyboard Shortcuts**:\n  - `Ctrl+Alt+I`: Initialize playground\n  - `Ctrl+Alt+R`: Run current file\n\n---\n\n## Installation\n\n1. Install the extension.\n2. Press `CTRL+Shift+P` / `CMD+Shift+P`.\n3. Search \"Laravel Tinkering: init Playground\".\n4. After Run \"init Playground\" will create new folder `.tinkering` and file `playground.php`\n5. Open `playground.php` and try run your code like example below.\n6. Keyboard Shortcut = `Ctrl+Alt+I`: Initialize playground | `Ctrl+Alt+R`: Run current file\n\n## Example\n\n### 1. Playground File\n\n```php\n// .tinkering/playground.php\nuse App\\Models\\User;\n\n// Retrieve User\nUser::where('email','author@example.com')-\u003eget();\n```\n\n### 2. Output\n\n    [SQL] select * from `users` where `email` = ?\n    [Bindings: author@example.com]\n    [Time: 3.59 ms]\n    ----------------------------\n    = Illuminate\\Database\\Eloquent\\Collection {#2065\n        all: [\n          App\\Models\\User {#6626\n            id: 1,\n            name: \"John Author\",\n            email: \"author@example.com\",\n            email_verified_at: null,\n            #password: \"$2y$12$8dXcRyxRmDyOpTaeqvnzpeeteYZKIIn6Hs7/m0fuuhP/CBvUBWA7e\",\n            #remember_token: null,\n            created_at: \"2025-08-13 02:35:02\",\n            updated_at: \"2025-08-13 02:35:02\",\n          },\n        ],\n      }\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fridwanchip%2Ftinkering","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fridwanchip%2Ftinkering","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fridwanchip%2Ftinkering/lists"}