Questions tagged [easyadmin]

EasyAdmin is a Symfony bundle that lets you create administration backends for Symfony applications with unprecedented simplicity.

EasyAdmin lets you create administration backends for Symfony applications with unprecedented simplicity.

Features

  • CRUD operations on Doctrine entities (create, edit, list, delete).
  • Full-text search, pagination and column sorting.
  • Fully responsive design (smartphones, tablets and desktops).
  • Translated into tens of languages.
  • Fast, simple and smart where appropriate.

Useful links

431 questions
17
votes
6 answers

How to use Vich uploader with easyAdmin 3 on Symfony 5

I've been trying to use VichUploader to upload files on a Symfony project, already using EasyAdmin 3. I've configured everything correctly, but I'm getting this error: The "pieceJointeFile" image field must define the directory where the images are…
Chedi Athmni
  • 213
  • 1
  • 2
  • 7
12
votes
11 answers

Symfony 5 & EasyAdmin 3.0 - /admin route not found

I have fresh Symfony 5 project instlled locally, and added Easy Admin trought Symfony CLI: symfony composer req admin I should have /admin route but it's missing I run: symfony console cache:clear symfony composer dump-autoload rm -rf…
platkos
  • 155
  • 1
  • 1
  • 7
10
votes
2 answers

Easy Admin - Display Full Country Name in Show Action

I have an Address entity which requires a country. In the associated form I am using Symfony's CountryType which displays a user-friendly selection of countries and stores its abbreviation in the entity (e.g. DE for Germany or CH for…
chrisp
  • 569
  • 4
  • 24
9
votes
1 answer

FOSUserBundle managing In EasyAdminBundle(( The "User" entity must define its associated Doctrine entity class using the "class" option))Symfony

I am using Symfony 3.4 with FOSUserBundle~2.0 and EasyAdminBundle^1.17.everything works fine.i can login to system and create user ((ofcourse with commend line)) i using this toutaril but when i want to managing in EasyAdminBundle.i have this error …
pedram shabani
  • 1,654
  • 2
  • 20
  • 30
7
votes
2 answers

How to add a custom action in EasyAdmin 3?

I have a CrudController for my entity, Participant. I want to add a custom action, sendAcknowledgementEmail. The EasyAdmin docs doesn't mention anything about the custom function parameters or return values. I have the following code public…
ceochronos
  • 350
  • 1
  • 9
  • 22
7
votes
2 answers

Easyadmin 3 field disabled/read-only

is there any chance to disable an field to user using EasyAdmin's implemented fields? I would like to show to user a boolean value of isPaid, but i don't want him to change it, just show him (the payment gateway does this)
Jakub Novák
  • 168
  • 2
  • 10
7
votes
1 answer

How to sort on multiple field inside a list with easy admin?

With easy admin you have the possibility to sort on one field for a list. Symfony - Easy Admin v2: Sorting Entity Listings But is there any way to sort on more than one field for my list ?
Jules
  • 185
  • 1
  • 16
6
votes
1 answer

EasyAdmin 3 - CollectionField add form entryType options?

in my CRUD Controller I have a CollectionField which has an entryType option referring to a formType yield CollectionField::new('drinks', 'Boissons') ->setFormTypeOption('by_reference', false) …
eronn
  • 1,690
  • 3
  • 21
  • 53
6
votes
5 answers

EasyAdmin 3.X - How to see related entities `toString` instead of the number of association in the list?

I have an entity Product with a ManyToMany relation to an entity Category /** * @ORM\ManyToMany(targetEntity="App\Domain\Category", inversedBy="stalls") */ private $categories; //... /** * @return Collection|Category[] */ public function…
hosseio
  • 1,142
  • 2
  • 12
  • 25
6
votes
3 answers

CKEditor's not working with EasyAdmin 3 on Symfony 4.4

I'm actually working on a project who needs a WYSIWYG interface with Symfony 4.4 and EasyAdmin 3. I've tried to install FOS_CKEditor by following this doc https://symfony.com/doc/2.x/bundles/EasyAdminBundle/integration/ivoryckeditorbundle.html and…
mubadara
  • 61
  • 1
  • 2
6
votes
2 answers

EasyAdmin 3 : Nested forms

I'm trying to embed forms into forms. In my case : I want to embed Period and Price form into Offer form into Poi form. The architecture : Poi form Offer form Price form Period form Relations: Poi entity has relation OneToMany with Offer…
LazyLez
  • 61
  • 1
  • 2
6
votes
3 answers

Symfony EasyAdmin 3.x ManyToMany error when adding : The Doctrine type of the .... field is "4", which is not supported by EasyAdmin yet

I'm trying to do a simple ManyToMany relation between two classes with easyAdmin 3.x , when I'm trying to show entity CRUD , I have constantly this error: The Doctrine type of the "salles" field is "4", which is not supported by EasyAdmin yet. Th…
jerome linher
  • 71
  • 1
  • 2
5
votes
2 answers

Symfony - EasyAdmin - Add and remove functions are ignored from AssociationField

I use the last version of EasyAdmin and my add and remove functions are ignored when I submit the form: Ambiance entity: /** * @ORM\OneToMany(targetEntity="Vehicule", mappedBy="ambiance") */ protected Collection $vehicules; public function…
Valentin Harrang
  • 1,081
  • 2
  • 17
  • 34
5
votes
0 answers

EasyAdmin3: Passing additional variables to twig-template (EDIT page)

Background I want to display entity-independent information in the EDIT-page. According to the official documentation it can be solved with configureResponseParameters-function. Problem So I implemented that function into my CRUD-controller. on…
Tim K.
  • 335
  • 4
  • 23
5
votes
4 answers

Issue to install EasyAdmin with composer in Symfony 5

I started a new project in Symfony 5 and i tried to install EasyAdmin with composer require easycorp/easyadmin-bundle but I found an issue. Composer log : ./composer.json has been updated Loading composer repositories with package…
br-dev
  • 232
  • 3
  • 10
1
2 3
28 29