Skip to content

xabbuh/ResourceBundle

 
 

Repository files navigation

Symfony CMF Resource Bundle

Build Status Latest Stable Version Total Downloads

This bundle is part of the Symfony Content Management Framework (CMF) and licensed under the MIT License.

This bundle provides object resource location services based on Puli.

Examples:

  • Static document path mapping: Map the path /routes to /cms/routes
  • Dynamic document resolution: Map the path /routes to /cms/<current site>/routes.
  • Access documents at a static location: Map /role/menu/main to /cms/menus/main-menu.

The first example could use the existing CMF base route configuration to resolve paths.

The benefit of the above two examples would be most strongly felt in association with another component which would provide a context for the document resource resolution.

For example, a Site which is matched against the incoming hostname would provide the context with which to resolve the documents.

Requirements

Documentation

Not yet.

Contributing

Pull requests are welcome. Please see our CONTRIBUTING guide.

Unit and/or functional tests exist for this bundle. See the Testing documentation for a guide to running the tests.

Thanks to everyone who has contributed already.

Running the tests

About

Resource Location for CMF documents based on Puli

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%