Skip to content

Latest commit

 

History

History
68 lines (52 loc) · 2.92 KB

README.md

File metadata and controls

68 lines (52 loc) · 2.92 KB

✅ SlimAPI Coding Standard

PHP Version Release License Build Code Coverage PHPStan

A PHP coding standard for better code readability, consistency, and adherence to best practices.

✨ Features

📘 Documentation

Dive into our Code Style Guide for a detailed explanation of our coding practices.

📦 Installation

  1. Add the dependency to your project:
    composer require --dev slimapi/coding-standard
  2. Create a phpcs.yml file in the project root:
    <ruleset name="PHP_CodeSniffer">
        <rule ref="./vendor/slimapi/coding-standard/src/ruleset.xml"/>
        <file>src</file>
    </ruleset>

🛠️ Local Development & Testing

Clone the repo, then use the power of make to simplify your workflow:

make help  # See all available commands
make run   # Start the app container
make test  # Run tests and code checkers

📜 License

This project is licensed under the terms specified in the LICENSE file.

🌟 Get Involved

We welcome contributions and suggestions! Please report any issues in the issue tracker.