athlon1600 / php-cookie-parser
There is no license information available for the latest version (dev-master) of this package.
dev-master
2023-01-19 01:40 UTC
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: 2024-12-19 05:55:16 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