Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aedart/athenaeum-http-cookies
[READ ONLY] Athenaeum Http Cookies package - see https://github.com/aedart/athenaeum
https://github.com/aedart/athenaeum-http-cookies
cookie dto set-cookie
Last synced: about 1 month ago
JSON representation
[READ ONLY] Athenaeum Http Cookies package - see https://github.com/aedart/athenaeum
- Host: GitHub
- URL: https://github.com/aedart/athenaeum-http-cookies
- Owner: aedart
- License: bsd-3-clause
- Created: 2020-03-21T10:20:31.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-11-28T08:52:18.000Z (about 1 month ago)
- Last Synced: 2024-11-28T09:34:11.440Z (about 1 month ago)
- Topics: cookie, dto, set-cookie
- Language: PHP
- Size: 55.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Athenaeum Cookies
Provides very simple [DTOs](https://en.wikipedia.org/wiki/Data_transfer_object) for [Http Cookie](https://en.wikipedia.org/wiki/HTTP_cookie).
These DTOs are nothing more than data placeholders; they do not offer "advanced" capabilities.
Feel free to extend them with whatever logic your application might require.## Examples
```php
'my_cookie',
'value' => 'sweet'
]);
``````php
'my_cookie',
'value' => 'sweet',
'maxAge' => 60 * 5,
'secure' => true
]);
```## Documentation
Please read the [official documentation](https://aedart.github.io/athenaeum/) for additional information.
## Repository
The mono repository is located at [github.com/aedart/athenaeum](https://github.com/aedart/athenaeum)
## Versioning
This package follows [Semantic Versioning 2.0.0](http://semver.org/)
## License
[BSD-3-Clause](http://spdx.org/licenses/BSD-3-Clause), Read the LICENSE file included in this package