Download the PHP package pskordilakis/blade-class-directive without Composer
On this page you can find all versions of the php package pskordilakis/blade-class-directive. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download pskordilakis/blade-class-directive
More information about pskordilakis/blade-class-directive
Files in pskordilakis/blade-class-directive
Download pskordilakis/blade-class-directive
More information about pskordilakis/blade-class-directive
Files in pskordilakis/blade-class-directive
Vendor pskordilakis
Package blade-class-directive
Short Description Laravel blade class directive
License MIT
Homepage https://github.com/pskordilakis/blade-class-directive
Package blade-class-directive
Short Description Laravel blade class directive
License MIT
Homepage https://github.com/pskordilakis/blade-class-directive
Please rate this library. Is it a good library?
Informations about the package blade-class-directive
Blade Class Directive
Inspired by classnames for react.
Installation
Usage
@class directive accepts a variable number of arguments that can be of type string or array and returns(prints) a class attribute for an HTML element. Any string argument will be added as part of the value of the class attribute. For the array arguments, the entries will be filtered based on the value (truthy/falsy) and the key will be added to the class value
String arguments
Array Arguments
Mixed Arguments
On HTML elements
All versions of blade-class-directive with dependencies
PHP Build Version
Package Version
The package pskordilakis/blade-class-directive contains the following files
Loading the files please wait ...