Download the PHP package drcsystems/display-third-party-users without Composer

On this page you can find all versions of the php package drcsystems/display-third-party-users. 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 display-third-party-users

Drc Systems Display Third Party Users

A simple wordpress plugin to display users in table on custom endpoint from third party API.

PHP Quality Assurance


Installation

Plugin Installation

The plugin can be installed via Composer by the name drcsystems/display-third-party-users.

It means they can be installed by adding the entry to composer.json require-dev:

or via command line with: (From your wordpress root)

Plugin Requirements

(The default target version is PHP 7.0+ and Wordpress 5.7)


Usage

Basic usage

When the plugin is installed via Composer, and dependencies are updated, everything is ready and you can view the plugin in wp-admin under plugin where you need to activate it.

There are options that can be used to customise which can be found under Settings->Third Party Users in wp-admin

Configuration

After activating the plugin go to Settings->Third Party Users in wp-admin and change the Endpoint Slug if you want other wise the default value will be used.

Following API is used as default to display users:

(You can change the API but make sure your API has the same response structure as the default API)

Visit the page with your Endpoint Slug to view the data in table

Customization

You can display more columns in the table using this filter hook:

For e.g.,

Phpunit Testing

Go to your plugin dir, run this command:

Replace “root” with the username of your database and replace ” with the database password. Also replace “localhost” with the hostname of your database. You can find all three of these values in your wp-config.php file.

You can now type phpunit OR lib/bin/phpunit into the command line and the unit tests will run

Phpunit Testing Refrence



All versions of display-third-party-users with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6
composer/installers Version ^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 drcsystems/display-third-party-users contains the following files

Loading the files please wait ....