Download the PHP package zero-to-prod/curl-helper-cli without Composer
On this page you can find all versions of the php package zero-to-prod/curl-helper-cli. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zero-to-prod/curl-helper-cli
More information about zero-to-prod/curl-helper-cli
Files in zero-to-prod/curl-helper-cli
Package curl-helper-cli
Short Description A Cli for Curl Helpers
License MIT
Homepage https://github.com/zero-to-prod/curl-helper-cli
Informations about the package curl-helper-cli
Zerotoprod\CurlHelperCli
Contents
- Introduction
- Requirements
- Installation
- Documentation Publishing
- Automatic Documentation Publishing
- Usage
- Available Commands
curl-helper-cli:parse-headercurl-helper-cli:src
- Docker Image
- Local Development
- Image Development
- Contributing
Introduction
A Cli for Curl Helpers
Requirements
- PHP 8.1 or higher.
Installation
Install Zerotoprod\CurlHelperCli via Composer:
This will add the package to your project's dependencies and create an autoloader entry for it.
Documentation Publishing
You can publish this README to your local documentation directory.
This can be useful for providing documentation for AI agents.
This can be done using the included script:
Automatic Documentation Publishing
You can automatically publish documentation by adding the following to your composer.json:
Usage
Run this command to see the available commands:
Available Commands
curl-helper-cli:parse-header
Returns the headers of a curl request as a JSON response.
Description: This command makes a HTTP request to the specified URL and parses the response headers into a structured JSON format.
Usage:
Arguments:
url(required): The request URI to fetch headers from
Examples:
Sample Output:
curl-helper-cli:src
Displays the project source link.
Description: A simple command that outputs the GitHub repository URL for this project.
Usage:
Arguments: None
Example:
Output:
Docker Image
You can also run the cli using the docker image:
Contributing
Contributions, issues, and feature requests are welcome! Feel free to check the issues page if you want to contribute.
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Commit changes (
git commit -m 'Add some feature'). - Push to the branch (
git push origin feature-branch). - Create a new Pull Request.
All versions of curl-helper-cli with dependencies
ext-json Version *
symfony/console Version ^7.2
zero-to-prod/data-model Version ^81.9
zero-to-prod/curl-helper Version ^1.0
ext-curl Version *
zero-to-prod/package-helper Version ^1.1.3