Download the PHP package bottledcode/swytch-framework without Composer
On this page you can find all versions of the php package bottledcode/swytch-framework. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bottledcode/swytch-framework
More information about bottledcode/swytch-framework
Files in bottledcode/swytch-framework
Package swytch-framework
Short Description A PHP framework for building web applications
License MIT
Informations about the package swytch-framework
Swytch Framework
The Swytch Framework is a new, fledgling, but powerful framework allowing you to write HTML inline with your application logic, including API endpoints. It is built on top of htmx for the browser-side heavy-lifting, and a custom, streaming HTML5 parser, to handle the HTML and escaping.
Features:
- Write HTML inline with your PHP code, relying on context-aware escaping.
- Keep you API logic near the HTML that uses it.
- Application routing via HTML (similar to ReactRouter).
- Automatic CSRF protection.
- Context-Aware escaping.
- Automatic HTML5 validation.
- Authorization and authentication aware routing and rendering.
- Browser cache control.
- Builtin support for translations.
NOTE: This is currently pre-production software and is not recommended for production use.
Example Apps
The following are some example apps using the Swytch Framework:
Once
Check it out live on once.getswytch.com. This is a secret message app.
Authentication
This app provides a simple authentication system by emailing passwords. It provides Kubernetes ingress authentication.
Example Component
All versions of swytch-framework with dependencies
ext-intl Version *
ext-mbstring Version *
ext-sodium Version *
gettext/gettext Version ^5.6
gettext/translator Version ^1.1
laminas/laminas-escaper Version ^2.12
masterminds/html5 Version ^2.7
olvlvl/composer-attribute-collector Version ^2.0
php Version >=8.2
php-di/php-di Version ^7.0
psr/container Version 2.0.2
psr/http-message Version ^1.1 || ^2.0
symfony/property-access Version ^7.0
symfony/serializer Version ^7.0
nyholm/psr7-server Version ^1.0
nyholm/psr7 Version ^1.5
laminas/laminas-httphandlerrunner Version ^2.5
withinboredom/response-code Version ^1.0