Sylius Stack
  • Sylius Stack Documentation
  • Getting started
  • Cookbook
    • How to customize your admin panel
      • Basic operations
      • Customizing your grids
      • Customizing the logo
      • Customizing the menu
      • Configuring the security access
      • Customizing the page titles
    • How to use in a DDD architecture
      • Architecture overview
      • Resource configuration
      • Basic operations
      • Operation using a grid
  • Admin UI
    • Getting started
  • Bootstrap Admin UI
    • Getting started
  • Resource
    • Resource Bundle documentation
      • Installation
      • Create new resource
      • Configure your resource
      • Configure your operations
      • Validation
      • Redirect
      • Resource factories
      • Providers
      • Processors
      • Responders
      • Legacy Resource Documentation
        • Configuration
        • Services
        • Routing
        • Forms
        • Getting a Single Resource
        • Getting a Collection of Resources
        • Creating Resources
        • Updating Resources
        • Deleting Resources
        • Configuring a state machine
        • Configuration Reference
  • Grid
    • Grid Bundle documentation
      • Installation
      • Creating your first grid
      • Configuring Fields
      • Field types
      • Creating a custom Field Type
      • Creating a custom Action
      • Creating a custom Bulk Action
      • Filters
      • Creating a custom Filter
      • Advanced configuration
      • Configuration Reference
  • 🍀Twig Extra
    • Getting started
  • 🌱Twig Hooks
    • Getting started
    • Passing data to your hookables
    • Making your hookables configurable
    • Autoprefixing feature
    • Composable Layouts with a predictable structure
    • Advanced
      • Ergonomic work with hooks
      • Metadata objects
      • Multiple hooks inside a single template
      • Overriding hookables
Powered by GitBook
On this page
  • SyliusResourceBundle
  • Resource system for Symfony applications.
  • New documentation
  • Deprecated documentation
  • Learn more
  1. Resource

Resource Bundle documentation

PreviousGetting startedNextInstallation

Last updated 5 months ago

SyliusResourceBundle

There are plenty of things you need to handle for every single Resource in your web application.

Several "Admin Generators" are available for Symfony, but we needed something really simple, that will allow us to have reusable controllers but preserve the performance and standard Symfony workflow. We did not want to generate any code or write "Admin" class definitions in PHP. The big goal was to have exactly the same workflow as with writing controllers manually but without actually creating them!

Another idea was not to limit ourselves to a single persistence backend. Resource component provides us with generic purpose persistence services and you can use this bundle with multiple persistence backends. So far we support:

  • Doctrine ORM

  • Doctrine MongoDB ODM

  • Doctrine PHPCR ODM

Resource system for Symfony applications.

New documentation

Deprecated documentation

Learn more

- concept documentation

Installation
Create a new resource
Configure your resource
Configure your operations
Validation
Redirect
Resource Factories
Providers
Processors
Responders
Legacy Resource Documentation
Resource Layer in the Sylius platform