Ad

PHPStubs: PHP Runtime Header Files for PhpStorm

PHPStubs provides PHP runtime & extension header files for PhpStorm, enabling code completion, inspection, and more. It includes stubs for core PHP and standard extensions.
Screenshot of JetBrains/phpstorm-stubs homepage

PHPStubs delivers syntactically correct PHP files containing function and class signatures for PHP and its extensions. It addresses the need for accurate and complete information within the PhpStorm IDE. These stubs, heavily reliant on PHPDOC annotations, are crucial for IDE features like code completion and type checking. The project provides stubs for both core PHP functionality and a wide range of standard extensions.

The project offers comprehensive stubs for a vast array of PHP extensions, vital for accurate code analysis within PhpStorm. It facilitates enhanced code completion and static analysis by providing detailed type information. The modular design allows users to easily integrate and manage stubs for non-standard extensions. Updates are streamlined via Git, simplifying the maintenance of IDE compatibility.

  • Core PHP Functionality: Provides stubs for all core PHP functions, classes, and constants, ensuring comprehensive IDE support for standard PHP.
  • Extension Support: Includes stubs for numerous standard PHP extensions, enabling accurate code completion and inspection within projects utilizing these extensions.
  • Git Integration: Facilitates easy update and management of stubs using standard Git workflows, improving integration with development environments.
  • PHPDoc Focus: Relies on detailed PHPDOC annotations for accurate type information, improving code analysis and IDE functionality.
  • Docker-based Testing: Leverages Docker Compose for automated testing of stub maps, ensuring quality and reliability of the provided stubs.

The project is actively maintained, with regular updates and a community-driven approach to supporting non-standard extensions. While documentation is comprehensive, exception testing within the stubs is currently manual. Recent commits and issue activity indicate ongoing development and support.

PHPStubs benefits PHP developers using PhpStorm by providing accurate and complete runtime information, leading to improved coding efficiency and reduced errors. It streamlines development by offering readily available header files for code completion, inspection, and type checking, ultimately enhancing the overall IDE experience and simplifying project setup.

Summarize:
Share:
Stars
1,389
Forks
824
Issues
4
Created
11 years ago
Commit
18 days ago
License
APACHE-2.0
Archived
No
Updated 17 days ago

Similar Repositories