Download the PHP package kunoichi/block-library without Composer

On this page you can find all versions of the php package kunoichi/block-library. 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 block-library

Kunoich Block Library

A block library for WordPress theme.

Installation

Activate

First, load autoloader in your theme's functions.php.

2nd, enable block library.

Choose Blocks

If you want select blocks to be enabled, explicitly delcare the class names.

Available block classes are located in src/Kunoichi/BlockLibrary/Blocks.

Or else, you can exclude unwanted blocks with 2nd parameter.

How blocks Work

All blocks are registered via PHP Class and JavaScripts corresponding, thus 1 block has at least 1 php file and 1 js file.

PHP files are located at assts/js/blocks;

Registered Blocks

18 blocks are available.

Alert kunoichi/alert

Styled alert blocks.

Speech Bubble kunoichi/bubble

Speech bubble with avatar.

Link Card kunoichi/card

Card style link.
Parents: available only in kunoichi/cards

Cards kunoichi/cards

Display card style links. Helpful as category link list and so on.

Clipboard kunoichi/clipboard

Clipboard button for copying text.

Call To Action kunoichi/cta

Display UI parts to invoke user\'s action.
Dynamic Block: see CallToAction

Term kunoichi/dt

Definition Term.
Parents: available only in kunoichi/definition-list

Description kunoichi/dd

Definition Description.
Parents: available only in kunoichi/definition-list

Definition List kunoichi/definition-list

Definition list.

Internal Link kunoichi/internal-link

Same as Oembed link block, but this link is referred as post ID.
Dynamic Block: see InternalLink

Offer List kunoichi/offer-list

Display offer list of products with price, links, and spec.

Offer Content kunoichi/offer-content

Title, price, and specs of an offer.
Parents: available only in kunoichi/offer

Offer Action kunoichi/offer-action

Action link for offer block.
Parents: available only in kunoichi/offer

Offer kunoichi/offer

Product offer with price, link, and spec. Helpful for promoting external products.
Parents: available only in kunoichi/offer-list

Panel kunoichi/panel

Panel block for emphasized and separated contents.

Post List kunoichi/posts

Display post list in various format.
Dynamic Block: see PostList

Price Table kunoichi/price-table

Display price table. Insert 3 or 4 items.

Price Item kunoichi/price

Price item in price tables.
Parents: available only in kunoichi/price-table

Section kunoichi/section

Enhanced group block which supports background.

Step kunoichi/step

Step Block
Parents: available only in kunoichi/steps

How-to kunoichi/steps

Step by step how-tos. Ready for JSON-LD.

Testimonials kunoichi/testimonials

Display testimonials list.
Dynamic Block: see Testimonials

Tile kunoichi/tile

Tile item in tiled grid.
Parents: available only in kunoichi/tiled-grid

Tiled Grid kunoichi/tiled-grid

Grid style layout of panel items. Ready for text & background colors.

Toc kunoichi/toc

Display TOC extracted from Heading tags in post content.

Widgets

You can enable widgets in the same way as blocks.

This method also has $includes and $excludes params.

Development

This library is not plugin, so it does no effect by itself. Please make a empty theme and load from it.

Build Assets

This library build assets with npm.

License

This library is licensed under GPL 3.0 and later.

© 2019 Kunoichi INC.


All versions of block-library with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2
hametuha/wp-block-creator Version ^1.3.0
hametuha/rest-pattern Version ^1.1.0
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 kunoichi/block-library contains the following files

Loading the files please wait ....