Download the PHP package os2display/screen-bundle without Composer

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

OS2Display screen-bundle

Bundle to add a screen frontend to the administration.

Description

This bundle adds screen as a bundle to the administration. Furthermore, it adds a new pull strategy to the frontend, where a middleware is not needed. If this strategy is chosen the options to reload the screen from the adminstration are lost.

By moving the screen into the adminstration the possibility of a preview of screens and channels in the administration has been added.

There is also a possibility of making public channels/screens that have a public url. This url can be opened by multiple browsers and uses the pull strategi.

Configuration

Add the following to routing.yml:

os2display_screen:
    resource: "@Os2DisplayScreenBundle/Resources/config/routing.yml"
    prefix:   /

Add the following to security.yml firewalls section:

screen_bundle_public:
    pattern: ^/screen/public/(.*)
    security: false

nginx setup

The following should be added to the admin nginx conf.

    location /middleware/ {
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Host $http_host;

        proxy_buffering off;

        proxy_pass http://nodejs_middleware/;
        proxy_redirect off;
    }

Alternatively this location name can be

Access screen with middleware

To open screen go to /screen/.

Access screen without middleware

Go to the administration under a screen. Make it publicly available. Distribute the url.

Configuration reference

These are the default config values (config.yml).

os2_display_screen:
    strategies:
       pull:
            enabled: true
            debug: false
            log_to_console: false
            log_level: error
            update_path: /screen/serialized
            # in seconds
            update_interval: 300
        push:
            enabled: true
            debug: false
            log_to_console: false
            log_level: error
            resource:
                server: '%absolute_path_to_server%/'
                uri: 'middleware'
            ws:
                server: '%middleware_host%'
            apikey: ''
            cookie:
                secure: false

Develop config

To enable debug information in develop mode, add the following to config_dev.yml.

os2_display_screen:
    strategies:
        pull:
            debug: true
            log_to_console: true
            log_level: all
        push:
            debug: true
            log_to_console: true
            log_level: all

Images of functionality

This same functions are available for screens as for channels.

Edit channel:

Publicly available channel:

New buttons added to overview:

Preview:


All versions of screen-bundle 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 os2display/screen-bundle contains the following files

Loading the files please wait ....