A tool to automatically fix PHP Coding Standards issues by Dragon Code.

Overview

The Dragon Code Styler

the dragon code php code styler

Stable Version Unstable Version Total Downloads License

Installation

Required

  • PHP: ^8.0
  • Composer: ^2.0

Locally

composer global require dragon-code/codestyler

Usage

When you run the commands in the base path of the project, the composer.json file will be automatically read, from which the minimum PHP version for your project will be taken.

This is necessary to draw up rules for applying the codestyle.

For example, if your project supports PHP 7.2 and above, and you use the mkdir($path, 0755) function in it, then applying the rules for PHP 8.0 will break your code because it will replace 0755 with 0o755 (mkdir($path, 0o755)).

To prevent this from happening, we check the minimum PHP version.

Please note that the composer.json file is only read if the script execution is started in the folder with it.

CLI

# Check code-style.
codestyle check

# Check and fix code-style.
codestyle fix

# Update `.editorconfig`.
codestyle editorconfig

# Update Dependabot rules.
codestyle dependabot

GitHub Action

Check

Create a new .github/workflows/lint-check.yml file and add the content to it:

name: "Code-Style Check"

on: [ push, pull_request ]

jobs:
    build:
        runs-on: ubuntu-latest

        steps:
            -   name: Checkout code
                uses: actions/checkout@v2

            -   name: Checking PHP Syntax
                uses: TheDragonCode/[email protected]

Fixer

Create a new .github/workflows/lint-fixer.yml file and add the content to it:

name: "Code-Style Fixer"

on:
    push:
        branches: [ main ]

jobs:
    fix:
        runs-on: ubuntu-latest

        steps:
            -   name: Checkout code
                uses: actions/checkout@v2

            -   name: Checking PHP Syntax
                uses: TheDragonCode/[email protected]
                with:
                    # This token uses GitHub Actions to execute code.
                    # Required when `fix` is `true`.
                    # The default value is `${{ secrets.GITHUB_TOKEN }}`.
                    github_token: ${{ secrets.YOUR_TOKEN }}

                    # Activates the mode of accepting changes with the creation
                    # of commits.
                    fix: true

                    # Activates the actualization of the `.editorconfig` file.
                    # Works only when the `fix` option is enabled.
                    # By default, true
                    editorconfig: true

                    # Activates Dependabot file processing.
                    # Works only when the `fix` option is enabled.
                    # By default, true
                    dependabot: true

                    # Normalizing `composer.json`.
                    # Works only when the `fix` option is enabled.
                    # By default, true
                    normalize: true

Since the changes are pushed to the master branch, GitHub can block this action with a security policy.

To solve this problem, you need to be create of your account token and specify it in the Actions secrets section of the repository or organization.

The name of the variable containing the token must be passed to the github_token key.

Other CI/CD

composer global require dragon-code/codestyler

codestyle <command>

Configuration

By default, the linter scans all files in the current launch folder, except for folders such as vendor, node_modules and .github.

-   uses: TheDragonCode/[email protected]

By default, the linter only checks the code-style. If you want to apply the changes, then you need to activate this option:

-   uses: TheDragonCode/[email protected]
    with:
        fix: true

By default, GitHub Action does not allow versioning, so our project will create a configuration file for it, which will check for new versions once a day.

When Dependabot detects new versions of containers, it will automatically create a PR to your repository. So you don't need to keep track of updates - Dependabot will do everything for you 💪 😎

If the .github/dependabot.yml file has already been created, we will check it and add the necessary rules. So don't be afraid, nothing will be deleted 😎

Note

Files will be created only if you have specified fix: true.

Or you can manually run the Dependabot rule creation script by executing the codestyle dependabot command.

License

This package is licensed under the MIT License.

Comments
  • bootstrap directory should be ignored or how can we ignore any directory or file?

    bootstrap directory should be ignored or how can we ignore any directory or file?

    Feature description

    When we execute codestyle check/fix - It is also checking bootstrap directory and cache directory in laravel.

    I need to know is there any option to ignore specific directory? And if there is no option then how can we ignore specific directory or file?

    Envoronment

    • Code Styler Version: 2.1.0
    • PHP Version: 8.1
    opened by Jagdish-J-P 3
  • Bump TheDragonCode/codestyler from 1.12.4 to 1.13.0

    Bump TheDragonCode/codestyler from 1.12.4 to 1.13.0

    Bumps TheDragonCode/codestyler from 1.12.4 to 1.13.0.

    Release notes

    Sourced from TheDragonCode/codestyler's releases.

    v1.13.0

    What's Changed

    Full Changelog: https://github.com/TheDragonCode/codestyler/compare/v1.12.4...v1.13.0

    Commits
    • f5cd299 Merge pull request #68 from TheDragonCode/1.x
    • 7767722 Project names updated
    • bd13ad1 Fixed application of rules on projects with PHP 7.2 and 7.3
    • 02413bb Merge pull request #67 from TheDragonCode/1.x
    • db115c3 Added warning when running on old PHP version
    • 0501b6d Merge pull request #66 from TheDragonCode/1.x
    • 5bbd9a4 Update README.md
    • 2cbf9bd Changed container namespace in GitHub Actions
    • a85bda0 Updated code-style rules
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 3
  • Bump TheDragonCode/codestyler from 2.3.2 to 2.6.2

    Bump TheDragonCode/codestyler from 2.3.2 to 2.6.2

    Bumps TheDragonCode/codestyler from 2.3.2 to 2.6.2.

    Release notes

    Sourced from TheDragonCode/codestyler's releases.

    v2.6.2

    What's Changed

    Full Changelog: https://github.com/TheDragonCode/codestyler/compare/v2.6.1...v2.6.2

    v2.6.1

    What's Changed

    Full Changelog: https://github.com/TheDragonCode/codestyler/compare/v2.6.0...v2.6.1

    v2.6.0

    What's Changed

    Full Changelog: https://github.com/TheDragonCode/codestyler/compare/v2.5.0...v2.6.0

    v2.5.0

    What's Changed

    Full Changelog: https://github.com/TheDragonCode/codestyler/compare/v2.4.0...v2.5.0

    v2.4.0

    What's Changed

    Full Changelog: https://github.com/TheDragonCode/codestyler/compare/v2.3.2...v2.4.0

    Commits
    • dbbdac5 Merge pull request #94 from TheDragonCode/2.x
    • 1918809 Removed hard time reference when scanning dependencies
    • 769521d Fixed bug with applying risky changes
    • 1c4d20e Merge pull request #93 from TheDragonCode/2.x
    • 2e58175 The bootstrap folder added to exclusions
    • f11facb Update code-style 💻
    • a1cb00c Merge pull request #92 from TheDragonCode/2.x
    • 72da981 Update code-style 💻
    • 7841a31 Improved rules
    • 9671b7b Merge pull request #91 from TheDragonCode/2.x
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 2
  • Bump TheDragonCode/codestyler from 2.1.0 to 2.2.0

    Bump TheDragonCode/codestyler from 2.1.0 to 2.2.0

    Bumps TheDragonCode/codestyler from 2.1.0 to 2.2.0.

    Release notes

    Sourced from TheDragonCode/codestyler's releases.

    v2.2.0

    What's Changed

    Full Changelog: https://github.com/TheDragonCode/codestyler/compare/v2.1.0...v2.2.0

    Commits
    • 915fb64 Merge pull request #83 from TheDragonCode/2.x
    • 1890ed0 Merge remote-tracking branch 'origin/main' into 2.x
    • b915798 Merge remote-tracking branch 'origin/2.x' into 2.x
    • bb2b0de Added filling in permission keys to launch plugins
    • cb7479e Merge pull request #81 from TheDragonCode/dependabot/github_actions/TheDragon...
    • e17d6a4 Bump TheDragonCode/codestyler from 2.0.3 to 2.1.0
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 2
  • Bump actions/checkout from 2 to 3

    Bump actions/checkout from 2 to 3

    ⚠️ Dependabot is rebasing this PR ⚠️

    Rebasing might not happen immediately, so don't worry if this takes some time.

    Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


    Bumps actions/checkout from 2 to 3.

    Release notes

    Sourced from actions/checkout's releases.

    v3.0.0

    • Update default runtime to node16

    v2.4.0

    • Convert SSH URLs like org-<ORG_ID>@github.com: to https://github.com/ - pr

    v2.3.5

    Update dependencies

    v2.3.4

    v2.3.3

    v2.3.2

    Add Third Party License Information to Dist Files

    v2.3.1

    Fix default branch resolution for .wiki and when using SSH

    v2.3.0

    Fallback to the default branch

    v2.2.0

    Fetch all history for all tags and branches when fetch-depth=0

    v2.1.1

    Changes to support GHES (here and here)

    v2.1.0

    Changelog

    Sourced from actions/checkout's changelog.

    Changelog

    v2.3.1

    v2.3.0

    v2.2.0

    v2.1.1

    • Changes to support GHES (here and here)

    v2.1.0

    v2.0.0

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

    Dependabot will merge this PR once it's up-to-date and CI passes on it, as requested by @andrey-helldar.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 2
  • Bump TheDragonCode/codestyler from 2.3.1 to 2.3.2

    Bump TheDragonCode/codestyler from 2.3.1 to 2.3.2

    Bumps TheDragonCode/codestyler from 2.3.1 to 2.3.2.

    Release notes

    Sourced from TheDragonCode/codestyler's releases.

    v2.3.2

    Full Changelog: https://github.com/TheDragonCode/codestyler/compare/v2.3.1...v2.3.2

    Commits
    • a7637ae Fixed codestyle for json
    • a37b94b Update FUNDING.yml
    • f50e288 Merge pull request #87 from TheDragonCode/dependabot/github_actions/TheDragon...
    • eb3790a Bump TheDragonCode/codestyler from 2.3.0 to 2.3.1
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump TheDragonCode/codestyler from 2.3.0 to 2.3.1

    Bump TheDragonCode/codestyler from 2.3.0 to 2.3.1

    Bumps TheDragonCode/codestyler from 2.3.0 to 2.3.1.

    Release notes

    Sourced from TheDragonCode/codestyler's releases.

    v2.3.1

    What's Changed

    • Updated .editorconfig file

    Full Changelog: https://github.com/TheDragonCode/codestyler/compare/v2.3.0...v2.3.1

    Commits
    • df6e5cf Update .editorconfig
    • f5455f2 Merge pull request #86 from TheDragonCode/dependabot/github_actions/TheDragon...
    • 3606716 Bump TheDragonCode/codestyler from 2.2.0 to 2.3.0
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump TheDragonCode/codestyler from 2.2.0 to 2.3.0

    Bump TheDragonCode/codestyler from 2.2.0 to 2.3.0

    Bumps TheDragonCode/codestyler from 2.2.0 to 2.3.0.

    Release notes

    Sourced from TheDragonCode/codestyler's releases.

    v2.3.0

    What's Changed

    Full Changelog: https://github.com/TheDragonCode/codestyler/compare/v2.2.0...v2.3.0

    Commits
    • c9d730c Merge pull request #85 from TheDragonCode/2.x
    • 4cf3e97 Update GitHub Actions rules
    • 417776f Update .editorconfig 📖
    • 564cf7c Update .editorconfig
    • 866f47b Updated permissions to run plugins 🦾
    • c4f6382 Merge pull request #84 from TheDragonCode/dependabot/github_actions/TheDragon...
    • 2dcfe4e Update Dependabot 🤖
    • f4f0e3f Bump TheDragonCode/codestyler from 2.1.0 to 2.2.0
    • 3251184 Update dependabot.yml
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump TheDragonCode/codestyler from 2.0.3 to 2.1.0

    Bump TheDragonCode/codestyler from 2.0.3 to 2.1.0

    Bumps TheDragonCode/codestyler from 2.0.3 to 2.1.0.

    Release notes

    Sourced from TheDragonCode/codestyler's releases.

    v2.1.0

    Full Changelog: https://github.com/TheDragonCode/codestyler/compare/v2.0.3...v2.1.0

    Commits
    • f6c80ee Merge pull request #80 from TheDragonCode/2.x
    • 611fdc2 Added message about missing composer.json file
    • 20d88d1 Merge pull request #79 from TheDragonCode/main
    • 32d6fd1 Normalize composer.json 👀
    • 1cf3bd3 Update code-style 💻
    • 4b45964 Fixed PHP versions compare and added version tests
    • 894274b Removed symfony 5.x components
    • 501fb61 Merge pull request #78 from TheDragonCode/dependabot/github_actions/TheDragon...
    • 4eca6eb Bump TheDragonCode/codestyler from 2.0.1 to 2.0.3
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump TheDragonCode/codestyler from 2.0.1 to 2.0.3

    Bump TheDragonCode/codestyler from 2.0.1 to 2.0.3

    Bumps TheDragonCode/codestyler from 2.0.1 to 2.0.3.

    Release notes

    Sourced from TheDragonCode/codestyler's releases.

    v2.0.3

    Full Changelog: https://github.com/TheDragonCode/codestyler/compare/v2.0.2...v2.0.3

    v2.0.2

    Full Changelog: https://github.com/TheDragonCode/codestyler/compare/v2.0.1...v2.0.2

    Commits
    • a551188 Update config.sh
    • 63ec3c7 Update config.sh
    • 3ecc665 Merge pull request #77 from TheDragonCode/dependabot/github_actions/TheDragon...
    • a0ae34e Bump TheDragonCode/codestyler from 2.0.0 to 2.0.1
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump TheDragonCode/codestyler from 2.0.0 to 2.0.1

    Bump TheDragonCode/codestyler from 2.0.0 to 2.0.1

    Bumps TheDragonCode/codestyler from 2.0.0 to 2.0.1.

    Release notes

    Sourced from TheDragonCode/codestyler's releases.

    v2.0.1

    What's Changed

    Full Changelog: https://github.com/TheDragonCode/codestyler/compare/v2.0.0...v2.0.1

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
Releases(v2.6.2)
  • v2.6.2(Aug 28, 2022)

    What's Changed

    • Removed hard time reference when scanning dependencies by @andrey-helldar in https://github.com/TheDragonCode/codestyler/pull/94

    Full Changelog: https://github.com/TheDragonCode/codestyler/compare/v2.6.1...v2.6.2

    Source code(tar.gz)
    Source code(zip)
  • v2.6.1(Aug 28, 2022)

    What's Changed

    • Fixed bug with applying risky changes by @andrey-helldar in https://github.com/TheDragonCode/codestyler/pull/93

    Full Changelog: https://github.com/TheDragonCode/codestyler/compare/v2.6.0...v2.6.1

    Source code(tar.gz)
    Source code(zip)
  • v2.6.0(Aug 26, 2022)

    What's Changed

    • The bootstrap folder added to exclusions by @andrey-helldar in https://github.com/TheDragonCode/codestyler/pull/92

    Full Changelog: https://github.com/TheDragonCode/codestyler/compare/v2.5.0...v2.6.0

    Source code(tar.gz)
    Source code(zip)
  • v2.5.0(Aug 26, 2022)

    What's Changed

    • Added --risky option by @andrey-helldar in https://github.com/TheDragonCode/codestyler/pull/90
    • Improved rules by @andrey-helldar in https://github.com/TheDragonCode/codestyler/pull/91

    Full Changelog: https://github.com/TheDragonCode/codestyler/compare/v2.4.0...v2.5.0

    Source code(tar.gz)
    Source code(zip)
  • v2.4.0(Aug 26, 2022)

    What's Changed

    • Update codestyle rules by @andrey-helldar in https://github.com/TheDragonCode/codestyler/pull/89

    Full Changelog: https://github.com/TheDragonCode/codestyler/compare/v2.3.2...v2.4.0

    Source code(tar.gz)
    Source code(zip)
  • v2.3.2(Aug 17, 2022)

  • v2.3.1(Jul 7, 2022)

  • v2.3.0(Jun 24, 2022)

    What's Changed

    • Update .editorconfig by @andrey-helldar

    Full Changelog: https://github.com/TheDragonCode/codestyler/compare/v2.2.0...v2.3.0

    Source code(tar.gz)
    Source code(zip)
  • v2.2.0(Jun 16, 2022)

    What's Changed

    • Added filling in permission keys to launch plugins by @andrey-helldar in https://github.com/TheDragonCode/codestyler/pull/83

    Full Changelog: https://github.com/TheDragonCode/codestyler/compare/v2.1.0...v2.2.0

    Source code(tar.gz)
    Source code(zip)
  • v2.1.0(May 5, 2022)

  • v2.0.3(May 4, 2022)

  • v2.0.2(May 4, 2022)

  • v2.0.1(Apr 21, 2022)

    What's Changed

    • Dependency bug fixed by @andrey-helldar in https://github.com/TheDragonCode/codestyler/pull/76

    Full Changelog: https://github.com/TheDragonCode/codestyler/compare/v2.0.0...v2.0.1

    Source code(tar.gz)
    Source code(zip)
  • v2.0.0(Apr 20, 2022)

    What's Changed

    • Bump dragon-code/support 6 support by @andrey-helldar in https://github.com/TheDragonCode/codestyler/pull/75

    Full Changelog: https://github.com/TheDragonCode/codestyler/compare/v1.13.1...v2.0.0

    Source code(tar.gz)
    Source code(zip)
  • v1.13.1(Mar 1, 2022)

    What's Changed

    • Fixed docblocks codestyle by @andrey-helldar in https://github.com/TheDragonCode/codestyler/pull/72

    Full Changelog: https://github.com/TheDragonCode/codestyler/compare/v1.13.0...v1.13.1

    Source code(tar.gz)
    Source code(zip)
  • v1.13.0(Mar 1, 2022)

    What's Changed

    • Added warning when running on old PHP version by @andrey-helldar in https://github.com/TheDragonCode/codestyler/pull/66
    • Fixed application of rules on projects with PHP 7.2 and 7.3 by @andrey-helldar in https://github.com/TheDragonCode/codestyler/pull/67
    • Project names updated by @andrey-helldar in https://github.com/TheDragonCode/codestyler/pull/68

    Full Changelog: https://github.com/TheDragonCode/codestyler/compare/v1.12.4...v1.13.0

    Source code(tar.gz)
    Source code(zip)
  • v1.12.4(Feb 15, 2022)

    What's Changed

    • Changed repository name from php-codestyler to codestyler by @andrey-helldar in https://github.com/TheDragonCode/codestyler/pull/65

    Full Changelog: https://github.com/TheDragonCode/codestyler/compare/v1.12.3...v1.12.4

    Source code(tar.gz)
    Source code(zip)
  • v1.12.3(Feb 15, 2022)

    What's Changed

    • Correcting ANSI output by @andrey-helldar in https://github.com/TheDragonCode/php-codestyler/pull/64

    Full Changelog: https://github.com/TheDragonCode/php-codestyler/compare/v1.12.2...v1.12.3

    Source code(tar.gz)
    Source code(zip)
  • v1.12.2(Feb 15, 2022)

    What's Changed

    • Updated Docker rules by @andrey-helldar in https://github.com/TheDragonCode/php-codestyler/pull/62

    Full Changelog: https://github.com/TheDragonCode/php-codestyler/compare/v1.12.1...v1.12.2

    Source code(tar.gz)
    Source code(zip)
  • v1.12.1(Feb 15, 2022)

    What's Changed

    • Updated docker comile rules by @andrey-helldar in https://github.com/TheDragonCode/php-codestyler/pull/60
    • Updated docker compile rules by @andrey-helldar in https://github.com/TheDragonCode/php-codestyler/pull/61

    Full Changelog: https://github.com/TheDragonCode/php-codestyler/compare/v1.12.0...v1.12.1

    Source code(tar.gz)
    Source code(zip)
  • v1.12.0(Feb 15, 2022)

    What's Changed

    • Improved work with console command by @andrey-helldar in https://github.com/TheDragonCode/php-codestyler/pull/59

    Full Changelog: https://github.com/TheDragonCode/php-codestyler/compare/v1.11.1...v1.12.0

    Source code(tar.gz)
    Source code(zip)
  • v1.11.1(Feb 15, 2022)

    What's Changed

    • Fixed PHP version check by @andrey-helldar in https://github.com/TheDragonCode/php-codestyler/pull/58

    Full Changelog: https://github.com/TheDragonCode/php-codestyler/compare/v1.11.0...v1.11.1

    Source code(tar.gz)
    Source code(zip)
  • v1.11.0(Feb 15, 2022)

    What's Changed

    • Added composer.json normalizer by @andrey-helldar in https://github.com/TheDragonCode/php-codestyler/pull/53
    • Removed unnecessary condition by @andrey-helldar in https://github.com/TheDragonCode/php-codestyler/pull/54
    • Removed symfony/thanks by @andrey-helldar in https://github.com/TheDragonCode/php-codestyler/pull/55
    • Added detection of minimum PHP version used by @andrey-helldar in https://github.com/TheDragonCode/php-codestyler/pull/56
    • Added PHP 7.4 support and Fixed merging rules by @andrey-helldar in https://github.com/TheDragonCode/php-codestyler/pull/57

    Full Changelog: https://github.com/TheDragonCode/php-codestyler/compare/v1.10.8...v1.11.0

    Source code(tar.gz)
    Source code(zip)
  • 1.12-rc.1(Feb 15, 2022)

  • v1.10.8(Feb 13, 2022)

  • v1.10.7(Feb 13, 2022)

  • v1.10.6(Feb 13, 2022)

    What's Changed

    • Temporarily disabled symfony/thanks call by @andrey-helldar in https://github.com/TheDragonCode/php-codestyler/pull/49

    Full Changelog: https://github.com/TheDragonCode/php-codestyler/compare/v1.10.5...v1.10.6

    Source code(tar.gz)
    Source code(zip)
  • v1.10.5(Feb 13, 2022)

    What's Changed

    • Fixed condition by @andrey-helldar in https://github.com/TheDragonCode/php-codestyler/pull/48

    Full Changelog: https://github.com/TheDragonCode/php-codestyler/compare/v1.10.4...v1.10.5

    Source code(tar.gz)
    Source code(zip)
  • v1.10.4(Feb 13, 2022)

    What's Changed

    • Return symfony/thanks by @andrey-helldar in https://github.com/TheDragonCode/php-codestyler/pull/47

    Full Changelog: https://github.com/TheDragonCode/php-codestyler/compare/v1.10.3...v1.10.4

    Source code(tar.gz)
    Source code(zip)
  • v1.10.3(Feb 13, 2022)

    What's Changed

    • Added major version limit in container by @andrey-helldar in https://github.com/TheDragonCode/php-codestyler/pull/45
    • Removed symfony/thanks by @andrey-helldar in https://github.com/TheDragonCode/php-codestyler/pull/46

    Full Changelog: https://github.com/TheDragonCode/php-codestyler/compare/v1.10.2...v1.10.3

    Source code(tar.gz)
    Source code(zip)
Owner
The Dragon Code
The Dragon Code
Public API for the project coding.events. Made in PHP 8.0 with Lumen 8, PHP-FPM, NGINX and MySQL 8.

coding.events API Uma API feita apenas para passar o tempo, montando uma API para o site <coding.events>. Sinta-se livre para usar esse código como es

Kaique Garcia 3 Oct 9, 2022
A collection of common algorithms implemented in PHP. The collection is based on "Cracking the Coding Interview" by Gayle Laakmann McDowell

PHPAlgorithms A collection of common algorithms implemented in PHP. The collection is based on "Cracking the Coding Interview" by Gayle Laakmann McDow

Doğan Can Uçar 921 Dec 18, 2022
Tarfin Take-Home Coding Challenge

TarfinKart Problemi Bu problemin temel amacı, kodlama stilini ve seçimlerini belirleyebilmektir. TarfinKart Problemi benzeri görülmemiş bir çözüm geli

Tarfin 3 Jun 8, 2022
Automatically validating Eloquent models for Laravel

Validating, a validation trait for Laravel Validating is a trait for Laravel Eloquent models which ensures that models meet their validation criteria

Dwight Watson 955 Dec 25, 2022
Automatically disable Google's FLoC in Laravel apps

Automatically disable Google's FLoC in Laravel apps This package will automatically disable Google's FLoC. Support us We invest a lot of resources int

Spatie 68 Oct 21, 2022
Record created by, updated by and deleted by on Eloquent models automatically.

quarks/laravel-auditors Record created by, updated by and deleted by (if SoftDeletes added) on Eloquent models automatically. Installation composer re

Quarks 3 Jun 13, 2022
Automatically load your helpers in your laravel application.

Laravel AutoHelpers Automatically load your helpers in your laravel application. Installation You can install the package via composer: composer requi

Florian Wartner 6 Jul 26, 2021
Automatically encrypt and decrypt Laravel 5 Eloquent values

Eloquent Encryption/Decryption for Laravel 5 Automatically encrypt and decrypt Laravel 5 Eloquent values. READ THIS FIRST Encrypted values are usually

Del 85 Mar 19, 2022
Is an Extension of Laravel View Class which compiles String Template on the fly. It automatically detects changes on your string template and recompiles it if needed.

Laravel-fly-view Is an Extension of Laravel View Class which compiles String Template on the fly. It automatically detects changes on your string temp

John Turingan 16 Jul 17, 2022
Package to optimize your site automatically which results in a 35%+ optimization

Laravel Page Speed Simple package to minify HTML output on demand which results in a 35%+ optimization. Laravel Page Speed was created by Renato Marin

Renato Marinho 2.2k Dec 28, 2022
Automatically generate ERD Diagrams from Model's relations in Laravel

Laravel ERD Generator Automatically generate interactive ERD from Models relationships in Laravel. This package provides a CLI to automatically genera

Pulkit Kathuria 90 Dec 29, 2022
Searches for multilingual phrases in Laravel project and automatically generates language files for you.

Laravel Lang Generator Searches for multilingual phrases in a Laravel project and automatically generates language files for you. You can search for n

Gleb 5 Oct 19, 2022
Laravel Migrations Generator: Automatically generate your migrations from an existing database schema.

Laravel Migrations Generator Generate Laravel Migrations from an existing database, including indexes and foreign keys! This package is cloned from ht

Kit Loong 1.4k Jan 1, 2023
Simple address and contact management for Laravel with automatically geocoding to add longitude and latitude

Laravel Addresses Simple address and contact management for Laravel with automatically geocoding to add longitude and latitude. Installation Require t

Chantouch Sek 2 Apr 4, 2022
Blacksmith is a code generation tool which automates the creation of common files that you'd typically create for each entity in your application.

Blacksmith is a code generation tool which automates the creation of common files that you'd typically create for each entity in your application.

Indatus 197 Dec 30, 2022
A code generation tool for Laravel developers.

Blueprint is an open-source tool for rapidly generating multiple Laravel components from a single, human readable definition. Watch a quick demo of Bl

Laravel Shift 2.4k Jan 5, 2023
🔌 Convert Bootstrap CSS code to Tailwind CSS code

Tailwindo This tool can convert Your CSS framework (currently Bootstrap) classes in HTML/PHP (any of your choice) files to equivalent Tailwind CSS cla

Awssat 938 Dec 24, 2022
Email-flooder - A CLI flooder e-mail tool, made in PHP.

E-mail flooder (PHP 8.0.13) You can send emails to any server, however the request must come from Gmail. (Remember to enable less secure apps to be ab

null 2 Dec 17, 2021
Laravel 4.* and 5.* service providers to handle PHP errors, dump variables, execute PHP code remotely in Google Chrome

Laravel 4.* service provider for PHP Console See https://github.com/barbushin/php-console-laravel/releases/tag/1.2.1 Use "php-console/laravel-service-

Sergey 73 Jun 1, 2022