mphpmaster / style-attribute
Laravel HTML style attribute builder
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/mphpmaster/style-attribute
Requires
- php: >=7.4
- laravel/framework: >=7
- laravel/helpers: ^1.1
This package is auto-updated.
Last update: 2025-10-24 09:33:35 UTC
README
Installation:
composer require mphpmaster/style-attribute
Composer Commands:
-
composer a:routesUseartisan route:listand write the output toroutes.txt. -
composer c:cUseartisanto clear cache, route, config and view files. -
composer m:cCreatesessions,viewsandsessionsdirectories instorage/frameworkthen chomdstorage/framework775 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.