Download the PHP package jrmgx/interactive-bundle without Composer

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

InteractiveBundle

A bundle to use the php REPL PsySH with Symfony, learn more at psysh.org.

What this Bundle do exactly?

Quick Look

To start:

service helper

service $your_variable_name = the_service_identifier

You don't have to put the full service name, the helper will do its best to find out.

instance helper

instance $your_variable_name = the_class_name

You don't have to put the full class name, the helper will do its best to find out.

Full Example

That's it! You now have a new entry in your database.

Aside from that it's the plain old PsySH! You can also customize it to add your own commandes and variables.

Install

You should use Composer to install the bundle to your project:

Usage

Customize PsySH

Adding a custom command

Adding a custom command for PsySH is as simple as inheriting from Psy\Command\Command.

Adding custom variables

It is possible to add custom variables to the shell via configuration. Variables can be of any type, container parameters references (e.g. %kernel.debug%) or even services (prefixed with @, e.g. "@my_service").

Now if you run bin/interactive and then ls, you will see the variables $foo, $router, $some and $debug.

Credits

This bundle is developed by Jerome Gangneux

This project has been made possible thanks to:


All versions of interactive-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
ext-json Version *
psy/psysh Version ^0.12
symfony/error-handler Version ^7.0|^8.0
symfony/expression-language Version ^7.0|^8.0
symfony/finder Version ^7.0|^8.0
symfony/framework-bundle Version ^7.0|^8.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 jrmgx/interactive-bundle contains the following files

Loading the files please wait ...