https://github.com/zoilomora/editthiscookie-for-guzzle
FileCookieJar implementation for EditThisCookie in Guzzle
https://github.com/zoilomora/editthiscookie-for-guzzle
cookie cookies editthiscookie filecookiejar guzzle guzzlehttp
Last synced: 19 days ago
JSON representation
FileCookieJar implementation for EditThisCookie in Guzzle
- Host: GitHub
- URL: https://github.com/zoilomora/editthiscookie-for-guzzle
- Owner: zoilomora
- License: mit
- Created: 2020-12-09T20:33:33.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-10T16:20:57.000Z (over 4 years ago)
- Last Synced: 2025-03-25T20:13:44.407Z (about 1 month ago)
- Topics: cookie, cookies, editthiscookie, filecookiejar, guzzle, guzzlehttp
- Language: PHP
- Homepage: https://packagist.org/packages/zoilomora/editthiscookie-for-guzzle
- Size: 125 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EditThisCookie for Guzzle
[FileCookieJar] implementation for Google Chrome [EditThisCookie] extension in [Guzzle].## Usage
This implementation allows the use of cookies exported from the Google Chrome [EditThisCookie] extension
directly in [Guzzle] and in turn.. the cookies that [Guzzle] has modified re-import them into the browser.Example:
Once the website is logged in, export the cookies `json` in a `cookies.json` file.

```php
new \ZoiloMora\EditThisCookie\Guzzle\FileCookieJar($cookieFile),
]);
```## License
Licensed under the [MIT license](http://opensource.org/licenses/MIT)Read [LICENSE](LICENSE) for more information
[FileCookieJar]: https://github.com/guzzle/guzzle/blob/7.0/src/Cookie/CookieJarInterface.php
[EditThisCookie]: http://www.editthiscookie.com/
[Guzzle]: https://docs.guzzlephp.org/en/stable/