- What is glhd/aire-bootstrap and what problem does it solve?
- glhd/aire-bootstrap is a Bootstrap 5 theme for the Aire form builder in Laravel. It renders Aire form components such as inputs, selects, checkboxes, validation states, and buttons with clean, accessible Bootstrap 5 markup, so you do not hand-write component classes. It is a presentation layer for Aire, not a standalone form builder.
- How do I install glhd/aire-bootstrap with Composer?
- Install it with Composer using composer require glhd/aire-bootstrap. Because it is a Laravel theme, you will typically also have glhd/aire installed and configured in the same application. Check the README for any service provider registration, config publishing, or asset publishing steps, then select the Bootstrap theme in your Aire configuration.
- Does glhd/aire-bootstrap support Laravel 10?
- The 2.1.2 release note explicitly adds Laravel 10 support, so 2.1.2 is the version to use on Laravel 10. That note is thin, though: confirm whether 2.1.2 widened the constraint to ^9.0 || ^10.0 or replaced it with ^10.0 only. Run composer show glhd/aire-bootstrap --all and inspect the illuminate/* and php requirements before upgrading.
- What PHP and Laravel versions does glhd/aire-bootstrap require?
- Laravel 10 requires PHP 8.1 or newer, so 2.1.2 may raise your runtime floor if earlier versions supported Laravel 8 or 9. The exact supported matrix is defined in the package composer.json and CI, not in the release note. Verify the require block for illuminate/support, illuminate/database, and php before rolling it out.
- How do I apply the Bootstrap 5 theme to my Aire forms?
- Aire themes are selected through the form builder theme configuration rather than per-field classes. Register or select the Bootstrap 5 theme in your Aire setup, then render forms as usual and Aire will emit Bootstrap markup. Confirm the exact config key or theme registration method in the package README for your Aire version.
- Does the theme handle validation errors and invalid states?
- Yes, validation states are a stated part of the theme, so invalid fields should receive Bootstrap classes such as is-invalid and accompanying invalid-feedback markup. Aire surfaces Laravel validation errors, and the theme maps them to Bootstrap conventions. Test the exact error markup in your app, since class names and wrapping can vary by Aire version.
- Can I customize or override the Bootstrap markup?
- You can usually customize by publishing the theme views or extending the theme class, but the package README is the source of truth for supported extension points. If the theme is a class that maps components to Blade views, overriding those views is the cleanest path. Avoid editing vendor files directly, since Composer updates will overwrite them.
- How should I test forms rendered with glhd/aire-bootstrap?
- Write feature tests that render representative Aire forms and assert the expected Bootstrap classes, such as form-control, form-select, form-check, is-invalid, and invalid-feedback. Include validation-failure cases so error markup is covered. Run the suite against every Laravel and PHP combination you support, and keep a committed lockfile so theme or framework constraint changes are visible in review.
- Is glhd/aire-bootstrap production-ready and actively maintained?
- The evidence is thin: a single patch-level release note and no changelog or dependency manifest in the review packet. Treat it as provisional and check the GitHub repository for release cadence, open issues, Laravel 10 or PHP 8.1 reports, and maintainer responsiveness. Integration risk is low if 2.1.2 only widens constraints, but higher if it silently drops Laravel 9 or swaps deprecated APIs.
- What are alternatives to glhd/aire-bootstrap?
- Alternatives include writing your own Blade components for Bootstrap 5 forms, using Laravel anonymous Blade components, or choosing a different Aire theme such as a Tailwind theme if that matches your stack. A dedicated theme package saves time only if it matches your Bootstrap and Aire versions. If the package looks unmaintained, a small in-house theme is often the safer path.