PHPackages                             creacoon/laravel-cloudfront-cookies - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. creacoon/laravel-cloudfront-cookies

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

creacoon/laravel-cloudfront-cookies
===================================

A tiny utility to generate signed cookies to be used with AWS Cloudfront

0.1.0(1y ago)012[1 PRs](https://github.com/creacoon/laravel-cloudfront-cookies/pulls)MITPHPPHP ^8.3CI failing

Since May 15Pushed 1y agoCompare

[ Source](https://github.com/creacoon/laravel-cloudfront-cookies)[ Packagist](https://packagist.org/packages/creacoon/laravel-cloudfront-cookies)[ Docs](https://github.com/creacoon/laravel-cloudfront-cookies)[ RSS](/packages/creacoon-laravel-cloudfront-cookies/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (14)Versions (4)Used By (0)

A tiny utility to generate signed cookies to be used with AWS Cloudfront
========================================================================

[](#a-tiny-utility-to-generate-signed-cookies-to-be-used-with-aws-cloudfront)

[![Latest Version on Packagist](https://camo.githubusercontent.com/0e46c641063b75b389cd3da051c20e5a27d74e061d6e461ef18941c30bb44bad/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63726561636f6f6e2f6c61726176656c2d636c6f756466726f6e742d636f6f6b6965732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/creacoon/laravel-cloudfront-cookies)[![GitHub Tests Action Status](https://camo.githubusercontent.com/e70cce9bcf90c2ff11efeb32f1d1847afc6b47700b50d9a169ae0f7a9758338c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f63726561636f6f6e2f6c61726176656c2d636c6f756466726f6e742d636f6f6b6965732f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/creacoon/laravel-cloudfront-cookies/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/686bf1be58075d7e770f3ad4804bd057ec862619e42f75244670a2078b741794/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f63726561636f6f6e2f6c61726176656c2d636c6f756466726f6e742d636f6f6b6965732f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/creacoon/laravel-cloudfront-cookies/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/456298256a23f2a2601d46462ca037a9ef3df21dda88de849b02d3079aef8177/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63726561636f6f6e2f6c61726176656c2d636c6f756466726f6e742d636f6f6b6965732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/creacoon/laravel-cloudfront-cookies)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require creacoon/laravel-cloudfront-cookies
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="laravel-cloudfront-cookies-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-cloudfront-cookies-config"
```

This is the contents of the published config file:

```
return [
];
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="laravel-cloudfront-cookies-views"
```

Usage
-----

[](#usage)

Add the middleware to set the cookies needed for AWS CloudFront

Testing
-------

[](#testing)

Generate a private key

```
openssl genrsa -out private.key.pem
```

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Charaf Rezrazi](https://github.com/Rezrazi)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance47

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

414d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0e019c7a42af689e0234e23cda216ba2b536901b4870058c4ad61c22f17a651a?d=identicon)[tomcoonen](/maintainers/tomcoonen)

---

Top Contributors

[![Rezrazi](https://avatars.githubusercontent.com/u/2086576?v=4)](https://github.com/Rezrazi "Rezrazi (3 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![GertvHout](https://avatars.githubusercontent.com/u/75330279?v=4)](https://github.com/GertvHout "GertvHout (1 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

laravelcreacoonlaravel-cloudfront-cookies

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/creacoon-laravel-cloudfront-cookies/health.svg)

```
[![Health](https://phpackages.com/badges/creacoon-laravel-cloudfront-cookies/health.svg)](https://phpackages.com/packages/creacoon-laravel-cloudfront-cookies)
```

###  Alternatives

[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329530.5k29](/packages/codewithdennis-filament-select-tree)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

124603.0k](/packages/worksome-exchange)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[mreduar/s3m

Multipart Uploads using Laravel and AWS S3

174.3k](/packages/mreduar-s3m)[tarfin-labs/event-machine

Event-driven state machines for Laravel with event sourcing, type-safe context, and full audit trail.

199.4k](/packages/tarfin-labs-event-machine)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
