PHP code example of nucleos / sonata-auto-configure-bundle
1. Go to this page and download the library: Download nucleos/sonata-auto-configure-bundle library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
nucleos / sonata-auto-configure-bundle example snippets
namespace App\Admin;
use Nucleos\SonataAutoConfigureBundle\Attribute\AdminExtension;
use Sonata\AdminBundle\Admin\AbstractAdminExtension;
#[AdminExtension(
global: true
)]
final class GlobalExtension extends AbstractAdminExtension
{
}
namespace App\Admin;
use Nucleos\SonataAutoConfigureBundle\Attribute\AdminExtension;
use Sonata\AdminBundle\Admin\AbstractAdminExtension;
use App\Admin\ActivityAdmin;
#[AdminExtension(
target: ["app.admin.project", ActivityAdmin::class]
)]
final class SortableExtension extends AbstractAdminExtension
{
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.