Download the PHP package zicht/admin-bundle without Composer

On this page you can find all versions of the php package zicht/admin-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package admin-bundle

zicht/admin-bundle

Provides integration utilities for SonataAdminBundle.

Enable dump-role-hierarchy

To make this command supply you with an actual list of roles, add the following to your sonata_admin.yml:

Override Menu-events to supply other hosts

Add the following configuration to config/zicht_admin.yml to override the AdminEvents::MENU_EVENT and alter the url to a match in the list.

Duplicate entities

To duplicate an entity, add the following code:

  1. In the admin of the entity you want to duplicate, add the route:

  2. In templates/bundles/SonataAdminBundle/CRUD/edit.html.twig add the duplicate button:

For an example, see https://github.com/zicht/zestor.nl/pull/155/files

Override entities

To also override the entities content (after duplication, see section above), add the following code:

  1. Add the route in the admin so the configureRoute method becomes:

  2. In the entity create the field copiedFrom (and its getter and setter).

  3. In the admin of the entity, add the override-button:

For an example, see https://github.com/zicht/zestor.nl/pull/155/files

Quicklist

The quicklist is an autocomplete feature. In the CMS you can place this as an extra block at the dashboard to search for entities. It is also possible to use the AutocompleteType class in admin entities.

Configuration

In your project, create templates/admin/block_admin.html.twig and add this:

In config/packages/zicht/admin.yaml you have the option to add multiple repositories to be searched through.

Example:

Implementation example

Maintainers


All versions of admin-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^8
symfony/console Version ^6.4
symfony/yaml Version ^6.4
sonata-project/doctrine-orm-admin-bundle Version ^4
zicht/framework-extra-bundle Version ^11
twig/twig Version ^2.13 || ^3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package zicht/admin-bundle contains the following files

Loading the files please wait ....