Download the PHP package fooman/phpstan-magento2-magic-methods without Composer

On this page you can find all versions of the php package fooman/phpstan-magento2-magic-methods. 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 phpstan-magento2-magic-methods

We are likely going to stop supporting this package in the near future. Changes in phpstan's autoloading are surfacing load order / class existence issues leading to classes being generated when they should be found via Composer's autoloading. As https://github.com/bitExpert/phpstan-magento does not have the same issue and does provide similar functionality we suggest checking it out instead as we will likely adopt it for our uses.

PHPStan Extension - Magento 2 Magic Methods

The extension bootstraps the same autoloader that is run when using Magento 2's unit tests. By default it will place the generated class under var/. Change the environment variable TESTS_TEMP_DIR to change the folder.

Installation Instructions via Composer

composer require --dev fooman/phpstan-magento2-magic-methods:^0.7

Note on required use of phpstan/extension-installer

Manual installation If the use of `phpstan/extension-installer` is not working for you undo the installation by adding to your project's composer.json file. Then manually include extension.neon in your project's PHPStan config: Or as an alternative approach you can check out https://github.com/bitExpert/phpstan-magento

All versions of phpstan-magento2-magic-methods with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1 || ^8.0
phpstan/phpstan Version >=0.12.26
phpstan/extension-installer Version ^1.0
magento/framework Version ^100.0 || ^101.0.0 || ^102.0.0 || ^103.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 fooman/phpstan-magento2-magic-methods contains the following files

Loading the files please wait ....