mphpmaster / style-attribute
Laravel HTML style attribute builder
dev-main
2021-12-24 00:36 UTC
Requires
- php: >=7.4
- laravel/framework: >=7
- laravel/helpers: ^1.1
This package is auto-updated.
Last update: 2024-10-24 07:14:42 UTC
README
Installation:
composer require mphpmaster/style-attribute
Composer Commands:
-
composer a:routes
Useartisan route:list
and write the output toroutes.txt
. -
composer c:c
Useartisan
to clear cache, route, config and view files. -
composer m:c
Createsessions
,views
andsessions
directories instorage/framework
then chomdstorage/framework
775 for the user as owner.
Example :
$p = app('style-attribute')
->cursor('pointer', true)
->backgroundColor('var(--primary)', true);
dd( "<label style='{$p}'>Label</label>" );
License
The Laravel framework is open-sourced software licensed under the MIT license.
The Laravel HTML style attribute builder is open-sourced software licensed under the MIT license.