Download the PHP package aerni/social-links without Composer

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

SocialLinks Statamic

This addon provides an easy way to create social profile and sharing links for channels like Facebook, Twitter and more.

Installation

Install the addon using Composer.


Supported Channels

This addon supports the following social channels: Facebook, GitHub, Instagram, LinkedIn, Mail, Pinterest, Telegram, Twitter, Vimeo, WhatsApp, Xing, YouTube


Profile Link

Create a link to a social profile by providing the social channel and handle of the profile:

Or using the shorthand:


Sharing Link

Create a sharing link by providing the social channel:

Or using the shorthand:

Parameters

There are a number of parameters you may use to customize the sharing links:

Facebook

Name Description Usage
url The URL of the page to share Optional
text The text of your post Optional

LinkedIn

Name Description Usage
url The URL of the page to share Optional
title The title of your post Optional
text The text of your post Optional
source The source of your post Optional

Mail

Name Description Usage
url The URL of the page to share Optional
to The email address you want to send the email to Optional
cc The email address to CC Optional
bcc The email address to BCC Optional
subject The subject of the email Optional
body The body of the email Optional

The url will be placed in the body of the email by default. You can customize the email body text by using the body parameter. Note, that this will override the default body text that includes the url. You will have to manually add the url in the body parameter like so:

Pinterest

Name Description Usage
url The URL of the page to share Optional
image The image to share Optional

Telegram

Name Description Usage
url The URL of the page to share Optional
text The description of your shared page Optional

Twitter

Name Description Usage
url The URL of the page to share Optional
text The text of your Tweet Optional
handle The twitter handle you want to add to the Tweet Optional

WhatsApp

Name Description Usage
url The URL of the page to share Optional

Xing

Name Description Usage
url The URL of the page to share Optional

Channel Name

Get the name of a social channel:

Or using the shorthand:


Tag Pair

You may also use a tag pair to get all the data at once:

Or using the shorthand:


All versions of social-links with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
statamic/cms Version ^4.0 || ^5.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 aerni/social-links contains the following files

Loading the files please wait ....