Hey there, fellow developers! Today, I'm thrilled to introduce you to Whitecat, a powerful developer toolbox consisting of various CLI commands. Whitecat is specifically designed to make your PHP development journey smoother, eliminating the hassle of repetitive setups and configurations. Whether you're working on PHP packages, libraries, composer plugins, or any other project, Whitecat has got you covered!
Here are some of the exciting commands Whitecat offers:
Docker Setup: Dockerize your library effortlessly with this command. It provides you with a preconfigured Docker image featuring PHP 8.1 and Composer 2. Say goodbye to manual environment setups and embrace the convenience of containerization.
GitHub Workflow: Simplify your CI/CD pipeline with ease. This command allows you to add workflows for testing, code coverage analysis, and even deployment on popular platforms like ECS, GKE, or Terraform. Automate your processes and focus on what matters most—building great software.
GitHub Issue: Streamline your issue management workflow using this command. It enables you to add customizable templates for different types of issues, such as bugs and features. Ensure consistent issue reporting and make collaboration smoother than ever.
GitHub Pull: Enhance your pull request experience with this command. By adding templates for pull requests, you can provide clear guidelines and streamline the review process. Improve communication and collaboration within your development team.
PHP CS Fixer: Maintain a consistent code style effortlessly. This command sets up a configuration file with a predefined PHP-CS-Fixer style, ensuring that your codebase adheres to best practices and remains clean and readable.
PHPUnit: Set up a base configuration file for PHPUnit seamlessly. This command helps you establish a solid foundation for your PHPUnit testing framework, allowing you to write and execute unit tests with confidence.
To get started with Whitecat, all you need to do is run the following command in your project directory:
composer require --dev trusted97/whitecat
That's it! Whitecat will be installed as a development dependency in your project, ready to supercharge your PHP development process.
Don't forget to leave a ⭐️ on the Whitecat GitHub repository if you find it useful. Your support means a lot for me!
If you encounter any issues or have suggestions for new features, please feel free to open an issue. I value your feedback and i'm committed to making Whitecat even better with your contributions.
Remember, Whitecat is built by developers, for developers. We aim to make PHP development more enjoyable, efficient, and productive. Join our growing community, contribute your ideas, and let's make Whitecat the ultimate PHP development toolbox together!
Happy coding with Whitecat, and may your PHP development journey be filled with productivity and joy!
Happy coding,
Your Whitecat Developer
Top comments (5)
Simple and helpful. I like.
Ideas:
.github
folder with all files,.gitattributes
,.gitignore
,.editorconfig
,README.md
Why PHP 8.1? Why not 8.2?
Hi Aleksei!
In the latest release, I have added the GitHub command as you suggested.
Please let me know if you need any further assistance.
Hi. Nice to hear it.
My little feedback: it's hard to make a bug-issue because it requires reproduction URL and steps.
But sometimes need to just discuss some small things in the existing code or ask a question.
I think it will be great if you extract a new issue type or configure discussions in the project or simplify bug report form.
Hi Aleksei!
Thank you for your feedback!
This is a good idea and i'll add on the next minor version of the library. Feel free to open an Issue on GitHub about that.
Regarding the choice of php 8.1 it's because I'm currently using the 6.2 version of some Symfony packages that require php 8.1 as a minimum version and I wanted to keep this minimum requirement also in the library :D
Thanks for sharing this!