Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 21, 2024 via composer

phpstan/phpstan 1.10.48

PHPStan - PHP Static Analysis Tool
Package summary
Share
0
issues
1
license
1
MIT
Package created
4 Jan 2016
Version published
8 Dec 2023
Maintainers
1
Total deps
1
Direct deps
0
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
phpstan/phpstan@1.10.48
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

0
All Dependencies CSV
β“˜ This is a list of phpstan/phpstan 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities

Visualizations

Frequently Asked Questions

What does phpstan/phpstan do?

PHPStan is a static analysis tool for PHP. It is designed to find errors in your code without actually running it. PHPStan is capable of detecting classes of bugs even before you write tests for the code. This makes PHP development a lot more efficient and moves PHP closer to compiled languages by allowing the correctness of each line of code to be checked before it is run. PHPStan is an invaluable tool for maintaining code quality and bug prevention.

How do you use phpstan/phpstan?

PHPStan is easy to use. To start using PHPStan, you need to require it in your project using Composer via the require command:

composer require --dev phpstan/phpstan

Once PHPStan is installed, you can analyse your project's code using the analyse command:

vendor/bin/phpstan analyse src

Here, "src" would be the directory you want to analyse. If you have a directory structure, you can include multiple directories separated by a space.

Where are the phpstan/phpstan docs?

The comprehensive documentation for PHPStan is conveniently hosted on the phpstan.org website. This includes the 'Getting Started' guide, User Guides, Config Reference, PHPDocs Basics, API Reference, and several more essential resources. All information related to PHPStan, such as developing extensions, a library of extensions, configuration options, and usage best practices can be found in these documentation pages, making it the go-to source for any PHPStan-related queries.