Download the PHP package mitopp/bootstrap-twig-components-bundle without Composer
On this page you can find all versions of the php package mitopp/bootstrap-twig-components-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mitopp/bootstrap-twig-components-bundle
More information about mitopp/bootstrap-twig-components-bundle
Files in mitopp/bootstrap-twig-components-bundle
Package bootstrap-twig-components-bundle
Short Description Useful Twig Components for the Bootstrap framework.
License MIT
Homepage https://github.com/mitopp/bootstrap-twig-components-bundle
Informations about the package bootstrap-twig-components-bundle
Bootstrap Twig Components Bundle
[!WARNING]
This Bundle is experimental and subject to change in a future release.
This bundle allows you to create robust and reusable Twig components, styled by the Bootstrap Framework. This bundle does not deliver Bootstrap CSS/JavaScript itself. This keeps control of the user.
The bundle is kept simple and without strict configuration. This allows customizations to the Bootstrap Framework to be largely resolved.
Requirements
- PHP v8.2.x
- Symfony v7.3.x
- Bootstrap v5.3.x
Installation
Run the following command to install:
If you use Symfony Flex in your application, you are ready.
Otherwise, keep reading because you need to perform some manual configuration.
Manual Configuration for Applications Not Using Symfony Flex
In most Symfony applications you don't need to make any of the following changes. These steps are only required for applications that have opted not to use Symfony Flex.
First, register two bundles in your application. Edit the config/bundles.php
file and add the following:
That's all! You are now ready to use TwigComponents in your application.
Components
- [x] Alert for contextual feedback messages.
- [x] Button for actions in forms, dialogs, and more.
- [ ] [Link]() TBD
- [ ] [Card]() TBD
- [x] Icon for displaying icons.
- [ ] [Modal]() TBD
- [ ] [Toast]() TBD
Contributing
If you want to contribute to the project and make it better, your help is very welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.
License
This bundle is licensed under the MIT License.
All versions of bootstrap-twig-components-bundle with dependencies
symfony/framework-bundle Version ^7.0
symfony/ux-twig-component Version ^2.31
symfony/twig-bundle Version ^7.0
twig/html-extra Version ^3.22
twig/extra-bundle Version ^3.22