Stars: 392
Forks: 53
Pull Requests: 24
Issues: 34
Watchers: 22
Last Updated: 2021-12-23 15:42:04
Client and Server-side React.js rendering in a Symfony Bundle
License: MIT License
Languages: PHP
ReactBundle integrates ReactRenderer with Symfony. This lets you implement React.js client and server-side rendering in your Symfony projects, allowing the development of universal (isomorphic) applications.
Note: If you are new to React.js, please note that this bundle is not by any means required to use React with Symfony. This allows you to do some advanced features such as Server Side Rendering, or injecting components directly from Twig tags.
Features include:
For a complete example, with a sensible Webpack set up and a sample application to start with, check out Symfony React Sandbox.
The documentation for this bundle is available in the Resources/doc
directory of the bundle:
All the installation instructions are located in the documentation.
This bundle is under the MIT license. See the complete license in the bundle:
LICENSE.md
ReactBundle is heavily inspired by the great React On Rails, and uses its npm package to render React components.
The installation instructions have been adapted from https://github.com/KnpLabs/KnpMenuBundle. Because they were great.
Silex was discontinued in June 2018. However, if you wish to use ReactRenderer with Silex, check out @teameh Silex React Renderer Service Provider.