Mascot
latest
  • Introduction
  • Usage
  • Middleware
  • Organizing Controllers
  • Services
  • Providers
  • Testing
  • Cookbook
    • Accepting a JSON Request Body
    • Using PdoSessionStorage to store Sessions in the Database
    • Disabling CSRF Protection on a Form using the FormExtension
    • Using YAML to configure Validation
    • Making sub-Requests
    • Converting Errors to Exceptions
    • Using multiple Monolog Loggers
    • How to Create a Custom Authentication System with Guard
    • Recipes
  • Internals
  • Contributing
  • Writing Documentation
  • Built-in Service Providers
  • Webserver Configuration
  • Changelog
Mascot
  • Docs »
  • Cookbook
  • Edit on GitHub

Cookbook¶

The cookbook section contains recipes for solving specific problems.

Recipes¶

  • Accepting a JSON Request Body A common need when building a restful API is the ability to accept a JSON encoded entity from the request body.
  • Using PdoSessionStorage to store Sessions in the Database.
  • Disabling the CSRF Protection on a Form using the FormExtension.
  • Using YAML to configure Validation.
  • Making sub-Requests.
  • Converting Errors to Exceptions.
  • Using multiple Monolog Loggers.
  • How to Create a Custom Authentication System with Guard.
Next Previous

© Copyright 2010 Fabien Potencier Revision 8dac5e00.

Built with Sphinx using a theme provided by Read the Docs.