https://github.com/davidyell/cake-utensils
A small collection of helpful things for building applications using CakePHP
https://github.com/davidyell/cake-utensils
cakephp cakephp-plugin cakephp3
Last synced: 8 months ago
JSON representation
A small collection of helpful things for building applications using CakePHP
- Host: GitHub
- URL: https://github.com/davidyell/cake-utensils
- Owner: davidyell
- License: mit
- Archived: true
- Created: 2019-05-22T10:24:42.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-22T15:02:50.000Z (about 7 years ago)
- Last Synced: 2025-10-02T15:37:02.169Z (9 months ago)
- Topics: cakephp, cakephp-plugin, cakephp3
- Language: PHP
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Cake Utensils
This is a utility plugin hopefully full of useful bits and bobs you can use to build your CakePHP applications.
## Requirements
* CakePHP 3.7+
## What does it include?
So what utensils are included to help my cake baking?
### Encrypted string data type
A data type class for working with encrypted strings. This class allow you to inline encrypt fields into your database
and read them out again.
### Postcode data type
This data type class uses the [vasildakov/postcode](https://github.com/vasildakov/postcode) library to marshall UK
postal codes into value objects to help with validation, formatting and display.
### Telephone data type
A data type class which uses [giggsey/libphonenumber-for-php](https://github.com/giggsey/libphonenumber-for-php) library
to marshall UK telephone numbers into value objects to help with validation, formatting and easier methods for getting
specific parts of phone numbers such as dialing codes.
[How do I use custom data types?](https://book.cakephp.org/3.0/en/orm/database-basics.html#adding-custom-types)
### Security middleware
A basic middleware for adding some extra headers to requests based on the [OWASP Secure headers](https://www.owasp.org/index.php/OWASP_Secure_Headers_Project#tab=Headers)
[How do I add middleware?](https://book.cakephp.org/3.0/en/controllers/middleware.html#adding-middleware-from-plugins)
## License
Please see [LICENSE.md](LICENSE.md)