Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Easy Sonata Admin Laravel Package

caxy/easy-sonata-admin

View on GitHub
Deep Wiki
Context7

easy-sonata-admin

###Getting Started

  1. Add EasySonataAdminBundle to your project
composer require caxy/easy-sonata-admin
  1. Enable the bundle
// app/AppKernal.php
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(

            //Load before SonataAdminBundle!
            new Caxy\EasySonataAdminBundle\EasySonataAdminBundle(),

            new Sonata\AdminBundle\SonataAdminBundle(),
        );
    }
}
  1. Configure your admin. Example for FOS User Entity below:
// app/config/config.yml

easy_sonata_admin:
    entities:
        User:
            class: AppBundle\Entity\User
            batch_actions:
                - '-delete'
            list:
                fields:
                    - id
                    - username
                    - email
                    - enabled
                actions: [show: {}, 'edit', 'delete']
            edit:
                fields:
                    - { property: id, type_options: { } }
                    - { property: username, type_options: { } }
                    - { property: email, type_options: { } }
                    - { property: enabled, type_options: { } }
                    - { property: 'plain_password', type: 'text', type_options: { required: true } }
                actions: ['-delete']
            filter:
                fields:
                    - username
                    - email
                    - enabled
                    - roles
            show:
                fields:
                    - username
                    - email
                    - enabled
                    - { property: 'last_login', type: 'datetime' }
                    - roles
                actions: ['-delete']

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
comsave/common
alecsammon/php-raml-parser
chrome-php/wrench
lendable/composer-license-checker
typhoon/reflection
mesilov/moneyphp-percentage
mike42/gfx-php
bookdown/themes
aura/view
aura/html
aura/cli
povils/phpmnd
nayjest/manipulator
omnipay/tests
psr-mock/http-message-implementation
psr-mock/http-factory-implementation
psr-mock/http-client-implementation
voku/email-check
voku/urlify
rtheunissen/guzzle-log-middleware