Download the PHP package faithcatholic/custom_social without Composer

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

Custom Social

Provides a single block, "Facebook share", that renders a Facebook share button for whatever page it appears on. The block works out the absolute URL of the current page, then outputs Facebook's standard fb-share-button markup wrapped around a link to facebook.com/sharer/sharer.php for that URL. There is no settings form, no route and no permission of its own. What it shares is decided entirely by where you place the block and the visibility conditions you give it.

Requirements

Drupal 10.3+ or 11. The only dependency is core's Block module, which the standard profile already installs.

There are no contrib dependencies, and the module assumes nothing about your roles, content types, fields, views or media bundles. It works on a bare standard install.

To get Facebook's real button instead of a plain text link, the page also needs the Facebook JavaScript SDK. This module does not load it. See Notes below.

Installation

Install as usual at /admin/extend, or run drush en custom_social. Nothing else has to exist on the site first.

Usage

Development

DDEV is configured for this repository. The module itself lives at the repo root and is symlinked into web/modules/custom/custom_social. Both web/ and vendor/ are gitignored and rebuilt locally.

ddev start runs the bootstrap in .ddev/post-start.sh: it runs ddev poser to fetch core and dependencies, installs the site if the database is empty, symlinks the project into the modules directory, enables devel and custom_social, and prints a drush uli login link. The account is admin with the password 1.

Checks:

Add-ons in use: ddev-drupal-contrib, ddev-drupal-contrib-extras, ddev-drupal and pimp-my-shell.

Notes


All versions of custom_social 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 faithcatholic/custom_social contains the following files

Loading the files please wait ...