Skip to content
#

symfony-bundle

symfony logo

Symfony is a set of reusable PHP components and a PHP framework for web projects.

Here are 1,417 public repositories matching this topic...

symfony
B-Galati
B-Galati commented Nov 8, 2019

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.

api-platform
jvigneron
jvigneron commented Nov 28, 2019

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

Sylius
TheDevilOnLine
TheDevilOnLine commented Mar 16, 2020

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

yyaremenko
yyaremenko commented Apr 27, 2020

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

BonBonSlick
BonBonSlick commented Nov 1, 2018

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

supermiro
supermiro commented Apr 6, 2020

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?

MLDMoritz
MLDMoritz commented Nov 6, 2019

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
core
quentinus95
quentinus95 commented Feb 6, 2020

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

libressence
libressence commented May 18, 2019

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_

o-alquimista
o-alquimista commented Jan 19, 2020

For projects using Symfony Flex, only Step 1 is needed. This information is usually given in the beginning of any instruction page in the Symfony docs, but is missing for this bundle. Users who are not yet familiar with how Flex works might attempt to follow the instructions needlessly.

  • I
tacman
tacman commented Dec 18, 2018

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
You can’t perform that action at this time.