{"id":37232324,"url":"https://github.com/fschirinzi/laramote","last_synced_at":"2026-01-15T03:48:36.253Z","repository":{"id":44939330,"uuid":"445867028","full_name":"fschirinzi/laramote","owner":"fschirinzi","description":"LaraMote allows you to run tasks in Laravel from remote (REST API). This package is helpful for E2E testing.","archived":false,"fork":false,"pushed_at":"2022-01-17T10:42:34.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-14T23:44:37.495Z","etag":null,"topics":["cypress","e2e","e2e-test","laravel","test"],"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/fschirinzi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"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},"funding":{"github":"fschirinzi"}},"created_at":"2022-01-08T16:14:02.000Z","updated_at":"2022-01-17T10:44:38.000Z","dependencies_parsed_at":"2022-09-04T19:11:09.671Z","dependency_job_id":null,"html_url":"https://github.com/fschirinzi/laramote","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/fschirinzi/laramote","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fschirinzi%2Flaramote","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fschirinzi%2Flaramote/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fschirinzi%2Flaramote/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fschirinzi%2Flaramote/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fschirinzi","download_url":"https://codeload.github.com/fschirinzi/laramote/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fschirinzi%2Flaramote/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28419238,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["cypress","e2e","e2e-test","laravel","test"],"created_at":"2026-01-15T03:48:35.778Z","updated_at":"2026-01-15T03:48:36.235Z","avatar_url":"https://github.com/fschirinzi.png","language":"PHP","funding_links":["https://github.com/sponsors/fschirinzi"],"categories":[],"sub_categories":[],"readme":"# Remote for Laravel\n\n[![Test](https://github.com/fschirinzi/laramote/workflows/Tests/badge.svg)](https://github.com/fschirinzi/translation-manager-for-laravel/actions?query=workflow%3ATests)\n[![StyleCI](https://github.styleci.io/repos/445867028/shield?style=flat-square)](https://github.styleci.io/repos/445867028)\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/fschirinzi/laramote.svg?style=flat-square)](https://packagist.org/packages/fschirinzi/laramote)\n[![Total Downloads](https://img.shields.io/packagist/dt/fschirinzi/laramote.svg?style=flat-square)](https://packagist.org/packages/fschirinzi/laramote)\n\nLaraMote allows you to run tasks in Laravel from remote. This package is helpful if you are testing\nyour frontend (SPA) application with [Cypress](https://www.cypress.io/) that uses a Laravel application as backend.\n\nAt the moment, these features are implemented:\n\n:white_check_mark: Artisan command \u003cbr\u003e\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; :white_check_mark: Command with parameters \u003cbr\u003e\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; :white_check_mark: Get Output \u003cbr\u003e\n:white_check_mark: Login User \u003cbr\u003e\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; :white_check_mark: Custom key value \u003cbr\u003e\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; :white_check_mark: Custom key/table column \u003cbr\u003e\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; :white_check_mark: Custom model \u003cbr\u003e\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; :white_check_mark: Remember \u003cbr\u003e\n:white_check_mark: Factory \u003cbr\u003e\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; :white_check_mark: Make/Create \u003cbr\u003e\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; :white_check_mark: Models \u003cbr\u003e\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; :white_check_mark: Name \u003cbr\u003e\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; :white_check_mark: States \u003cbr\u003e\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; :white_check_mark: Amount \u003cbr\u003e\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; :white_check_mark: Show hidden attributes \u003cbr\u003e\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; :white_check_mark: Override attributes \u003cbr\u003e\n:white_check_mark: Model \u003cbr\u003e\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; :white_check_mark: Search with custom key value \u003cbr\u003e\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; :white_check_mark: Search with custom key/table column \u003cbr\u003e\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; :white_check_mark: Search with custom model \u003cbr\u003e\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; :white_check_mark: Get with limit \u003cbr\u003e\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; :white_check_mark: Load relationships \u003cbr\u003e\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; :white_check_mark: Show hidden attributes for model and relationships \u003cbr\u003e\n\n**TODO** \u003cbr\u003e\n- [ ] Make Commands working \u003cbr\u003e\n- [ ] Make Tests \u003cbr\u003e\n- [ ] Add wiki page with all endpoints and their parameters\n- [ ] Support all class based factory features\n\n## Installation\n\n| Version | Supported Factories |\n| --- | --- |\n| v0.\\*, v1.\\* | Legacy Factories |\n| v2.\\* | Class based factories\n\nYou can install the package via composer:\n\n```bash\ncomposer require fschirinzi/laramote --dev\n```\n\nAfter installing LaraMote, you *may* publish its assets using the `laramote:install` Artisan command:\n\n```bash\nphp artisan laramote:install\n```\n\n## Usage\n\nLaraMote exposes the endpoints at the `/laramote` URI.\nBy default, you will only be able to access this dashboard in the `local` and `testing` environment.\nHowever, within your `app/Providers/LaraMoteServiceProvider.php` file, there is a gate method\nthat controls access to the LaraMote endpoints in non-local environments.\nYou are free to modify this gate as needed to restrict access to your LaraMote endpoints:\n\n``` php\n/**\n * Register the LaraMote gate.\n *\n * This gate determines who can access LaraMote in non-local environments.\n *\n * @return void\n */\nprotected function gate()\n{\n    Gate::define('useLaraMote', function ($user = null) {\n        return in_array(optional($user)-\u003eemail, [\n            //\n        ]);\n    });\n}\n```\n\n### Examples\n\nYou can import `Insomnia_example_requests.json` into the [Insomnia Rest-client](https://insomnia.rest/) to see some examples in action.\n\n## Upgrading\n\nWhen upgrading to a new version of Laramote, you should re-publish LaraMote's assets:\n\n```bash\nphp artisan laramote:publish\n```\n\nTo keep the assets up-to-date and avoid issues in future updates, you may add the\nlaramote:publish command to the post-update-cmd scripts in your application's composer.json file:\n\n## Customizing Middleware\n\nIf needed, you can customize the middleware stack used by LaraMote routes by updating your\n`config/laramote.php` file. If you have not published LaraMote's configuration file, you may\ndo so using the vendor:publish Artisan command:\n\n``` bash\nphp artisan vendor:publish --tag=laramote-config\n```\n\nOnce the configuration file has been published, you may edit LaraMote's\nmiddleware by tweaking the middleware configuration option within this file:\n\n``` php\n/*\n|--------------------------------------------------------------------------\n| LaraMote Route Middleware\n|--------------------------------------------------------------------------\n|\n| These middleware will be assigned to every Vapor UI route - giving you\n| the chance to add your own middleware to this list or change any of\n| the existing middleware. Or, you can simply stick with this list.\n|\n*/\n\n'middleware' =\u003e [\n    'api',\n    EnsureUserIsAuthorized::class,\n],\n```\n\n## Testing\n\n``` bash\ncomposer test\n```\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n## Security\n\nIf you discover any security related issues, please email fschirinzi25@gmail.com instead of using the issue tracker.\n\n## Credits\n\n- [Francesco Schirinzi](https://github.com/fschirinzi)\n- [All Contributors](../../contributors)\n\nI used the [Laravel/VaporUi](https://github.com/laravel/vapor-ui) package\nand their [documentation](https://docs.vapor.build/1.0/introduction.html#installing-the-vapor-core)\nas template to speed up the development of this package.\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n\n## Laravel Package Boilerplate\n\nThis package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffschirinzi%2Flaramote","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffschirinzi%2Flaramote","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffschirinzi%2Flaramote/lists"}