psalm README

项目的 README,来自 github.com/vimeo/psalm。合并为一个 markdown 文件:README.md。

Psalm

Packagist Packagist Psalm coverage Psalm level

Psalm is a static analysis tool for finding errors in PHP applications.

Join the official Psalm news channel and the Psalm community on Telegram and Discord!

Installation

To get started, check out the installation guide.

Live Demo

You can play around with Psalm on its website.

Documentation

Documentation is available on Psalm’s website, generated from the docs folder.

Support Psalm development

You can support Psalm development by requesting a support contract from Daniil Gentili, the only active maintainer of Psalm.

Support contracts can cover full integration of Psalm into existing codebases, support for Psalm issues and development of additional Psalm features.

See here » for info, pricing and contact information.

Interested in contributing?

Have a look at CONTRIBUTING.md.

Who made this

Built by Matt Brown (@muglug).

Maintained by Daniil Gentili (@danog), Alies Lapatsin (@alies-dev) and Orklah (@orklah).

Former maintainer: Bruce Weirdan (@weirdan).

The engineering team at Vimeo have provided a lot encouragement, especially @nbeliard, @erunion and @nickyr.

psalm (vimeo/psalm)

正在搜索数据库…

5.9K ·GitHub
这是什么?Psalm 是一款静态分析工具,它在不运行应用的情况下扫描 PHP 代码,查找错误和安全漏洞。
这是我要导入的库,还是我要运行的工具?这是一个你对 PHP 项目运行的工具,而不是要导入到应用里的代码。
我该怎么让它跑起来?README 中没有列出命令。它指向 Psalm 官网上的安装指南,如果你想先试用,官网上还有一个在线演示。
我需要先准备什么?README 没有列出任何前置要求。Psalm 面向 PHP 应用,因此你需要一个 PHP 代码库来进行分析。具体的运行环境请查看安装指南。
Psalm 中的类型推断是做什么的?Psalm 会根据代码本身推算出变量和返回值的类型,因此即使你没有写明确的类型提示,它也能标出类型不匹配的值。
什么是污点分析?它会追踪不可信的输入(例如用户数据)从进入应用的地方一直到被使用的地方,并在这些数据未经妥善处理就流入数据库查询等危险位置时发出警告。
它也能在 Windows 和 macOS 上运行吗?README 没有列出支持的操作系统。作为一个 PHP 命令行工具,它通常可以在任何能运行 PHP 的地方使用,但请查看安装指南确认。
作者
vimeo
大小
181.3 MB
星标
5.9K
时长
9年
提交 · 90 天