Download the PHP package mcms/package-admin without Composer

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

Admin

This is the admin package for Mcms. It's build on Angular material but you can go ahead and use any framework you like.

Install

Via Composer

Usage

Add this service provider to config/app.php

and this alias for convenience

You can register a new admin module like so

Then you should publish your admin.package.json like so

And here is a sample of the admin.package.json

Finally, make sure you publish all your files in the right folder in the public dir.

Get the processed registry with

Angular ACL

The role method can take multiple roles like

Roles support inheritance, so if you are a Super User with level 4, and the base requirement is an admin with level 3, you are good to go as a Super User inherits from admins

If however, Super User and admin are of the same level, then inheritance does not apply anymore. Use the multiple roles notation for when you want similar level of users to pass the check (moderator - publisher or user - author)

Extending an angular module

We need to make use of the ModuleExtender service. Add a new module to the registry like so :

First argument should be the module name and second the extension. Usually, we should have a component in that file but since you inherit from the template injection you could get away with something small.

Then in your module you gain the extended functionality by adding it to your tabs or whatever render method like so:

First argument is the module name and the second your existing tabs which will be concatenated with the additional ones and re-ordered.


All versions of package-admin with dependencies

PHP Build Version
Package Version
Requires intervention/image Version ^2.7.1
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 mcms/package-admin contains the following files

Loading the files please wait ....