Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Symfony2 Coding Standard Laravel Package

m6web/symfony2-coding-standard

Symfony2 coding standard ruleset for PHP_CodeSniffer from M6Web, providing a ready-to-use standard aligned with Symfony2 conventions to help keep code style consistent across teams and projects.

View on GitHub
Deep Wiki
Context7

Symfony2 PHP CodeSniffer Coding Standard

Latest Stable Version Total Downloads

A code standard to check against the Symfony coding standards, forked from opensky/Symfony2-coding-standard to allow installation with composer.

The reason of the fork is to use this PHP CodeSniffer coding standard with M6Web/Coke. More details on our tech blog (in french).

We also added to this project our own standard for our Symfony2 developments entitled M6Web_Symfony2.

Installation

  1. Install composer

  2. Create a composer.json file which contains:

    {
        "require-dev": {
            "m6web/coke": "~2.1",
            "m6web/Symfony2-coding-standard": "~3.1"
        }
    }
    
  3. Install dev dependencies

    composer update --dev
    
  4. Create a .coke file a the root of the project who contain:

    standard=vendor/m6web/symfony2-coding-standard/Symfony2
    

    or if you want to use our standard:

    standard=vendor/m6web/symfony2-coding-standard/M6Web_Symfony2
    
  5. Enjoy

    ./vendor/bin/coke
    

Credits

Developped by M6Web, cloned from lapistano/Symfony2-coding-standard. The PHP_CodeSniffer 2.0+ Symfony2 standard is very broadly inspired from escapestudios/Symfony2-coding-standard

License

This project is licensed under the MIT license.

License

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
besmartand-pro/php-quality-config
sentix/ai-chatbot
terminal42/code-quality-tools
codifyo/ts-generator-bundle
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity