Download the PHP package zero-to-prod/stream-context without Composer
On this page you can find all versions of the php package zero-to-prod/stream-context. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zero-to-prod/stream-context
More information about zero-to-prod/stream-context
Files in zero-to-prod/stream-context
Package stream-context
Short Description A wrapper for stream_context_create()
License MIT
Homepage https://github.com/zero-to-prod/stream-context
Informations about the package stream-context
Zerotoprod\StreamContext
Contents
- Introduction
- Requirements
- Installation
- Documentation Publishing
- Automatic Documentation Publishing
- Usage
- Supported Protocols
- Local Development
- Contributing
Introduction
A wrapper for the stream_context_create() method.
It provides classes that define all the options for this method.
Requirements
- PHP 7.1 or higher.
Installation
Install Zerotoprod\StreamContext 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
Supported Protocols
- HTTP: Customize request methods, headers, user-agent, and more.
- FTP: Manage file transfers with options like overwrite, resume position, and proxy.
- SSL: Configure SSL/TLS options including peer verification, certificates, and more.
- Phar: Set options like compression and metadata for Phar archives.
- Zip: Handle encrypted Zip files with password options.
- Zlib: Control compression levels for zlib streams.
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 stream-context with dependencies
ext-openssl Version *
zero-to-prod/dynamic-setter Version ^71.0
zero-to-prod/data-model Version ^81.0
zero-to-prod/transformable Version ^71.0
zero-to-prod/package-helper Version ^1.1.3