Skip to content

V2 #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

V2 #2

wants to merge 2 commits into from

Conversation

Mezzair
Copy link
Member

@Mezzair Mezzair commented Feb 25, 2025

This pull request includes several changes to improve the functionality and documentation of the PHP library for Zstandard compression. The most important changes include updates to the README.md file, enhancements to the ZSTD class, and modifications to the composer.json file.

Documentation Improvements:

  • README.md: Clarified installation instructions for ZSTD and added examples for compressing and decompressing files without specifying output paths. [1] [2]
  • README.md: Added information on specifying timeouts for stream operations and detailed exception handling.

Code Enhancements:

  • src/ZSTD.php: Refactored the compress and decompress methods to use the Process class for better error handling and added detailed docblocks.
  • src/ZSTD.php: Introduced a private runStreamProcess method to handle stream compression and decompression with improved error handling and timeout support.

Dependency and Metadata Updates:

…STD class with improved error handling and documentation
@Mezzair Mezzair requested a review from johnwedgbury February 25, 2025 22:33
@andrii-trush
Copy link

@johnwedgbury Is there any option to merge solution and create new release?

@johnwedgbury
Copy link
Contributor

@johnwedgbury Is there any option to merge solution and create new release?

Are you having a specific issue with V1 that this will solve?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants