Download the PHP package webvpf/wn-share-plugin without Composer

On this page you can find all versions of the php package webvpf/wn-share-plugin. 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 wn-share-plugin

Share

Share Buttons - plugin for Winter CMS. Plugin component displays share buttons.

Инструкция на русском языке: https://github.com/WebVPF/wn-share-plugin/wiki

Installation Сomposer:

Social Networks and Messengers:

Features:

Selecting and Sorting Buttons

Specify the id of the buttons that you want to display, separated by commas (fb, tw, vk, ok, in, tg, vb, wa)

Component Share Buttons

In this case, you can specify the order in which the buttons will be displayed.

You can do a similar layout:

or


Button Style

Silver

Silver

Color

Color

With text

With text

Simple settings are available in the component settings.

Disable css

You can completely disable predefined css in component settings. Styles can be placed in css themes or wherever convenient for you.


Paste buttons

If you work with code, you can insert buttons as follows:

Buttons:

CSS:

Skins:

Function share

You can call the share() function from within your scripts.

Parameter Type Required Description
id string Yes Social network ID (fb, tw, vk, ok, in, tg, vb, wa)
paramsUrl object No Can have search and hash options.

Examples

The following example will send a page link to the Telegram messenger.

search parameter

Part of the address after ?

hash parameter

The part of the URL that comes after the pound sign '#'

search and hash parameters


All versions of wn-share-plugin with dependencies

PHP Build Version
Package Version
No informations.
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 webvpf/wn-share-plugin contains the following files

Loading the files please wait ....