Download the PHP package ekandreas/listig without Composer

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

Listig

Another List Manager in WordPress. Editorial plugin to manage custom post lists.

The plugin is published at the official WordPress plugin repository for download.

WORK IN PROGRESS 2018/2019

Dockerize development and going towards Gutenberg

Docker capsuled script file

./docker/develop is a "docker-compose" capsuled command with added extensions for this develop environment.

Docker setup, step by step

  1. Clone the repo to a dev folder
  2. Build the dockerfiles via the develop script, eg: ./docker/develop build
  3. Start your containers, eg: ./docker/develop up -d
  4. Run the script file with the init command to create a running container environment, eg: ./docker/develop init

If you want to run wp-cli commands in the container, eg: ./docker/develop wp help

Login to WordPress via http://localhost/wp/wp-admin with username admin and password admin.

Frontend

Listig uses laravel-mix as a webpack wrapper.

Start with yarn to get all dependencies. Then yarn run watch for continuous dev compile. Read more at https://github.com/JeffreyWay/laravel-mix

Note! The dist files is checked into the repo!


DEPRECATED

--old-- Work In Progress

This is a plugin in beta phase. A lot of work in progress. As development environment we use another repo at Github.

Requirements

Usage with shortcodes

You can render your list with the following shortcodes:

Here is an example from a post content to render a complete list with id=236:

Then you can format the shortcodes, eg set the headline to H2 and the read more link to italic.

shortcode example

Usage in templates

The global function listig accepts the ID of the list you want to loop. The ID is printed in the list settings (the gear icon).

listig returns an array with posts of properties; headline, excerpt, imageId and imageUrl.

A simple example to render the output from a list:

Hooks and filters

Things to consider:

This plugin is using the WP REST API but with it's own endpoints. Every call is authenticated with nonce and X-WP-Nonce to the header.

Composer is just used as a Packagist declaration. The plugin requirements for the backend is just WordPress from version 4.7.

Autoload will not be provided via Composer as the plugin will be published at the official WordPress plugin repository as downloadable plugin.

Goal

Create a WordPress plugin for post list managing based on fun techniques as:

We are (in this project) aiming for modern frontend / backend communication via REST API. Therefore no backend dependencies except for standard WordPress.

Contact

[email protected]

License

MIT


All versions of listig with dependencies

PHP Build Version
Package Version
Requires php Version ^7.0
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 ekandreas/listig contains the following files

Loading the files please wait ....