Download the PHP package skrip42/static-collector-bundle without Composer

On this page you can find all versions of the php package skrip42/static-collector-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 static-collector-bundle

symfony bundle that simplifies the work with statics

premise:

Often your included widgets or custom form UI elements need their own styles and scripts. The standard statics connection system offers 3 options for their connection:

this bundle offers an alternative without these disadvantages

how in works:

The StaticCollector is a global storage. During template execution, scripts, styles and assets are registered in the StaticsCollector. After the template is compiled into html, the statics collector places the statics in the marked places

install:

usage:

advanced:

static type

you can specify which statics should be placed (styles, scripts or all)

static order control

you can define the order of connecting statics, specifying it manually

the order number must be any integer. By default all statics have the order number 1000

division static into group

you can mark statics as belonging to some group

by default all statics are placed in the "default" group

work with static from php

you can connect and receive statics from your php code:


All versions of static-collector-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1
symfony/webpack-encore-bundle Version ^1.7
twig/twig Version ^2.12|^3.0
symfony/twig-bundle Version 5.*
skrip42/twig-postprocessor-bundle Version ^1.0.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 skrip42/static-collector-bundle contains the following files

Loading the files please wait ....