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

dev-main 2021-12-24 00:36 UTC

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: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.