Website π contributte.org | Contact π¨π»βπ» f3l1x.io | Twitter π¦ @contributte
Visual PHP_CodeSniffer playground. Browse 160+ sniffs, check your code, and generate custom rulesets.
- Sniff Catalog - Browse all available PHP_CodeSniffer sniffs with descriptions and examples
- Code Playground - Paste PHP code, select rules, see errors and auto-fixed output
- Ruleset Generator - Export selected sniffs as a ready-to-use
ruleset.xml - Shareable URLs - Share your configurations with others
- PHP 8.2+
- Node.js 18+
- Composer
# Clone repository
git clone https://github.com/contributte/codestyler.git
cd codestyler
# Install dependencies
make install
make setup
# Build assets
make build# Run development server (PHP + Vite)
make dev
# Or run separately:
make server # PHP server on port 8000
make assets # Vite dev serverOpen http://localhost:8000 in your browser.
| Command | Description |
|---|---|
make install |
Install Composer dependencies |
make build |
Build frontend assets for production |
make dev |
Start development servers |
make server |
Start PHP built-in server |
make assets |
Start Vite dev server |
make tests |
Run test suite |
make cs |
Check code style |
make csf |
Fix code style |
make clean |
Clean temp/cache directories |
make sniffs-cache |
Clear sniffs cache |
- Backend: Nette Framework with Contributte packages
- Frontend: Alpine.js, TailwindCSS, CodeMirror 6
- Build: Vite
- Analysis: PHP_CodeSniffer, Slevomat Coding Standard
See how to contribute to this package. This package is currently maintained by these authors.
Consider to support contributte development team. Also thank you for using this package.