Download the PHP package davidyell/nice-admin without Composer

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

CakePHP-NiceAdmin

This plugin is designed to make admin areas baked from CakePHP look a little nicer and be easier to use and understand.

Requirements

What do you get in the box?

ActionButtons Helper

Helper for replacing the 'Actions' cell contents in index views with buttons rather than textual links.

StatusLights Helper

Helper for replacing a Status column in an index view with a nice coloured label based on the status_id.

Boolean Helper

This will change boolean display fields into ticks (✔) and crosses (✘) rather than 1/0.

Get the code

composer require davidyell/nice-admin:dev-master

Installation

The plugin will need to be loaded using Plugin::load('NiceAdmin') in your /config/bootstrap.php.

Usage

To use the helpers you will need to add them to your helpers array in your AppView.


Loading StatusLights Helper

You can pass in an array of options into the StatusLights helper. The key of the array is the status_id then an array of the label to display and the class of the item output.

The example here replicates the default settings in the helper. So if you are happy with the defaults, you don't need to pass these options in.

StatusLights Helper

This will convert a status link into a nice visually identifiable label.


ActionButtons Helper

You can output either buttons or icons depending on which you need. The helper will, by default, output all three links as buttons. Passing in an array of buttons you want to ouput as v,e and/or d. For 'View', 'Edit', and 'Delete'. Then you'll need to pass in the controller. The last option is either icons or buttons.


Loading Boolean Helper

Similar to the StatusLights helper you can pass in an array of options to customise the display of the output.

Boolean Helper


What's it look like?

Table row

Further development

Let me know what features you'd like or feel free to fork and create a pull request.

License

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.


All versions of nice-admin with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.0
cakephp/cakephp Version ~3.4
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 davidyell/nice-admin contains the following files

Loading the files please wait ....