dhruva81/razor

Laravel blade components

v0.1.0 2022-12-11 04:50 UTC

README

Laravel blade components for common UI elements.

Installation

You can install the package via composer:

composer require dhruva81/razor

You can publish and run the migrations with:

php artisan vendor:publish --tag="razor-migrations"
php artisan migrate

You can publish the config file with:

php artisan vendor:publish --tag="razor-config"

This is the contents of the published config file:

return [
];

Optionally, you can publish the views using

php artisan vendor:publish --tag="razor-views"

Usage

$razor = new Dhruva81\Razor();
echo $razor->echoPhrase('Hello, Dhruva81!');

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.