UserFrosting
menu
Features
Demo
Get Started
Install
Docs
Recipes
Forums
Chat
Donate
5.0
5.1
5.0
4.6
4.5
4.4
4.3
4.2
4.1
4.0
UserFrosting
Home
Docs
Forums
Chat
1.
Quick Start Guide
2.
Web Dev, the Right Way
Introduction
The Client-Server Conversation
Develop Locally, Serve Globally
Don't Reinvent the Wheel
Security
Server Misconfiguration
Search Engine Optimization
3.
App Structure
Your Application
Built on the shoulders of giants
The Framework
Sprinkles, what are they?
4.
Installation
Requirements
Basic Stack Requirements
Essential Tools for Modern PHP
Dev Environment
Native Installation
Installing Requirements
Installing UserFrosting
Docker
5.
Troubleshooting
Debugging
Getting Help
Common Problems
6.
Sprinkles
Basic concept
Contents
The Sprinkle Recipe
Customizing Your Sprinkle
Community Sprinkles
7.
Dependency Injection
Understanding Dependency Injection
The DI Container
Default Services
Adding Services
Extending Existing Services
8.
Routes and Controllers
Introduction
RESTful Design
RESTful Endpoints
RESTful Responses
Front Controller
Controller Classes
Registering Routes
Client Input
Validation
CSRF Protection
Throttling
AJAX Requests
9.
Configuration
Environment Variables
Configuration Files
10.
Users
User Accounts
Authorization
Groups
Activity Logging
11.
Bakery CLI
Built-in Commands
Custom Commands
Extending Aggregator Commands
12.
Pages and Twig Templating
Why use Twig?
Sprinkle Templates
Twig Filters and Functions
13.
Assets
Webpack Encore
Referencing static assets
Entrypoints
Enabling Sass, Less, Vue and React
14.
Database
Overview
Default Tables
Migrations
Database Seeding
Data Sprunjing
15.
Client-side Code
Overview
Exporting Variables to Javascript
Client-side Templating
Components
Forms
Tables
Collections
Alerts
16.
Mail
The Mailer Service
17.
Internationalization
Introduction
Setting up the site language
The translator
Creating a custom locale
18.
Advanced Dev Features
Using Custom Data Models
Application Lifecycle
Exceptions and Error Handling
Sessions
Cache
What, Why, and When?
The Cache Service
The Alert Stream
Locator Service
Logging
File Storage
Events
Middlewares
19.
Testing
Why Use Automated Testing ?
Running Tests
Writing Your Own Tests
Sprinkle Test Case
Helper Traits & Class
Factories
20.
Recipes
Creating a new page
Extending the User model
Extending templates and menus
Customizing the login page
Changing user permissions
Advanced tutorial
Setting up the basics
Integrating the Database
Adding the page to the menu
Adding custom authorization
Adding localizations
Customizing the Skeleton
Going further
21.
Going Live
Hosting Your Site
Mail Providers
VPS Production Environment
Server Setup
Using Git for Deployment
Application Setup
SSL/HTTPS
Additional Recommendations
Backing up Your Data
Unix Primer for Ubuntu
22.
Upgrading
4.x to 5.0
What's new ?
Upgrade Guide
Future Roadmap
23.
Giving Back to UF
Supporting UserFrosting
24.
API Documentation
Clear History
Version:
5.1
5.0
4.6
4.5
4.4
4.3
4.2
4.1
4.0
Built with
Grav
- The Modern Flat File CMS
edit this page
Quick Start Guide
Advanced Dev Features
Chapter 18
Advanced Dev Features