The PHPStan Stack is a pre-configured collection of PHPStan setups designed to streamline static analysis for PHP projects. It provides ready-to-use configurations that enforce strict type safety and coding standards, allowing you to focus on building features instead of resolving analysis errors.
GitHub Organization → /premierstacks
Premierstacks is a premier organization delivering a complete ecosystem of libraries, packages, and templates for full-stack web development. It provides end-to-end solutions for backend systems, APIs, and frontend interfaces built on PHP, Laravel, TypeScript, React, and Material Design 3.
Beyond code, Premierstacks focuses on creating a seamless development experience, offering support tools for planning, architecture, deployment, and long-term project maintenance. Each resource within the ecosystem is crafted with precision, adhering to strict quality standards, and designed to scale effortlessly.
From initial project planning and logical architecture to seamless development workflows and optimized production deployment, Premierstacks delivers tools engineered for excellence across every stage of the software lifecycle.
Premierstacks exists to solve the recurring challenges of modern software development: inconsistency, poor maintainability, and fragmented tooling. It offers a complete ecosystem of libraries, templates, and supporting tools, designed to streamline workflows, enforce best practices, and ensure long-term reliability.
Every component in Premierstacks is crafted with precision, following strict quality standards. From backend logic to frontend interfaces and infrastructure tooling, the focus remains on delivering scalable, future-proof, and seamless solutions. With Premierstacks, development becomes faster, cleaner, and more consistent—right from the first line of code to final deployment.
GitHub Personal → /tomchochola
The Tomchochola GitHub profile features a range of public and private repositories, including experimental tools, independent projects, and legacy systems. These repositories often represent unique solutions that exist outside the strict quality and structural guidelines of Premierstacks.
Here, you’ll find codebases that may belong to different ecosystems, technologies, or experimental workflows. Some projects serve specific use cases, while others are standalone solutions or serve as proof-of-concept prototypes. This profile is a playground for ideas, tools, and resources that might not fully align with the long-term goals of Premierstacks but still offer value and insight into various aspects of software development.
Tomáš Chochola is a software architect, technical leader, and creator of the Premierstacks ecosystem. With years of experience in backend and frontend development, cloud infrastructure, and team management, he has established a reputation for delivering scalable, maintainable, and robust software solutions.
His expertise spans backend systems built on PHP and Laravel, frontend interfaces designed with React and Material Design 3, and efficient workflows powered by modern tooling and infrastructure solutions.
Backend Development: PHP, Laravel, JSON:API
Frontend Development: TypeScript, React, Material Design 3
Tooling: ESLint, Prettier, Webpack, PHPStan, PHP CS Fixer, Stylelint
GitHub Sponsors -> /sponsors/tomchochola
Premierstacks is now freely available under the Creative Commons BY-ND 4.0 license, offering high-quality tools, libraries, and templates to the developer community. While the ecosystem remains open and accessible, its growth, updates, and ongoing maintenance depend on individual support.
By sponsoring Tomáš Chochola on GitHub Sponsors, you directly contribute to the continued development, improvement, and long-term sustainability of Premierstacks. Every contribution supports the creation of reliable, scalable, and future-proof solutions for developers worldwide.
Your support makes a difference—thank you for being a part of this journey.
Creative Commons Attribution-NoDerivatives 4.0 International
Copyright © 2025, Tomáš Chochola chocholatom1997@gmail.com. Some rights reserved.
This license requires that reusers give credit to the creator. It allows reusers to copy and distribute the material in any medium or format in unadapted form only, even for commercial purposes.
The Creative Commons BY-ND 4.0 license is perfectly suited to Premierstacks. It offers developers the freedom to integrate the software into their projects while preserving the original author’s vision and ensuring consistency across the ecosystem.
Dynamic linking and object-oriented programming practices, such as inheritance or method overriding, are fully permitted. This enables seamless adaptation of the software in dynamic contexts without violating the license. However, static linking, forks, or modifications that alter the software’s original form are prohibited to maintain its integrity and prevent the creation of fragmented or subpar versions.
By protecting the core quality and unity of Premierstacks, this license ensures that developers can confidently rely on it as a trusted, high-standard solution for their projects.
Explore the predefined templates for various configurations in the /templates directory. These templates provide quick-start setups for different environments.
/templates/recommended.template
/templates/premierstacks.template
1. Review the documentation and license
Ensure this package fits your needs and that you agree with the terms.
2. Install the package
Setup composer repostory:
composer config repositories.premierstacks/phpstan-stack '{"type": "vcs", "url": "/~https://github.com/premierstacks/phpstan-stack.git", "no-api": true}'
Install using composer:
composer require --dev premierstacks/phpstan-stack:@dev
3. Select a template
Choose one of the predefined configuration templates from the /templates directory that best suits your project’s needs.
Use the cp
command to copy it into your project as /phpstan.neon
:
cp ./vendor/premierstacks/phpstan-stack/templates/recommended.template ./phpstan.neon
# or for internal use
cp ./vendor/premierstacks/phpstan-stack/templates/premierstacks.template ./phpstan.neon
4. CLI
Execute commands:
# perform static analysis
./venor/bin/phpstan analyse
📧 Email: chocholatom1997@gmail.com
👨 GitHub Personal: /~https://github.com/tomchochola
🏢 GitHub Organization: /~https://github.com/premierstacks
💰 GitHub Sponsors: /~https://github.com/sponsors/tomchochola
The following is a breakdown of the folder and file structure within this repository. It provides an overview of how the code is organized and where to find key components.
.
├── AUTHORS.md
├── composer.json
├── .editorconfig
├── eslint.config.js
├── .gitattributes
├── .gitignore
├── LICENSE
├── Makefile
├── package.json
├── prettier.config.js
├── .prettierignore
├── README.md
├── src
│ └── configs
│ ├── premierstacks.neon
│ └── recommended.neon
└── templates
├── premierstacks.template
└── recommended.template
4 directories, 16 files