Download the PHP package modera/backend-on-steroids-bundle without Composer

On this page you can find all versions of the php package modera/backend-on-steroids-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 backend-on-steroids-bundle

ModeraBackendOnSteroidsBundle

Bundle makes it easier to optimize backend's loading speed for up to 50%, it does it in several ways:

Installation

Add this dependency to your composer.json:

"modera/backend-on-steroids-bundle": "~1.0"

Update your AppKernel class and add ModeraBackendOnSteroidsBundle declaration there:

new Modera\BackendOnSteroidsBundle\ModeraBackendOnSteroidsBundle()

Documentation

Once you have installed the bundle please use modera:backend-on-steroids:generate-scripts command, once executed it will generated four shell scripts for you:

See Modera\BackendOnSteroidsBundle\DependencyInjection\Configuration for a full list of available configuration properties.

In order to make your extjs classes visible to modera:backend-on-steroids:copy-classes-to-workspace, you need to contribute to modera_backend_on_steroids.extjs_classes_paths extension-point or if you are not going to distribute your bundles you can use modera_backend_on_steroids/compiler/path_patterns configuration property.

Typical workflow

  1. $ app/console modera:backend-on-steroids:generate-scripts
  2. Make generated scripts executable (when modera:backend-on-steroids:generate-scripts is executed required shell command is printed that you can use)
  3. $ ./steroids-setup.sh
  4. $ app/console modera:backend-on-steroids:copy-classes-to-workspace
  5. $ ./steroids-compile-bundles.sh
  6. $ ./steroids-compile-mjr.sh

Once this steps are completed, given that you haven't changed this bundle's semantic configuration compiler/path_patterns property), when you refresh backend you should see that MJR.js and bundles.js are automatically included using "script" tags. Script steroids-setup.sh you need to execute only once per foundation installation or after you have used steroids-cleanup.sh.

Troubleshooting

Sencha Cmd not finding classes

If, while executing ./steroids-compile-bundles.sh you are getting BUILD FAILED similar to this one:

It means that your file, which in this case is located at /var/www/packages/bundles/src/MyCompany/mypackage/CustomerHistory.js is referencing a class MyCompany.mypackage.CustomerHistoryActivity which Sencha Cmd compiler cannot find. This usually means one of two things:

Licensing

This bundle is under the MIT license. See the complete license in the bundle: Resources/meta/LICENSE


All versions of backend-on-steroids-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6
modera/mjr-integration-bundle Version ~2.0|~3.0|~4.0
sergeil/expander-bundle Version ~1.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 modera/backend-on-steroids-bundle contains the following files

Loading the files please wait ....