athlon1600 / php-cookie-parser
Installs: 445
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 2
Forks: 2
Open Issues: 0
pkg:composer/athlon1600/php-cookie-parser
Requires
- php: ^7.2.5 || ^8.0
Requires (Dev)
- ext-sockets: *
- athlon1600/php-curl-client: ^1.1
- guzzlehttp/guzzle: ^7.3.0
- nesk/puphpeteer: ^2.0
- phpunit/phpunit: ^8.5.5 || ^9.3.5
This package is auto-updated.
Last update: 2025-09-19 07:34:30 UTC
README
Needed to be able to convert between different cookies formats, which is especially useful when sharing cookies across different applications like PHP/Curl and Chrome Puppeteer.
Formats supported
- Netscape (https://curl.haxx.se/docs/http-cookies.html)
- Chrome Puppeteer (https://chromedevtools.github.io/devtools-protocol/1-3/Network/#type-Cookie)
- Guzzle (https://github.com/guzzle/guzzle/blob/master/src/Cookie/SetCookie.php)
- Cookies copied from Developer Tools -> Cookies tab
See it in action
Convert between formats in real-time within your browser + lots of other cool features:
Installation
composer require athlon1600/php-cookie-parser