PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Thierry Feuzeu   Polr Admin Dashboard   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Polr Admin Dashboard
Another admin dashboard for the Polr URL shortener
Author: By
Last change: Updated the documentation in the README.
Date: 6 years ago
Size: 2,535 bytes
 

Contents

Class file image Download

Polr Admin

An alternative admin dashboard for the Polr URL shortener.

The goal is to provide a dashboard for managing multiple Polr instances.

This dashboard is packaged as a Jaxon extension, so it can be installed on any running PHP web application.

The Polr API package needs to be installed on each instance of Polr to be managed.

Features

The features are mostly the same as Polr, but with few differences.

  • The `Settings` tab allows to choose a Polr instance from a dropdown list.
  • The dashboard can display stats for all links.
  • The user creation and deletion, link redirection and password change features are not included.
  • AngularJS is dropped in favor of Jaxon https://www.jaxon-php.org.
  • The package is a Jaxon extension, and not a standalone application.
  • All features are fully implemented with Ajax, using Jaxon.

Jaxon package

Depending on the PHP framework used by the application, a different Jaxon package must be installed and configured together with Polr Admin.

Jaxon packages exist for the following frameworks:

In the case an unsupported framework (or no framework) is used, the Armada package must be installed instead.

The Jaxon packages are documented online.

Documentation

Notice for other frameworks

This package uses the Blade template engine to display its views. As a consequence, when using a framework other than Laravel, the Blade package for Jaxon must also be installed.

{
    "require": {
        "jaxon-php/jaxon-codeigniter": "~2.0",
        "jaxon-php/jaxon-blade": "~2.0",
        "lagdo/polr-admin": "~0.1"
    }
}