You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-61Lines changed: 12 additions & 61 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,6 @@ References this [documentation example](http://symfony.com/doc/current/bundles/c
7
7
8
8
The mechanism behind is to retrieve all available configuration for a bundle, display it in a form, and dump the submitted data in a new _config file_ that will override the default configuration.
9
9
10
-
11
10
## Installation
12
11
13
12
### Step 1: Download the Bundle
@@ -18,36 +17,6 @@ Open a command console, enter your project directory and execute:
18
17
$ composer require barth/simple-config-bundle
19
18
```
20
19
21
-
> :warning: This is not already available as I didn't yet submit this package to [Packagist](https://packagist.org)
22
-
> Stay tuned for update by giving a :star: ?
23
-
24
-
Or open your `composer.json`, and add following content :
In your `config/routes.yaml`, add the following route definition :
98
42
@@ -132,10 +76,16 @@ When installation is completed, you have two new routes :
132
76
* http://yourdomain.org/admin/config That exposes all available configuration routes
133
77
* http://yourdomain.org/admin/config/{package} That display your form configuration
134
78
135
-
## Customize
79
+
## Customization and Integration
80
+
81
+
### Custom Backend
136
82
137
83
By default, pages don't look very pretty. To integrate it in your template, don't hesitate to override the `base.html.twig` template by creating a new one in `templates/bundles/BarthSimpleConfigBundle/` and make it extend your base template.
138
84
85
+
### Third-party bundles
86
+
87
+
SimpleConfigBundle can easily be integrated in [EasyAdminBundle](https://github.com/EasyCorp/EasyAdminBundle).
88
+
Just require it.
139
89
140
90
## Contribute
141
91
@@ -145,10 +95,11 @@ If you find any typo/misconfiguration/... please send me a PR or open an issue.
145
95
146
96
Also, while creating your PR, please write a description which gives the context and/or explains why you are creating it.
147
97
148
-
149
98
## TODOs
150
99
151
-
- [] Make installation as simple as a `composer require barth/simple-config-bundle`, so submit it to packagist
152
-
- [] Process configuration when form is submitted to validate it immediatly.
100
+
- [x] Make installation as simple as a `composer require barth/simple-config-bundle`, so submit it to packagist
101
+
- [x] Process configuration when form is submitted to validate it immediatly.
153
102
- [ ] Write Tests Suite
154
103
- [ ] Add translations
104
+
- [x] Integration with [EasyAdminBundle](https://github.com/EasyCorp/EasyAdminBundle)
105
+
- [ ] Integration with [Sonata](https://sonata-project.org/)
0 commit comments