Cupcake
PHP library for simply secure HTML forms (generation and processing). Secure-by-default.
Install / Use
/learn @soatok/CupcakeREADME
Sweet and fast form processing for PHP projects.
Requires PHP 8 or newer.
Installation
Use Composer to install this library:
composer require soatok/cupcake
To learn how to use Cupcake, please see the Documentation online.
Questions and Answers
Why "Cupcake"?
Wordplay! The German word for a cupcake mold is förmchen.
What Does Cupcake Do That Other Form Libraries Don't?
Three things: Security, simplicity, and ease-of-use.
First, I designed Cupcake with security as its first principle.
This doesn't just mean the bare basics like preventing cross-site scripting vulnerabilities and cross-site request forgery. Secure form processing means ensuring that input validation isn't only performed client-side. To that end, Cupcake uses Ionizer for input filtering.
Second, Cupcake's interface is deliberately simple and intuitive. Piece o' cake!
Finally, Cupcake is easy to integrate with other platforms and frameworks, by design. Cupcake has minimal dependencies and is unlikely to conflict with your existing framework dependencies or explode the code size to an unreasonable level.
(In the future, I will also provide shims for popular frameworks and ORMs.)
How Do I Use Cupcake?
See the Documentation directory.
If the documentation isn't helpful, please file an issue on Github.
What's With the Cupcake Mascot?
Their name is Neophyte! (They/them pronouns.)
Neophyte is a character owned by Soatok (the creator of Cupcake) to represent people who read his blog or use his open source software.
Is Cupcake a Furry Project?

The author, Soatok, is a furry. The mascot is a protogen (a fictitious species created within the furry fandom, for the furry fandom to enjoy).
You can learn more about the Furry Fandom here.
Is Cupcake API-Stable?
No, not until version 1.0.0 has been tagged.
Related Skills
clearshot
Structured screenshot analysis for UI implementation and critique. Analyzes every UI screenshot with a 5×5 spatial grid, full element inventory, and design system extraction — facts and taste together, every time. Escalates to full implementation blueprint when building. Trigger on any digital interface image file (png, jpg, gif, webp — websites, apps, dashboards, mockups, wireframes) or commands like 'analyse this screenshot,' 'rebuild this,' 'match this design,' 'clone this.' Skip for non-UI images (photos, memes, charts) unless the user explicitly wants to build a UI from them. Does NOT trigger on HTML source code, CSS, SVGs, or any code pasted as text.
openpencil
2.0kThe world's first open-source AI-native vector design tool and the first to feature concurrent Agent Teams. Design-as-Code. Turn prompts into UI directly on the live canvas. A modern alternative to Pencil.
HappyColorBlend
HappyColorBlendVibe Project Guidelines Project Overview HappyColorBlendVibe is a Figma plugin for color palette generation with advanced tint/shade blending capabilities. It allows designers to
Flyaro-waffle-app
Waffle Delight - Full Stack MERN Application Rules & Documentation Project Overview A comprehensive waffle delivery application built with MERN stack featuring premium UI/UX, admin management, a

