Download the PHP package buzzingpixel/ee-slim-bridge without Composer

On this page you can find all versions of the php package buzzingpixel/ee-slim-bridge. 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 ee-slim-bridge

Slim Bridge for ExpressionEngine

This is probably only of interest to me, but you're welcome to use this project if you come across it and like it.

I really like working in Slim, with FastRoute, and PSR standard interfaces. To that end, I've created this extremely simple ExpressionEngine Extension that let's me do the front-end of EE sites in Slim and mostly ignore that EE is there in the background.

Here's how to use it:

Since you're wanting to use Slim and PHP and PSR interfaces, it is assumed that you already have composer setup and are loading the vendor autoload.

  1. In your craft project, run composer require buzzingpixel/ee-slim-bridge
  2. Symlink or Docker mount or what ever you want to use vendor/buzzingpixel/ee-slim-bridge/src/ExpressionEngine to system/user/addons/slim_bridge
  3. Install the extension in the ExpressionEngine control panel
  4. Set up the configuration in your ExpressionEngine config file based on the examples in the [next section]((#config).

Config

In your config file, all configuration goes in an array key named 'slimBridge'.

Three keys are available in the config file (See example):

enabled

If this is not set to (bool) true, (string) 'yes', (string) 'y', (string) '1', or (int) 1, then Slim Bridge will not serve the front-end via Slim. This could be theoretically useful if you want to do some logic or other to determine whether a request should be sent to Slim or let ExpressionEngine serve the request as normal.

containerInterface

Slim requires an implementation of \Psr\Container\ContainerInterface and I've left this to project owners to provide. I've written what I think is a pretty good container implementation, and it is required as part of the project for internal use, so you could certainly configure and return an instance of that container.

appCreatedCallback

This is optional, but if you don't use it, then you won't have set any routes or middlewares and it will be useless to you. Once the app has been created, this callback will be run and the argument received will be the Slim App instance which you can use to set routes and middleware.


All versions of ee-slim-bridge with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
buzzingpixel/container Version ^1.1
slim/psr7 Version ^1.5
slim/slim Version ^4.9
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 buzzingpixel/ee-slim-bridge contains the following files

Loading the files please wait ....