Download the PHP package elvandar/kazetenn-admin without Composer

On this page you can find all versions of the php package elvandar/kazetenn-admin. 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 kazetenn-admin

kazetenn-pages

Description

Kazetenn Admin is a symfony bundle that allow you to handle basic pages programatically.

Installation

You can use

composer require elvandar/kazetenn_core_admin

to install the bundle.

Usage

This bundle provides an administration panel and menu to create a back office.

configuration:

Here is the configuration reference for the bundle, you can configure it in config/packages/kazetenn_admin.yaml:

Let's go over all of those in detail:

Basic configuration:
admin_url:

This is the admin menu url prefix. This will produce urls under this format:

http://your_domain/admin_url/

By default, it is set to 'admin'.

translation_domain:

This will define the translation domain of the overall menu. This will also be the translation domain fallback if you do not define it for other menus.

authorized_roles:

This is a collection roles authorized to access the menus. The roles are classics symfony roles.

If you want to allow non-authenticated users to access the admin menu, you must use the 'ANONYMOUS' role.

Except if the 'ANONYMOUS' role is set, a user must have all the defined roles to access the menu.

If you did not define roles for each individual menu, this array will be used as a fallback.

Pages:

This is where you will be able to define the admin pages.

menu_entries:

This is where you will be able to define the different menus.

Menu entry configuration:

`

This will allow you to configure every menu entry in your admin page.

name:

The name of your entry

type:

The type of entry, it can be one of:

This tells the bundle how to interpret the 'target' entry.

The header type is a special type only available for the upper menus. This will render a menu with no link tha is used to create main menus and header menus.

target:

The string that the code will use to render based on the type you provided

display_name:

The name that will be displayed (and translated)

translation_domain:

The translation domain used to translate the name. If left empty, the bundle will fallback to the default defined domain.

order:

The order in which the menu will be rendered. The bundle will throw a warning if 2 menus have the same order.

authorized_roles:

This is a collection roles authorized to access the menus. The roles are classics symfony roles.

If you want to allow non-authenticated users to access the admin menu, you must use the 'ANONYMOUS' role.

Except if the 'ANONYMOUS' role is set, a user must have all the defined roles to access the menu.

If you did not define roles for each individual menu, this array will be used as a fallback.

orientation:

This will define if your menu will be displayed in the horizontal head menu or in the vertical side menu. The values are

children:

Here you can define the sub menus

Children menu entry configuration:

`

name:

The name of your entry

type:

The type of entry, it can be one of:

This tells the bundle how to interpret the 'target' entry.

The header type is a special type only available for the upper menus. This will render a menu with no link tha is used to create main menus and header menus.

target:

The string that the code will use to render based on the type you provided

display_name:

The name that will be displayed (and translated)

translation_domain:

The translation domain used to translate the name. If left empty, the bundle will fallback to the default defined domain.

order:

The order in which the menu will be rendered. The bundle will throw a warning if 2 menus have the same order.

authorized_roles:

This is a collection roles authorized to access the menus. The roles are classics symfony roles.

If you want to allow non-authenticated users to access the admin menu, you must use the 'ANONYMOUS' role.

Except if the 'ANONYMOUS' role is set, a user must have all the defined roles to access the menu.

If you did not define roles for each individual menu, this array will be used as a fallback.

Display of the menu

There are multiple ways to create a vue within the menu:

Custom controller

The bundle comes with an abstract controller (Kazetenn\Admin\Controller\BaseAdminController). When you extends it, the render method will automatically provides you with arguments containing the menus you registered.

You can use it in combination with the already existing twig templates (Admin/Resources/views/admin_base.html.twig) or create your owns.

Pages

The admin pages are a way to ensure that the code you created will be displayed in the admin template. You can configure thems using this part of the YAML:

`

The name will be used to generate the page url.

The function must be within a specific set of criterias:

If you did so correctly, you can use the http://your_domain/admin_url/display_page/page_name to access your page.

Customisation of the admin

The default admin interface has been created using Bulma (https://bulma.io/)

License

The pages bundle is under MIT liscence


All versions of kazetenn-admin with dependencies

PHP Build Version
Package Version
Requires php Version 8.1.*
composer/package-versions-deprecated Version 1.11.99.4
doctrine/annotations Version 1.13.*
doctrine/doctrine-bundle Version 2.7.*
doctrine/doctrine-migrations-bundle Version 3.2.*
doctrine/orm Version 2.12.*
phpdocumentor/reflection-docblock Version >=5.2
stof/doctrine-extensions-bundle Version >=1.7
symfony/asset Version 6.2.*
symfony/console Version 6.2.*
symfony/dotenv Version 6.2.*
symfony/expression-language Version 6.2.*
symfony/flex Version 2.2.*
symfony/form Version 6.2.*
symfony/framework-bundle Version 6.2.*
symfony/http-client Version 6.2.*
symfony/intl Version 6.2.*
symfony/mailer Version 6.2.*
symfony/mime Version 6.2.*
symfony/monolog-bundle Version 3.*
symfony/notifier Version 6.2.*
symfony/process Version 6.2.*
symfony/property-access Version 6.2.*
symfony/property-info Version 6.2.*
symfony/proxy-manager-bridge Version 6.2.*
symfony/runtime Version 6.2.*
symfony/security-bundle Version 6.2.*
symfony/serializer Version 6.2.*
symfony/string Version 6.2.*
symfony/translation Version 6.2.*
symfony/twig-bundle Version 6.2.*
symfony/uid Version 6.2.*
symfony/validator Version 6.2.*
symfony/web-link Version 6.2.*
symfony/yaml Version 6.2.*
twig/extra-bundle Version 3.4.*
twig/twig Version 3.4.*
symfony/config Version 6.2.*
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 elvandar/kazetenn-admin contains the following files

Loading the files please wait ....