Download the PHP package tareqas/psym without Composer

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

pSym

A REPL for Symfony and PHP

pSym works both inside and outside Symfony project. When used within a Symfony project, it provides additional features such as access to variables like $kernel, $container, $doctrine, and $em. Additionally, all registered project commands become accessible as well.

The lse command and table(), sql(), and dql() functions are available when Doctrine is installed.

Function html() and features like auto-completion, auto-suggestion, and doc-and-signature work universally.

Installation

To install it, create a project using composer create-project in your preferred location. It supports PHP versions >=7.2 and works with Symfony versions 4, 5, 6, and 7.

Next, add the your-psym-installation-path/psym/bin/ directory to your system's PATH, so you can run the psym command directly from your shell.

Warning: Do not install it as a global or local package; it won't work.

Commands

Auto-complete and Auto-suggestion

auto-completion

To get suggestions, press the TAB key.

Note: Sometimes you may need to press SPACE first and then TAB.

Documentation and Signature

documentation and signature

You can view PHPDoc documentation and signature for function, property, and method.

lse

lse

The lse command lists all entities managed by Doctrine.

html()

The html() function dumps variables and renders them as a browsable HTML page. If any of your variables contain Doctrine objects, it will automatically instantiate all proxy objects.

You can fine-tune the dump by providing additional options in the last parameter as an associative array:

table()

The table() function retrieves a repository for a given entity. It returns a Doctrine\ORM\EntityRepository if no alias is provided, or a Doctrine\ORM\QueryBuilder if an alias is specified.

sql()

sql

The sql() function executes raw SQL queries and returns the result as an associative array. Doctrine is required to use this feature.

dql()

dql

The dql() function allows you to execute DQL queries and also returns the result as an associative array.

Limitation: Auto-completion may have limitations with entity classes due to backslashes (\). Other features work as expected.

And more

To unlock the full potential, explore the PsySH documentation. pSym is built on top of PsySH.


All versions of psym with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2
ext-json Version *
ext-tokenizer Version *
jetbrains/phpstorm-stubs Version @dev
phpstan/phpdoc-parser Version ^1.30
psy/psysh Version ^0.11
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 tareqas/psym contains the following files

Loading the files please wait ....