codemonster-ru / annabel-skeleton
Starter project for Annabel framework
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:project
pkg:composer/codemonster-ru/annabel-skeleton
Requires
- php: >=8.2
- codemonster-ru/annabel: ^1.14
- codemonster-ru/security: ^1.1
README
Starter project for the Annabel PHP Framework. A clean and modern foundation for building full-stack web applications.
Quick Start
Create a new project using Composer:
composer create-project codemonster-ru/annabel-skeleton myapp
cd myapp
composer start
Open http://localhost:8000 to see your first page rendered by Annabel.
Security Defaults
The codemonster-ru/security package is enabled by default.
- CSRF and throttling are auto-registered in the kernel.
- Use
.envto disable or tuneSECURITY_*settings.
Default SECURITY_* values:
SECURITY_CSRF_ENABLED=true SECURITY_CSRF_ADD_TO_KERNEL=true SECURITY_CSRF_VERIFY_JSON=false SECURITY_CSRF_INPUT_KEY=_token SECURITY_THROTTLE_ENABLED=true SECURITY_THROTTLE_ADD_TO_KERNEL=true SECURITY_THROTTLE_MAX_ATTEMPTS=60 SECURITY_THROTTLE_DECAY_SECONDS=60
Requirements
- PHP 8.2 or higher
- Composer