A PHP framework for organizing command line programs and a collection of Magento 2 code generation scripts.
Pestle is a PHP framework for creating and organizing command line programs, with a strong focus on Magento 2 code generation. It provides a collection of scripts to streamline module creation and other development tasks, while also experimenting with Python-style module imports as an alternative to PHP's namespace system.
PHP developers working with Magento 2 who need efficient code generation tools, and developers interested in alternative command line frameworks or module systems for PHP.
Developers choose Pestle for its specialized Magento 2 code generation capabilities and its unique approach to module imports, offering a lightweight, organized alternative to more heavyweight CLI frameworks like Symfony Console.
A collection of command line scripts for Magento 2 code generation, and a PHP module system for organizing command line scripts.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Includes dedicated commands like 'generate_module' to automate Magento 2 module creation, streamlining development workflows as shown in the README example.
Offers an experimental pestle_import function as an alternative to PHP's namespace system, addressing frustrations with PHP's design for module loading.
Provides a composer-compatible autoloader (library/autoloader.php) that allows Pestle code to be used in other PHP projects via standard Composer workflows.
Includes an experimental bash completion script that auto-completes command names, enhancing CLI usability for supported systems like macOS with Homebrew.
Key components like the module import system and tab completion are labeled as experimental, making them unreliable for production use and prone to changes.
Primarily designed for Magento 2 code generation, limiting its utility for general PHP CLI development or projects outside the Magento ecosystem.
Admits to cache issues during upgrades that require manual fixes, such as removing /tmp/pestle_cache, indicating potential breaking changes and maintenance headaches.