symfony-bundle
Symfony is a set of reusable PHP components and a PHP framework for web projects.
Here are 1,417 public repositories matching this topic...
Description
To be able to optionaly remove the google fonts dependency on any page of the api-platform.
Example
Remove the google font stylesheet in line 8 in the file api-platform\core\src\Bridge\Symfony\Bundle\Resources\views\SwaggerUi\index.html.twig depending on a configuration variable.
Context
I'm working on an intranet application for a 100000+ employees company and
Why are there Lorum Ipsum translation strings in (for example) the Shop Bundle? Same goes for "brace_yoursel_winter_is_coming" (not even mentioning the typo in the key) in the latest product carousel?
I suggest replacing the Lorum Ipsum translations with some explanatory text on how to replace those texts and change "brace_yoursel_winter_is_coming" to a more appropriate key, so translators know
Currently it is only possible to configure "default" region type but doctrine/orm#954 introduced optimized Doctrine\ORM\Cache\Region\DefaultMultiGetRegion region that uses fetchMultiple method.
Proposal:
- allow to use "default_multi" under second_level_cache.regions.type configuration.
BTW. currently DefaultMultiGetRegion is not even documented in Doctrine doc
-
Updated
May 26, 2020 - PHP
Update CHANGELOG
It will be good to add some explanation in the documentation at the part "Integrating CKFinder" :
To use the "CKFinderFileChooserType" you have to use the 'type_options' 'block_name' : 'ckfinder_file_chooser_widget' and adding in 'form_theme' : '@CKSourceCKFinder/Form/fields.html.
Looking at https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/security.html#security I think we're missing two possibile scenarios:
- What happen when I annotate the whole controller?
- What happen when I annotate both the whole controller and a specific action?
WDYT? The enhancement is worthy?
-
Updated
Jun 10, 2020 - PHP
steps to reproduce:
- install FOSRestBundle and a serializer symfony/serializer-pack
- don't modify the default fos_rest.yaml config file
- follow the documentation example, create a controller which returns $this->handleView($this->view())
expectation:
the (default) Response format is json
reality:
the (defau
Hello,
https://github.com/nelmio/alice/blob/v3.5.8/doc/advanced-guide.md#references
@user_{alice, bob} => @user_alice or @user_bob
If i:
client_type:
AppBundle\Entity\ClientType:
client_type_{1..10}:
name: '<name()>'
include:
- client_type.yaml
AppBundle\Entity\Client:
client_{1..20}:
name: '<name()>'
client_type: '@cl
For Twig it is ok, tell me please what if site used with API?
Everything build with json and JsonResponses, urls for UI we dont have, and do not know what is going on on UI, it can be some Andriod app written with Java, or some JS framewrok, or else.
What configurations should be set?
Any examples?
Docs?
Because there is example only for Twig.
There are not much examples.
https://gi
In Nelmio UI there is missing some yaml preview of generated API, is it possible to generate documentation in yaml format? Some tools for testing like soap ui are able to import yaml swagger file and then soap ui is able to work with this file and apis. Solution?
-
Updated
Jun 10, 2020 - PHP
Hey,
HMAC support seems to be not working out of the box, like its suggested.
If there is no private key, encoder signature_algorithm should default to a working version like HS256.
This is not documented, by the way.
Minimal configuration for using HMAC would be something like this:
lexik_jwt_authentication:
secret_key: '%env(JWT_SECRET_KEY)%'
encoder:
s
-
Updated
May 29, 2020 - PHP
-
Updated
Jun 9, 2020 - HTML
API Platform version(s) affected: 2.5.1
Description
Today, JSON Schemas generated by API-Platform do not include additionalProperties: false. This reduces type saftey when using a code generator.
How to reproduce
Create an ApiResource in a new project, check the generated Swagger documentation. The JSON Schema generated for the ApiResource does not include `additionalProp
When i add
admin.page:
class: App\Admin\PageAdmin
arguments: [~, App\Entity\Page, ~]
tags:
- { name: sonata.admin, manager_type: orm, label: Page }
in services.yaml,
i have a problem after type command bin/console cache:clear :
The service "sonata_translation.admin.extension.gedmo_translatable" has a dependency on a non-existent service "stof_
-
Updated
Mar 3, 2020 - PHP
Feature Request
| Q | A |
|---|---|
| New Feature | no |
| RFC | yes |
| BC Break | no |
Summary
As I see the 3 entities in TestBundle directory, those entities doesn't represent real life t
Stream loader via http/https may contain query params that are omitted during cache resolve.
Preconditions
- Symfony 4.2.7
- liip/imagine-bundle: 2.1.0
- imagine/imagine: v0.7.1
Steps to reproduce
# services.yaml
Liip\ImagineBundle\B
Documentation
Hello @garak!
First of all thank you for taking care of this repository
We are trying to uniform documentation on our public repositories adding code of conducts and contributing guidelines (you can check Snappy repository as an example CODE_OF_CONDUCT.md and [CONTRIBUTING.md](https://github.com/KnpLabs/s
In 1.5.6, `forced_allow_origin_value` does not behave as documented and ignores allowed domains
The response listener for forced_allow_origin_value is added before the call to checkOrigin. This results in the Access-Control-Allow-Origin header being added regardless of the allow_origin config, which is the opposite of the documented behavior:
Be aware that even if you set
forced_allow_origin_valueto*,
-
Updated
May 31, 2020 - PHP
I'm having a really hard time creating a simple bootstrap navbar with a dropdown.
There are LOTS of webpages that describe how to do it, but I haven't had any luck with any solution, except to use MopaBootstrapBundle, which seems like overkill for just a navbar.
In the same way that Symfony forms has a few built-in options (bootstrap_3_horizontal, etc.), I basically want to simply set the
Created by Fabien Potencier
Released October 2005
- Organization
- symfony
- Website
- symfony.com
- Wikipedia
- Wikipedia
Description
At the moment it's quite hard to debug HTTP errors because the only information we get is:
HTTP/1.1 400 Bad Request returned for "https://example.com/".It would be nice to have an opt-in option that would automatically open response payload and headers in order to log them in Sentry for example. It may require to handle a max lenght on the response payload.