/symplify

Do you use Symfony, Coding Standards, maintain PHP packages, automate monorepo, generate static website and are you lazy? You'll love the candies you find here! :)

Primary LanguagePHPMIT LicenseMIT

Symplify - Making Everyday PHP Development Simple

Coverage SonarCube

In this monorepo you'll find PHP packages that help you with:

  • your first coding standard
  • maintenance of monorepo and changelog
  • clean Kernel even with Flex loading methods
  • slim and re-usable Symfony configs

You'll find all packages in /packages directory. Here is a brief overview (tip: click on the package name to see its README with more detailed features):

Coding Standard Utils

Downloads

The easiest way to start a coding standard in your project. Easy, simple and intuitive. Combines both PHP-CS-Fixer and PHP_CodeSniffer.


Downloads

Final interface, ::class Constant and other useful Checkers for PHP-CS-Fixer and PHP_CodeSniffer.


Symfony Kernel and Dependency Injection on MDMA

Downloads

Forget manual registration of translations, templates, mappings and routes in Symfony Application


Downloads

Keep your Symfony Kernel slim again and let flex-loader load all the configs


Downloads

Auto bind parameters for your Symfony applications


Downloads

Autowire Array Parameters for Symfony applications.


Symfony Utils

Downloads

Speed up your package DI Containers integration and Console apps to Symfony


Downloads

Making SplFileInfo smarter with methods you really need.


Downloads

Hydrate Arrays to Objects via __construct and PHP 7.4!


Maintainer's Friend

Downloads

Why write CHANGELOG.md, when you can generate it


Downloads

Validate, split, release and maintain Monorepo like a boss


Downloads

Manipulate composer.json with Beautiful Object API


Static Sites

Downloads

Dump your Symfony app to HTML + CSS + JS only static website. Useful for deploy to Github Pages and other non-PHP static website hostings.


CLI Utils

Downloads

Loads configs to you with CLI --config, -c, --set, -s or sets parameter


Install

Go to particular package and get it via composer require.

Contributing & Issues

If you have issue and want to improve some package, put it all into this repository.

Fork, clone your repository and install dependencies:

git clone git@github.com:<your-name>/Symplify.git
cd Symplify
composer update

3 Steps to Contribute

  • 1 feature per pull-request

  • New feature needs tests

  • Tests and static analysis must pass:

    composer complete-check
    
    # coding standard issues fix with
    composer fix-cs

We would be happy to merge your feature then.