LaravelPackages.net
Acme Inc.
Toggle sidebar
mphpmaster/style-attribute

Laravel HTML style attribute builder

0
0
About mphpmaster/style-attribute

mphpmaster/style-attribute is a Laravel package for laravel html style attribute builder. It currently has 0 GitHub stars and 0 downloads on Packagist. Install it with composer require mphpmaster/style-attribute. Discover more Laravel packages by mphpmaster or browse all Laravel packages to compare alternatives.

Last updated

Laravel HTML style attribute builder

Installation:

composer require mphpmaster/style-attribute

Composer Commands:

  • composer a:routes Use artisan route:list and write the output to routes.txt.

  • composer c:c Use artisan to clear cache, route, config and view files.

  • composer m:c Create sessions, views and sessions directories in storage/framework then chomd storage/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.

Comments