{"id":26984296,"url":"https://github.com/friendsofshopware/froshtinker","last_synced_at":"2025-04-03T17:36:07.051Z","repository":{"id":48101899,"uuid":"190416989","full_name":"FriendsOfShopware/FroshTinker","owner":"FriendsOfShopware","description":"This plugin allows you to use tinker in Shopware 6","archived":false,"fork":false,"pushed_at":"2023-02-25T14:42:48.000Z","size":22,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-20T09:13:38.533Z","etag":null,"topics":[],"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/FriendsOfShopware.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-06-05T15:06:21.000Z","updated_at":"2023-02-25T14:42:51.000Z","dependencies_parsed_at":"2024-08-04T09:07:59.842Z","dependency_job_id":"46b87986-c83d-43e8-bb75-5c7cc2b2c988","html_url":"https://github.com/FriendsOfShopware/FroshTinker","commit_stats":{"total_commits":13,"total_committers":7,"mean_commits":"1.8571428571428572","dds":0.6153846153846154,"last_synced_commit":"a77202446498ae9e65e3d1e7f7d21a4eb38ce310"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendsOfShopware%2FFroshTinker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendsOfShopware%2FFroshTinker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendsOfShopware%2FFroshTinker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendsOfShopware%2FFroshTinker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FriendsOfShopware","download_url":"https://codeload.github.com/FriendsOfShopware/FroshTinker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247050001,"owners_count":20875355,"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":[],"created_at":"2025-04-03T17:36:06.521Z","updated_at":"2025-04-03T17:36:07.045Z","avatar_url":"https://github.com/FriendsOfShopware.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FroshTinker\n\n[![Join the chat at https://gitter.im/FriendsOfShopware/Lobby](https://badges.gitter.im/FriendsOfShopware/Lobby.svg)](https://gitter.im/FriendsOfShopware/Lobby)\n\nInspired by the `artisan tinker` command from laravel this plugin adds a similar command to Shopware. The `frosh:tinker`\ncommand runs in a Shopware CLI environment (like any other command in Shopware) and lets you tinker with existing\nobjects and classes to your hearts content. Based on the amazing `psy/psysh` library this command provides an\ninteractive way to test a component or to just play with variables and see how things react to different actions. For\nany instruction on how this works or how to operate it, head over to [https://psysh.org/](https://psysh.org/).\n\nAdditionally this plugin comes with a caster for Shopware's `ModelEntity` objects that the ORM provides. So if you ask\nthe ORM for an instance of an entity, that instance will be displayed in its array representation to let you inspect its\nmembers values. You can also add your own casters by implementing the `CasterInterface` and adding it to the\nDependencyInjection container with the tag `frosh_tinker.caster`. If you need more information on how casters work, take\na look at the [documentation of Symfony's VarDumper](https://symfony.com/doc/3.4/components/var_dumper/advanced.html#casters).\nThe only difference here is the `CasterInterface` that is provided by this plugin. While it would be sufficient to\nprovide a simple callable as a caster, the interface makes it easier to flexibly integrate multiple casters through the\nDependencyInjection container.\n\n\n## Requirements\n\n- Shopware 5.5 or above (older versions might work, but were not tested)\n- PHP 7.1 or above\n\n\n## Installation via composer (recommended)\n\n```\ncomposer require frosh/tinker\nbin/console sw:plugin:refresh\nbin/console sw:plugin:install FroshTinker\nbin/console sw:plugin:activate FroshTinker\nbin/console sw:cache:clear\n```\n\n\n## Installation via .zip file\n\n- Download latest release.\n- Extract the zip file in `shopware_folder/custom/plugins/`.\n- Install plugin via plugin manager in the backend.\n- Clear the cache.\n\n\n## Contributing\n\nFeel free to fork and send pull requests!\n\n\n## Licence\n\nThis project uses the [MIT License](LICENCE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffriendsofshopware%2Ffroshtinker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffriendsofshopware%2Ffroshtinker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffriendsofshopware%2Ffroshtinker/lists"}