DEV Community

Cover image for Introducing Whitecat - Your Ultimate PHP Development Toolbox
Gianluca Benucci
Gianluca Benucci

Posted on

Introducing Whitecat - Your Ultimate PHP Development Toolbox

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:

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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
Enter fullscreen mode Exit fullscreen mode

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)

Collapse
 
roxblnfk profile image
Aleksei Gagarin

Simple and helpful. I like.
Ideas:

  • add a command that will prepare all things (if they not exist) for a new Github Repository: .github folder with all files, .gitattributes, .gitignore, .editorconfig, README.md

Why PHP 8.1? Why not 8.2?

Collapse
 
trusted97 profile image
Gianluca Benucci

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.

Collapse
 
roxblnfk profile image
Aleksei Gagarin

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.

Collapse
 
trusted97 profile image
Gianluca Benucci

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

Collapse
 
alvisonhunter profile image
Alvison Hunter Arnuero | Front-End Web Developer

Thanks for sharing this!