liip / liip/LiipImagineBundle

Support PHP Configuration

Open
#1,502 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
1.7k
Forks
386
Avg merge
1d 10h
Merged PRs (30d)
3

Description

**Is your feature request related to a problem? Please describe.**
I prefer to use a PHP configuration instead of YAML. This doesn't seem to be fully supported.

**Describe the solution you'd like**
Fix the defintion of the configuration so that it will generate the correct PHP Configuration definitions for Symfony.

**Additional context**
This is the class that it generates. As you can see, it only allows an empty configuration. I can not set any options under `filters` in my `filter_sets`

```

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Symfony configuration definition that generates the shown FilterConfig class and inspect how filter_sets and filters are represented. Done means the generated PHP configuration definitions accept options under filters in filter_sets instead of rejecting them as unsupported.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, symfony
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.