Download the PHP package reload/os2display-slide-tools without Composer

On this page you can find all versions of the php package reload/os2display-slide-tools. 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 os2display-slide-tools

Os2Display Slide Tools

Tools for working with slides for https://github.com/os2display The tools are meant to help with slides that have "slides within". It is not meant to replace the slide advancer in Os2Display, but it can allow a slide setup once by a person to have as many sub-slides as needed.

The idea is that a slide will have a number of "data items". That could be a list of events for instance. Each event would be a data item. The slide can have any number of subslides that displays a number of data items.

Config variables

The variables here are the settings available on slides (in the [slidename].json file:

Variable name
sis_total_items How many data items should the slide have.
sis_items_pr_slide How many data items should be displayed on each subslide.
sis_subslide_duration How long should each subslide be displayed.
sis_cron_subscriber Identifier to use if you want your slide type to fetch data on cron.
sis_data_ttl_minutes How many minutes between data fetches for the slide type. Defaults to 10 minutes.

In config.yml these settings are available:

use_ttl determines if there should be a wait between fetching data for the slides. It's set to false by default.

Creating a new slide type

In your custom bundle, create a new template following the documentation here.

To take advantage of the tools in this repo you need to do a couple of things in your .json file:

The .js-file you link to in paths.js in the .json. file can take advantage of the sub-slide-advancing in this tool.

The Os2Display framework does not have a way to include more than one JS file for each slide, so you will have to use Gulp or whatever your tool of choice is to compile Resources/public/js/slides-in-slide.js from this library into your .js file for the slide.

You can then use the subslide advancement something like this:

Fetching data on Cron

Create a service in your bundle that implements Symfony's EventSubscriberInterface. In the getSubscribedEvents function, use something like this:

See this bundle for some examples on how to use this tool with cron.


All versions of os2display-slide-tools 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 reload/os2display-slide-tools contains the following files

Loading the files please wait ....