A SublimeLinter plugin that checks PHP syntax using the built-in php -l command.
SublimeLinter-php is a plugin for Sublime Text that performs real-time PHP syntax checking using the built-in `php -l` command. It integrates with the SublimeLinter framework to highlight syntax errors directly in the editor, helping developers catch mistakes as they write code in PHP, HTML, or HTML 5 files.
PHP developers using Sublime Text who want immediate feedback on syntax errors without leaving their editor.
It offers a straightforward, dependency-free way to validate PHP syntax by leveraging the official PHP interpreter, ensuring accuracy and compatibility with standard PHP tooling.
SublimeLinter 3 plugin for PHP, using php -l.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Uses the official `php -l` command, ensuring syntax validation is accurate and compatible with standard PHP versions without additional dependencies.
Works with PHP, HTML, and HTML 5 files in Sublime Text, allowing linting of PHP code embedded in web pages for versatile development.
Integrates with SublimeLinter to provide immediate feedback as you type, helping catch syntax errors early in the coding process.
Leverages the standard PHP toolchain, offering a stable and efficient linting experience with minimal overhead beyond basic setup.
Requires SublimeLinter to be installed separately, adding an extra layer of setup and maintenance compared to editor-native solutions.
The README links to troubleshooting PATH issues, indicating that ensuring the `php` executable is accessible can be problematic, especially on varied or restricted systems.
Only detects syntax errors via `php -l`, lacking advanced features like code style warnings, type checking, or security analysis found in tools like PHPStan.
Exclusive to Sublime Text, making it irrelevant for developers using other editors or IDEs, and not a cross-platform solution.