kunstmaan/bundles-cms
Kunstmaan CMS is a full-featured, multilingual CMS built on the Symfony full-stack framework. It offers page and form assembly, versioning, workflow, translation tools, and media management, plus integrations with community bundles.
The KunstmaanNodeBundle implements the Symfony CMF RoutingExtra bundle.
The default Symfony 3 router does not support multiple routers. To allow more flexibility, the Symfony CMF Chainrouter was chosen to support multiple routers. An example of the flexibility gained is the KunstmaanNodeBundle:SlugController routing was changed to no longer allow routing inside entity objects. This was previously needed to achieve some goals but can be replaced by adding a custom router.
To add a router simple create a service and tag it with 'router' and a priority. The default Symfony 3.1 router has priority 100. For more information about the Chainrouter see the official Symfony CMF RoutingExtra documentation.
The SlugController is now accessed through the SlugRouter (Kunstmaan\NodeBundle\Router\SlugRouter) and handles locales and multilanguage support. The SlugRouter will need to have 2 or 3 settings in order to route the requests in the correct manner to the SlugController:
If an url is requested and there is no language or slug given, the system will fall back to the default locale and an empty slug ('').
How can I help you explore Laravel packages today?