Download the PHP package goblindegook/shorthand without Composer

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

Shorthand

Packagist Scrutinizer Code Quality

A bunch of shortcodes developed for my site, now offered to the public. Shortcake is supported because, honestly, who doesn't love cake?

Installation

This plugin is not (yet?) available in the repository, Composer is the recommended way to install it:

If you want to know more about using Composer with WordPress, there's a good introduction at the Roots project site.

Shortcodes

Pull Quote

Renders a pull quote aside block with pull-quote and pull-quote--<center|left|right> classes. Integrates with Shortcake.

Usage: [pull-quote align="<center|left|right>"]CONTENT[/pull-quote]

Small Caps

Renders an inline element with a small-caps class.

Usage: [small-caps]CONTENT[/small-caps]

Underline

Renders an inline element with an underline class.

Usage: [u]CONTENT[/u]

Hooks

Filter: shorthand_scripts

Allows plugin and theme developers to filter or turn off the scripts bundled with Shorthand.

The quickest way to disable them completely is by calling add_filter( 'shorthand_scripts', '__return_empty_array' ); at the init step.

It's up to developers to enqueue their own replacement scripts for the frontend as well as Shortcake's live preview.

Parameters

$scripts : (array) Script URLs as (handle, URL) pairs.

$tag : (string) Shortcode tag name.

Filter: shorthand_styles

Allows plugin and theme developers to filter or turn off the stylesheets bundled with Shorthand.

The quickest way to disable them completely is by calling add_filter( 'shorthand_styles', '__return_empty_array' ); at the init step.

It's up to developers to enqueue their own replacement styles for the frontend as well as Shortcake's live preview.

Parameters

$styles : (array) Stylesheet URLs as (handle, URL) pairs.

$tag : (string) Shortcode tag name.

Filter: shorthand_shortcode

Allows plugin and theme developers to filter the output of a shortcode.

Parameters

$output : (string) Shortcode output to filter.

$atts : (array) Shortcode attributes.

$content : (string) Original inner content (for closing shortcodes).

$tag : (string) Shortcode tag.


All versions of shorthand with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
composer/installers Version ~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 goblindegook/shorthand contains the following files

Loading the files please wait ....