{"id":20603834,"url":"https://github.com/maxkostinevich/artisan-ping","last_synced_at":"2025-04-15T02:07:00.476Z","repository":{"id":47434711,"uuid":"328248763","full_name":"maxkostinevich/Artisan-Ping","owner":"maxkostinevich","description":"Make HTTP requests from console using Laravel Artisan.","archived":false,"fork":false,"pushed_at":"2022-07-20T20:43:57.000Z","size":13,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-15T02:06:40.418Z","etag":null,"topics":["artisan","artisan-command","laravel","laravel-package"],"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/maxkostinevich.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null},"funding":{"github":"maxkostinevich"}},"created_at":"2021-01-09T21:23:53.000Z","updated_at":"2022-07-20T20:43:32.000Z","dependencies_parsed_at":"2022-07-22T13:19:28.886Z","dependency_job_id":null,"html_url":"https://github.com/maxkostinevich/Artisan-Ping","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxkostinevich%2FArtisan-Ping","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxkostinevich%2FArtisan-Ping/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxkostinevich%2FArtisan-Ping/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxkostinevich%2FArtisan-Ping/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxkostinevich","download_url":"https://codeload.github.com/maxkostinevich/Artisan-Ping/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248991543,"owners_count":21194894,"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":["artisan","artisan-command","laravel","laravel-package"],"created_at":"2024-11-16T09:18:50.348Z","updated_at":"2025-04-15T02:07:00.452Z","avatar_url":"https://github.com/maxkostinevich.png","language":"PHP","funding_links":["https://github.com/sponsors/maxkostinevich"],"categories":[],"sub_categories":[],"readme":"# Artisan Ping\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/maxkostinevich/artisan-ping.svg?style=flat-square)](https://packagist.org/packages/maxkostinevich/artisan-ping)\n[![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/maxkostinevich/artisan-ping/run-tests?label=tests)](https://github.com/maxkostinevich/artisan-ping/actions?query=workflow%3ATests+branch%3Amain)\n[![Total Downloads](https://img.shields.io/packagist/dt/maxkostinevich/artisan-ping.svg?style=flat-square)](https://packagist.org/packages/maxkostinevich/artisan-ping)\n\n---\n\n![Artisan Ping](https://user-images.githubusercontent.com/10295466/104108964-2a3e3480-52da-11eb-8f26-cc83c51b986a.png)\n\nMake HTTP requests using Laravel artisan `ping:http` command.\n\nFor example:\n\n```\nphp artisan ping:http --url=https://example.com --method=GET\n```\n\nor\n\n```\nphp artisan ping:http --url=https://example.com --method=POST --headers='x-api-key=123456' --headers='another-key-name=key-value' --data='name=John Doe' --data='email=john@example.com'\n```\n\n## Supported options\n\n| Option    | Description                                                  | Default |\n| --------- | ------------------------------------------------------------ | ------- |\n| --url     | Required. URL to make the HTTP request to.                   |         |\n| --method  | HTTP request method (GET, POST, DELETE, PATCH)               | POST    |\n| --retry   | Number of retries                                            | 1       |\n| --timeout | Request timeout                                              | 5       |\n| --headers | Headers to pass. Multiple values allowed.                    |         |\n| --data    | Data to pass. Multiple values allowed.                       |         |\n| --queue   | Doesn't expect any values. Whether the job should be queued. | false   |\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require maxkostinevich/artisan-ping\n```\n\n## Testing\n\n```bash\ncomposer test\n```\n\n## Credits\n\n-   [Max Kostinevich](https://github.com/maxkostinevich)\n-   [All Contributors](../../contributors)\n\n---\n\n### [MIT License](https://opensource.org/licenses/MIT)\n\n(c) 2020 [Max Kostinevich](https://maxkostinevich.com) - All rights reserved.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxkostinevich%2Fartisan-ping","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxkostinevich%2Fartisan-ping","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxkostinevich%2Fartisan-ping/lists"}