Robust components for the Laravel Framework.
Hearth Components requires Laravel >= 12.x and PHP >= 8.4.
You can install the package via composer:
composer require fluid-project/hearth-componentsOptionally, you can publish the views using
php artisan vendor:publish --tag="hearth-components-views"For component usage, see the wiki.
To run automated tests:
composer testTo test integration in a Laravel application:
-
Create a new Laravel project for testing.
laravel new hearth-test -
Answer the interactive questions in the installer as follows.
- Which starter kit would you like to use? None
- Which testing framework do you prefer? Pest
- Do you want to install Laravel Boost to improve AI assisted coding? No
- Which database will your application use? SQLite
- Would you like to run
npm install --ignore-scriptsandnpm run build? Yes
-
Add Hearth to your new Laravel project.
cd hearth-test composer require fluid-project/hearth-components -
Create a new view route and add components to the view as per the instructions.
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The BSD 3-Clause License. Please see License File for more information.