🙈 Code style configuration for `php-cs-fixer` based on PSR-12.

Overview

php-code-style

version codecov

Code style configuration for friendsofphp/php-cs-fixer based on PSR-12.

Installation

Step 1 of 3

Install gomzyakov/php-code-style via composer:

composer require --dev gomzyakov/php-code-style

The base package friendsofphp/php-cs-fixer will be installed automatically.

Step 2 of 3

Then create file .php-cs-fixer.dist.php at the root of your project with following contents:

<?php

use Gomzyakov\CS\Finder;
use Gomzyakov\CS\Config;

// Routes for analysis with `php-cs-fixer`
$routes = ['./src', './tests'];

return Config::createWithFinder(Finder::createWithRoutes($routes));

Change the value of $routes depending on where your project's source code is.

Step 3 of 3

And that's it! You can now find code style violations with following command:

./vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php --dry-run

And then completely fix them all with:

./vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php

Configuration

You must pass a set of routes to the Finder::createWithRoutes() call. For example, for Laravel projects, this would be:

Finder::createWithRoutes(['./app', './config', './database', './resources', './routes', './tests'])

Also, you can pass a custom set of rules to the Config::createWithFinder() call:

Config::createWithFinder($finder, [
    '@PHP81Migration'   => true,
    'array_indentation' => false
])

Support

If you find any package errors, please, make an issue in current repository.

License

This is open-sourced software licensed under the MIT License.

Special thanks

Comments
  • Redefining some parameters of complex rules is not working

    Redefining some parameters of complex rules is not working

    You can not redefine a specific parameter of a complex rule like binary_operator_spaces -> default due to its complexity.

    When you try redefine it like this:

    'binary_operator_spaces'            => [
        'default'   => 'single_space',
    ],
    

    operators option will reset to its PHP-CS-Fixer default instead of your package's default

    opened by LeTraceurSnork 1
  • Bump php from 8.0-alpine to 8.1.11-alpine

    Bump php from 8.0-alpine to 8.1.11-alpine

    Bumps php from 8.0-alpine to 8.1.11-alpine.

    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 docker 
    opened by dependabot[bot] 1
  • Update phpstan/phpstan requirement from ^1.0 to ^1.8

    Update phpstan/phpstan requirement from ^1.0 to ^1.8

    Updates the requirements on phpstan/phpstan to permit the latest version.

    Release notes

    Sourced from phpstan/phpstan's releases.

    1.8.11

    Improvements 🔧

    Bugfixes 🐛

    Commits
    • 46e223d PHPStan 1.8.11
    • 1dafc66 Updated PHPStan to commit 9e4e93b48cc32298c0a1661f14891307a22def7b
    • 7cacdc7 Updated PHPStan to commit dcd8bac24fdbe0723b9307f3f3b2e8e38cc7eae1
    • c4a9041 Updated PHPStan to commit 08703d1dacf47cc26a33542d0589bf7912c2aeb4
    • 857335f Updated PHPStan to commit 6a4eb02a146d1a1a9de0024c88fb2bd3a300ee93
    • fc0c01c Updated PHPStan to commit 83691977757661e4160c89a533cdaf589434d782
    • e5f4fb0 Updated PHPStan to commit 407cb5a367b002623abb45a4a1b27c0ca28f53e9
    • 4492c38 Updated PHPStan to commit e215a81e752007630421bb96b0d167da76ec2c6b
    • 10f11d2 Updated PHPStan to commit 4cdb8060b73fc09e25cf230041532f068974234d
    • 4047131 Updated PHPStan to commit ec5b6331e910e18bec1abfa4a1db8961509c7591
    • Additional commits viewable in compare view

    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
  • Update friendsofphp/php-cs-fixer requirement from ^3.8 to ^3.12

    Update friendsofphp/php-cs-fixer requirement from ^3.8 to ^3.12

    Updates the requirements on friendsofphp/php-cs-fixer to permit the latest version.

    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
  • Remove slashes before base classes

    Remove slashes before base classes

         /**
          * A list of the exception types that are not reported.
          *
    -     * @var array<int, class-string<Throwable>>
    +     * @var array<int, class-string<\Throwable>>
          */
    
    opened by gomzyakov 1
  • build: bump php from 8.1.13-alpine to 8.2.0-alpine

    build: bump php from 8.1.13-alpine to 8.2.0-alpine

    Bumps php from 8.1.13-alpine to 8.2.0-alpine.

    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 docker 
    opened by dependabot[bot] 0
  • Get rid of deprecation notices

    Get rid of deprecation notices

    Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\FilenameFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/bin/composer/vendor/symfony/finder/Iterator/FilenameFilterIterator.php:28
    Deprecation Notice: Return type of Composer\Repository\CompositeRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/bin/composer/src/Composer/Repository/CompositeRepository.php:178
    12 package suggestions were added by new dependencies, use `composer suggest` to see details.
    Generating autoload files
    Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\FileTypeFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/bin/composer/vendor/symfony/finder/Iterator/FileTypeFilterIterator.php:42
    Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/bin/composer/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php:55
    Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator::hasChildren() should either be compatible with RecursiveIterator::hasChildren(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/bin/composer/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php:71
    Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator::getChildren() should either be compatible with RecursiveIterator::getChildren(): ?RecursiveIterator, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/bin/composer/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php:76
    Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\FilterIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/bin/composer/vendor/symfony/finder/Iterator/FilterIterator.php:30
    Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\PathFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/bin/composer/vendor/symfony/finder/Iterator/PathFilterIterator.php:27
    
    enhancement 
    opened by gomzyakov 0
Releases(v1.9.0)
  • v1.9.0(Dec 30, 2022)

    What's Changed

    • feat: add .gitattributes by @LeTraceurSnork in https://github.com/gomzyakov/php-cs-fixer-config/pull/62

    New Contributors

    • @LeTraceurSnork made their first contribution in https://github.com/gomzyakov/php-cs-fixer-config/pull/62

    Full Changelog: https://github.com/gomzyakov/php-cs-fixer-config/compare/v1.8.0...v1.9.0

    Source code(tar.gz)
    Source code(zip)
  • v1.8.0(Dec 27, 2022)

    What's Changed

    • fix: redefining parameters of complex rules by @gomzyakov in https://github.com/gomzyakov/php-cs-fixer-config/pull/61
    • build: update Composer to v2.5.1 by @gomzyakov in https://github.com/gomzyakov/php-cs-fixer-config/pull/59

    Thanks to @LeTraceurSnork!

    Full Changelog: https://github.com/gomzyakov/php-cs-fixer-config/compare/v1.7.0...v1.8.0

    Source code(tar.gz)
    Source code(zip)
  • v1.7.0(Dec 27, 2022)

    What's Changed

    • feat: set only_untyped of phpdoc_add_missing_param_annotation to true by @gomzyakov in https://github.com/gomzyakov/php-cs-fixer-config/pull/57

    Full Changelog: https://github.com/gomzyakov/php-cs-fixer-config/compare/v1.6.0...v1.7.0

    Source code(tar.gz)
    Source code(zip)
  • v1.6.0(Dec 12, 2022)

    What's Changed

    • ci: update PR-title style in dependabot.yml by @gomzyakov in https://github.com/gomzyakov/php-cs-fixer-config/pull/54
    • build: bump php from 8.1.13-alpine to 8.2.0-alpine by @dependabot in https://github.com/gomzyakov/php-cs-fixer-config/pull/53

    Full Changelog: https://github.com/gomzyakov/php-cs-fixer-config/compare/v1.5.0...v1.6.0

    Source code(tar.gz)
    Source code(zip)
  • v1.5.0(Dec 5, 2022)

    What's Changed

    • build: bump php from 8.1.12-alpine to 8.1.13-alpine by @dependabot in https://github.com/gomzyakov/php-cs-fixer-config/pull/49
    • build: go to conventional commits style by @gomzyakov in https://github.com/gomzyakov/php-cs-fixer-config/pull/51
    • docs: update README.md by @gomzyakov in https://github.com/gomzyakov/php-cs-fixer-config/pull/48
    • docs: update badges in README.md by @gomzyakov in https://github.com/gomzyakov/php-cs-fixer-config/pull/52

    Full Changelog: https://github.com/gomzyakov/php-cs-fixer-config/compare/v1.4.0...v1.5.0

    Source code(tar.gz)
    Source code(zip)
  • v1.4.0(Nov 27, 2022)

    What's Changed

    • feat: replace php-style to php-cs-fixer-config by @gomzyakov in https://github.com/gomzyakov/php-cs-fixer-config/pull/47

    Full Changelog: https://github.com/gomzyakov/php-cs-fixer-config/compare/v1.3.1...v1.4.0

    Source code(tar.gz)
    Source code(zip)
  • v1.3.1(Nov 9, 2022)

    What's Changed

    • Update phpstan/phpstan requirement from ^1.8 to ^1.9 by @dependabot in https://github.com/gomzyakov/php-style/pull/46

    Full Changelog: https://github.com/gomzyakov/php-style/compare/v1.3.0...v1.3.1

    Source code(tar.gz)
    Source code(zip)
  • v1.3.0(Nov 1, 2022)

    What's Changed

    • Update friendsofphp/php-cs-fixer requirement from ^3.12 to ^3.13 by @dependabot in https://github.com/gomzyakov/php-style/pull/43
    • Bump php from 8.1.11-alpine to 8.1.12-alpine by @dependabot in https://github.com/gomzyakov/php-style/pull/44

    Full Changelog: https://github.com/gomzyakov/php-style/compare/v1.2.0...v1.3.0

    Source code(tar.gz)
    Source code(zip)
  • v1.2.0(Oct 26, 2022)

    What's Changed

    • Update README.md by @gomzyakov in https://github.com/gomzyakov/php-style/pull/41

    Full Changelog: https://github.com/gomzyakov/php-style/compare/v1.1.0...v1.2.0

    Source code(tar.gz)
    Source code(zip)
  • v1.1.0(Oct 25, 2022)

    What's Changed

    • Update package name to gomzyakov/php-style by @gomzyakov in https://github.com/gomzyakov/php-style/pull/37
    • Replace php-code-style to php-style in README.md by @gomzyakov in https://github.com/gomzyakov/php-style/pull/39

    Full Changelog: https://github.com/gomzyakov/php-style/compare/v1.0.3...v1.1.0

    Source code(tar.gz)
    Source code(zip)
  • v1.0.3(Oct 25, 2022)

    What's Changed

    • Update friendsofphp/php-cs-fixer requirement from ^3.8 to ^3.12 by @dependabot in https://github.com/gomzyakov/php-code-style/pull/32
    • Bump php from 8.0-alpine to 8.1.11-alpine by @dependabot in https://github.com/gomzyakov/php-code-style/pull/34
    • Update phpstan/phpstan requirement from ^1.0 to ^1.8 by @dependabot in https://github.com/gomzyakov/php-code-style/pull/33

    New Contributors

    • @dependabot made their first contribution in https://github.com/gomzyakov/php-code-style/pull/32

    Full Changelog: https://github.com/gomzyakov/php-code-style/compare/v1.0.2...v1.0.3

    Source code(tar.gz)
    Source code(zip)
  • v1.0.2(Oct 25, 2022)

    What's Changed

    • Add package-ecosystem "docker" to dependabot.yml by @gomzyakov in https://github.com/gomzyakov/php-code-style/pull/31

    Full Changelog: https://github.com/gomzyakov/php-code-style/compare/v1.0.1...v1.0.2

    Source code(tar.gz)
    Source code(zip)
  • v1.0.1(Sep 27, 2022)

    What's Changed

    • Set all global_namespace_import params to true by @gomzyakov in https://github.com/gomzyakov/php-code-style/pull/28

    Full Changelog: https://github.com/gomzyakov/php-code-style/compare/v1.0.0...v1.0.1

    Source code(tar.gz)
    Source code(zip)
  • v1.0.0(Sep 18, 2022)

    What's Changed

    • Add pint.json config for Laravel Pint by @gomzyakov in https://github.com/gomzyakov/php-code-style/pull/26
    • [Add a matrix tests on CI by @gomzyakov in https://github.com/gomzyakov/php-code-style/pull/25

    Full Changelog: https://github.com/gomzyakov/php-code-style/compare/v0.3.0...v1.0.0

    Source code(tar.gz)
    Source code(zip)
  • v0.3.0(Aug 20, 2022)

    What's Changed

    • Add a matrix tests on CI by @gomzyakov in https://github.com/gomzyakov/php-code-style/pull/25

    Full Changelog: https://github.com/gomzyakov/php-code-style/compare/v0.2.2...v0.3.0

    Source code(tar.gz)
    Source code(zip)
  • v0.2.2(Jul 9, 2022)

    What's Changed

    • Create CODE_OF_CONDUCT.md by @gomzyakov in https://github.com/gomzyakov/php-code-style/pull/23
    • Improve code coverage by @gomzyakov in https://github.com/gomzyakov/php-code-style/pull/24

    Full Changelog: https://github.com/gomzyakov/php-code-style/compare/v0.2.1...v0.2.2

    Source code(tar.gz)
    Source code(zip)
  • v0.2.1(Jun 27, 2022)

    What's Changed

    • Update README.md by @gomzyakov in https://github.com/gomzyakov/php-code-style/pull/22

    Full Changelog: https://github.com/gomzyakov/php-code-style/compare/v0.2.0...v0.2.1

    Source code(tar.gz)
    Source code(zip)
  • v0.2.0(Jun 23, 2022)

    What's Changed

    • Fix description in composer.json by @gomzyakov in https://github.com/gomzyakov/php-code-style/pull/6
    • Update README.md by @gomzyakov in https://github.com/gomzyakov/php-code-style/pull/9
    • Move friendsofphp/php-cs-fixer to dev-dependencies by @gomzyakov in https://github.com/gomzyakov/php-code-style/pull/21

    Full Changelog: https://github.com/gomzyakov/php-code-style/compare/v0.1.1...v0.2.0

    Source code(tar.gz)
    Source code(zip)
  • v0.1.1(Jun 7, 2022)

    What's Changed

    • Run CI when pushing v* tag by @gomzyakov in https://github.com/gomzyakov/php-code-style/pull/5

    Full Changelog: https://github.com/gomzyakov/php-code-style/compare/v0.1.0...v0.1.1

    Source code(tar.gz)
    Source code(zip)
  • v0.1.0(Jun 7, 2022)

    What's Changed

    • Package outline by @gomzyakov in https://github.com/gomzyakov/php-code-style/pull/1

    New Contributors

    • @gomzyakov made their first contribution in https://github.com/gomzyakov/php-code-style/pull/1

    Full Changelog: https://github.com/gomzyakov/php-code-style/commits/v0.1.0

    Source code(tar.gz)
    Source code(zip)
Owner
Alexander Gomzyakov
Software Developer (PHP)
Alexander Gomzyakov
Provides a configuration factory and multiple rule sets for friendsofphp/php-cs-fixer.

php-cs-fixer-config Provides a configuration factory and multiple rule sets for friendsofphp/php-cs-fixer. Installation Run $ composer require --dev e

null 37 Jan 2, 2023
A small, modern, PSR-7 compatible PSR-17 and PSR-18 network library for PHP, inspired by Go's net package.

Net A small, modern, PSR-7 compatible PSR-17 and PSR-18 network library for PHP, inspired by Go's net package. Features: No hard dependencies; Favours

Minibase 16 Jun 7, 2022
A small, modern, PSR-7 compatible PSR-17 and PSR-18 network library for PHP, inspired by Go's net package.

Net A small, modern, PSR-7 compatible PSR-17 and PSR-18 network library for PHP, inspired by Go's net package. Features: No hard dependencies; Favours

Minibase 16 Jun 7, 2022
php-cs-fixer config for REDAXO

php-cs-fixer config for REDAXO Installation composer require --dev redaxo/php-cs-fixer-config Example .php-cs-fixer.dist.php: <?php $finder = (new P

REDAXO CMS c/o Yakamara Media GmbH & Co. KG 7 Aug 14, 2022
The Easiest way to start using PHP CS Fixer and PHP_CodeSniffer with 0-knowledge

The Easiest Way to Use Any Coding Standard Features Blazing fast Parallel run Use PHP_CodeSniffer || PHP-CS-Fixer - anything you like 2nd run under fe

null 1.1k Jan 6, 2023
Set of rules for PHP_CodeSniffer and PHP-CS-Fixer used by Symplify projects.

20+ Coding Standard checkers for PHP projects with focus on Clean Architecture

null 281 Dec 30, 2022
php-cs-fixer config for Yakamara projects

php-cs-fixer config for Yakamara projects Installation composer require --dev yakamara/php-cs-fixer-config Example .php-cs-fixer.dist.php: <?php $fi

Yakamara Media GmbH & Co. KG 4 Nov 29, 2022
provides a nested object property based user interface for accessing this configuration data within application code

laminas-config This package is considered feature-complete, and is now in security-only maintenance mode, following a decision by the Technical Steeri

Laminas Project 43 Dec 26, 2022
Testing utilities for the psr/log package that backs the PSR-3 specification.

FIG - Log Test Testing utilities for the psr/log package that backs the PSR-3 specification. Psr\Log\Test\LoggerInterfaceTest provides a base test cla

PHP-FIG 3 Nov 19, 2022
A simple twitter-feed-style RSS aggregator written in PHP, Laravel, Inertia.js, Tailwind and Vue.js

RSS A simple, opinionated, RSS feed aggregator. Features The following features are built into the application: Supports RSS and ATOM formats. Regular

Dan Brown 257 Dec 24, 2022
Create an ip info WebPage with a style.css and an index.php

my-ip-info Create an ip info Page with a style.css and an index.php file. 支持 判断浏览器语言,非中文显示为英文。 curl指令返回ip地址 国家 城市。 在地图上显示位置 前提条件 一个已经注册了域名并在Cloudflare

null 10 May 31, 2023
Faker-driven, configuration-based, platform-agnostic, locale-compatible data faker tool

Masquerade Faker-driven, platform-agnostic, locale-compatible data faker tool Point Masquerade to a database, give it a rule-set defined in YAML and M

elgentos ecommerce solutions 219 Dec 13, 2022
Enables developers to modify Magento installations (configuration, data) based on the given environment using n98-magerun.

Enables developers to modify Magento installations (configuration, data) based on the given environment using n98-magerun.

LimeSoda Interactive Marketing GmbH 73 Apr 1, 2022
Silverstripe-tinytidy - Control which styles are available in TinyMCE's style dropdown menu and what elements they can be applied to

TinyTidy for SilverStripe This module mainly serves as an example of how to customise the 'styles' dropdown menu in the TinyMCE editor to control whic

Jono Menz 30 Jul 30, 2020
Provides an object-oriented API to query in-memory collections in a SQL-style.

POQ - PHP Object Query Install composer require alexandre-daubois/poq 1.0.0-beta2 That's it, ready to go! ?? Usage Here is the set of data we're going

Alexandre Daubois 16 Nov 29, 2022
Laravel style FormRequests for Symfony; inspired by adamsafr/form-request-bundle

Somnambulist Form Request Bundle An implementation of form requests from Laravel for Symfony based on the original work by Adam Sapraliev. Requirement

Somnambulist Tech 1 Dec 14, 2021
Pug Renderer - a (heavily based on the PhpRenderer) renderer for rendering Pug view scripts into a PSR-7 Response object

Pug Renderer This is a (heavily based on the PhpRenderer) renderer for rendering Pug view scripts into a PSR-7 Response object. It works well with Sli

Marcello Duarte 6 Oct 27, 2020
GitHub action to set up PHP with extensions, php.ini configuration, coverage drivers, and various tools.

GitHub action to set up PHP with extensions, php.ini configuration, coverage drivers, and various tools.

Shivam Mathur 2.4k Jan 6, 2023
A lot of scripts and packages in modern PHP demand one or more configuration classes

A lot of scripts and packages in modern PHP demand one or more configuration classes. Mostly, those are a set of properties that can be set, changed or retrieved. However, some of the configurations have a peculiar behaviour - such as boolean properties.

Carlos Artur Curvelo da Silva Matos 2 Mar 8, 2022