Download the PHP package cedricziel/l5-shariff without Composer

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

Laravel 5 Backend for Heise Shariff

Dependency Status

This package allows privacy-enabled share buttons on your site. With most sharing button solutions, the user pays with its privacy to be able to share or even view the share buttons.

With the Heise Shariff, the application backend acts on the users behalf.

Note: This package is a backend to the original frontend package and doesn't contain any frontend code.

Features

As of today, Shariff supports the following services:

Please see the up-to-date list on the Shariff Page.

This add-on also plugs into the standard laravel cache, so you dont have to worry too much about load.

Installation

Install the package:

Add the service provider to your application configuration in config/app.php:

Configuration

The ServiceProvider registers a default shariff route, so you can use it without any additional modifications.

Per default, the route to the shariff service is /_shariff. You override it, by simply overriding the route definition given in src/routes.php in your own routes.php.

Frontend assets

Shariff is available via NPM.

Installation:

Include the css from the npm package into your SCSS stylesheet:

Include the JavaScript to your JavaScript file resources/assets/scripts/app.js with browserify:

To override config options, you can put them in an object hash as second constructor argument:

For an overview of the available options, please have a look at the original reference.

If you use different asset files than the standard ones mentioned, you probably know what to do :)

Usage

You can easily display the buttons by including a blade template and pass some options.

Allowed options are:

Or:

TODO: Add helper

Advanced

You can publish the the config and the templates and customize / override them when needed.

License

The MIT License. Cedric Ziel [email protected]


All versions of l5-shariff with dependencies

PHP Build Version
Package Version
Requires heise/shariff Version ^4.0
illuminate/support Version 5.0.x|5.1.x|5.2.x
illuminate/cache Version 5.0.x|5.1.x|5.2.x
illuminate/config Version 5.0.x|5.1.x|5.2.x
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 cedricziel/l5-shariff contains the following files

Loading the files please wait ....