/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

Easy Coding Standard

Downloads

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


Coding Standard

Downloads

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


Symfony Kernel and Dependency Injection on MDMA

Autodiscovery

Downloads

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


Flex Loader

Downloads

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


Auto Bind Parameter

Downloads

Auto bind parameters for your Symfony applications


Autowire Array Parameter

Downloads

Autowire Array Parameters for Symfony applications.


Symfony Utils

Package Builder

Downloads

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


Smart File System

Downloads

Making SplFileInfo smarter with methods you really need.


Easy Hydrator

Downloads

Hydrate Arrays to Objects via __construct and PHP 7.4!


Maintainer's Friend

Changelog Linker

Downloads

Why write CHANGELOG.md, when you can generate it


Monorepo Builder

Downloads

Validate, split, release and maintain Monorepo like a boss


Composer Json Manipulator

Downloads

Manipulate composer.json with Beautiful Object API


Static Sites

Symfony Static Dumper

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

Set Config Resolver

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.