Download the PHP package noximo/phpstan-fileoutput without Composer

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

PHPStan FileOutput

An error formatter for PHPStan that exports analysis result into HTML file

Installation

Usage

Edit or create your phpstan.neon file and register new error formatter. First two parameters are mandatory.

You can (and should) specify second parameter to use one of the other formatters as well, so console output will be unaffected:

At the time of writing of this readme these formatters were available by default in PHPStan:

Check PHPStan repository for possible updates.

Third parameter sets custom output template.

See table.phtml for implementation details and data structure.

Output

FileOutputer will generate HTML file (assuming default template) with hyperlinks directly into PHP files where errors were encountered. If you want to leverage clickable links, set up your enviromenent according to this article: https://tracy.nette.org/en/open-files-in-ide

Note: When you fix an error, file structure and line numbers can no longer correspond to line number at the time of analysis. You'll need to re-run PHPStan to regenerate output file. Errors are outputed in descending order (line-number wise) so there's bigger chance that you won't lines out of their current positions.


All versions of phpstan-fileoutput with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3
phpstan/phpstan Version >=0.12.7 <=1.2.0
nette/utils Version ^3.1.0
webmozart/path-util Version ^2.3.0
thecodingmachine/safe Version ^1.0.3
nette/neon Version ^3.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 noximo/phpstan-fileoutput contains the following files

Loading the files please wait ....