Download the PHP package randock/adminpress-bundle without Composer

On this page you can find all versions of the php package randock/adminpress-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 adminpress-bundle

adminpress-bundle

Install:

Add stability directives and repository to composer.json project file:

Install Package:

Configure Encore Webpack :

Copy webpack config file from vendor folder

or add these entries to existing config file:

Ok, you are now ready to build the assets

To use the dashboard template, create a template extending the base one

And voilà!

Now you can see the base layout in action.

Customize:

Theme

In webpack.config.js, replace the adminpress_theme entry with scss file what you want

Blocks

Menu

All you need to create the left menu, is to create a service implementing MenuItemProviderInterface. It has a single method addItems returning a Knp\Menu\ItemInterface as a menu root.

Then, tag the service with randock_admin_press.main_menu_add_items and priority.

Lang Menu

You need to configure routes with {_locale} parameter and tells to adminpress-bundle wich locales you want

Right side panel

Override these two twig blocks

Profile menu

Proced in same mode than the main menu. Implements MenuItemProviderInterface in one or more services. These menu items will be separated by visual dividers on profile menu.

Tag the service with randock_admin_press.profile_menu_add_items and assign priority.

Notification lists

Notifications lists are shown on top bar. You should implement a provider per each type of notifications you want to get in top bar. In example, you can implement a Direc Messages provider, and a Mail Provider. They should implement NotificationProviderInterface. Priority indicates the order in which will be shown.

Family Icons

Main Menu

Main menu item accept an extra parameter named icon. This value should be a mdi icon name, listed Material Design Icons

Country Flag icons comes from Flag Icon CSS. If no icon is especified, Locale code are use to determine which will be used.

Lang Menu

Profile Menu

Same as Main Menu, but Themify Icons used here

Notifications Icons

Material Design Icons, same as Main Menu

Develop:

Create a new clean project

install dependences

Clone repo in a symfony working project, inside lib/ folder

Add namespace to class loader

At the root folder of project, rebuild autoload class

You can run validation, code fixing and phpqa by running inside de repo folder

Get running inside the project

Instance the bundle

Then, proceed with encore and template configuration as was explained at top of this document. You should change the path to entry files replacing ./vendor/randock by ./lib and enabling sass

Run dev-server. You may have some issues running inside a docker container. For better experience, run it on the local machine


All versions of adminpress-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1.3
ext-ctype Version *
ext-iconv Version *
ext-intl Version *
knplabs/knp-menu-bundle Version ^2.2
symfony/framework-bundle Version ^4.2
symfony/translation Version ^4.2
symfony/twig-bundle Version ^4.2
symfony/validator Version ^4.2
symfony/webpack-encore-bundle Version ^1.1
symfony/yaml Version ^4.2
twig/extensions Version ^1.5
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 randock/adminpress-bundle contains the following files

Loading the files please wait ....