Download the PHP package kallbuloso/laravel-blade-directives without Composer

On this page you can find all versions of the php package kallbuloso/laravel-blade-directives. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-blade-directives

Laravel Blade Directives

Latest Version on Packagist Total Downloads Build Status

A collection of nice Laravel Blade directives.

Installation

You can install the package via composer:

Usage

@istrue

Only show when isset and true.

Or when you would like to quickly echo

@isfalse

Same as but checks for isset and false.

@isnull

Only show when is null.

@isnotnull

Same as but one shows when is not null.

@dump and @dd

@mix

Create a HTML element to your Laravel-Mix css or js.

Output:

@style

Create a element or element with a css path.

@script

Create a element with or without a js path.

@inline

Load the contents of a css or js file inline in your view.

@pushonce

Same as @push but will include content one time only. Useful for repeatable blocks.

First parameter must follow the syntax stack-name:group-name.

Include pushes with standard @stack directive:

@routeis

Checks if the current route name is equal to the given parameter. You can use a wildcard like blog.post.*.

@routeisnot

Checks if the current route name is not equal to the given parameter. You can use a wildcard like blog.post.*

@instanceof

Checks if the first parameter is an instance of the second parameter.

@typeof

Checks if the parameter is of a certain type.

@repeat

Repeat something a specified amount of times.

@fa, @fas, @far, @fal, @fab, @mdi, @glyph

Quickly output an icon with Font Awesome, Material Design Icons or Glyphicon.

@data

Output data-attributes from an array.

@haserror

Quickly output for classical to determine if any error messages exist for a given field.

Testing

Contributing

Contributions are welcome, thanks to y'all :)

About kallbuloso

kallbuloso is a small team from The Netherlands. We create (open source) tools for webdevelopment and write about related subjects on Medium. You can follow us on Twitter, buy us a beer or support us on Patreon.

License

The MIT License (MIT). Please see License File for more information.


All versions of laravel-blade-directives with dependencies

PHP Build Version
Package Version
Requires laravel/framework Version ~5|~6|~7
laravelcollective/html Version ~5|~6|~7
illuminate/support Version ~5|~6|~7
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package kallbuloso/laravel-blade-directives contains the following files

Loading the files please wait ....