Download the PHP package level-level/ll-voordemensen without Composer

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

GitHub Actions status

VoordeMensen (ll-voordemensen)

Unofficial plugin to access the VoordeMensen ticket platform directly from WordPress

Installation

Zip download (recommended)

To download and install this plugin in your WordPress website, follow the steps below:

  1. Go to the releases tab and find the latest release.
  2. Download the zip named ll-voordemensen-x.x.x.zip (where x.x.x is the version number).
  3. Rename the downloaded zip to ll-voordemensen.zip.
  4. Extract the zip file. Make sure it puts the contents in a directory called ll-voordemensen.
  5. Put the extracted folder and it's contents inside the wp-content/plugins directory of your WordPress installation.
  6. Activate the plugin via the wp-admin panel.

Composer installation (alternative method)

It's also possible to download the plugin via Packagist. Keep in mind that if you do, your composer should be setup in a way that packages of the type wordpress-plugin are installed in your wp-content/plugins directory.

Configuration

To configure the plugin, just fill in your client name in the VoordeMensen plugin settings screen.

Development

Setup

  1. Create a new WordPress installation using the latest twenty-* theme.
  2. Navigate to the wp-content/plugins directory.
  3. Clone this repo there, so it creates the ll-voordemensen directory.
  4. Navigate to the ll-voordemensen directory, and from there, run:

Run composer run test to verify results locally (more info about tests later in this file).

Releasing

  1. Merge all PR's in the main branch.
  2. Change the version number in ll-voordemensen.php.
  3. Wait for all GitHub Actions to finish.
  4. Update the created draft release, set a tag and version name, in SEMVER structure like vX.X.X.
  5. Publish the release.

Composer

Composer is used to manage the autoloading and automatic testing. More on the testing subject can be found later in this document.

Webpack

Usage

If you run into any problems locally with the initial installation of the node_modules (especially webpack) try setting your local environment to DEV by executing the following on your CLI:

The cause of the problem is probably the Node version and the default state it's in (it used to install all packages, but recently changed to production modules only).

Config

Using custom config for webpack dev server. Duplicate the development/config.local.json.example file and save it as development/config.local.json. In this file you add your own project url, set secure based on your dev protocol and set a port. This config is being used to overwrite the default URL of your local dev environment. This applies to the webpack-dev-server and browser-sync.

Example:

Images

Webpack automatically processes images used in the SCSS. For the images that you use directly in php, import them into index.js.

Get the image URL in the .php files by using the ( new \LevelLevel\VoorDeMensen\Assets() )->get_assets_directory_url() function. For example placing a logo in the header:

Lazyload

We use default browser lazyloading for images. Usage example:

Linter

Localization

Default text language for this repo is English. Make sure you translate all strings with the text-domain ll-vdm.

Run: composer run make-pot for updating the .pot file.

Automated testing

There are multiple code tests in place.

GitHub actions

On every pull-request, a GitHub action is run that verifies the project, based on the composer run test results. You need to provide the following secret in the repository (under settings/secrets):

Manually

Run composer run test to verify results locally.

Fixing

Run composer run fix to use automated fixing tools such as phpcbf.

Working locally with https

If you locally work with https you need to enable Chrome to allow invalid certificates. To enable this go to: chrome://flags/#allow-insecure-localhost and enable the Allow invalid certificates for resources loaded from localhost. option.

Editor config

Theme comes with a .editorconfig file. For this to work you need to install a plugin that uses the .editorconfig file.


All versions of ll-voordemensen with dependencies

PHP Build Version
Package Version
Requires php Version ^8.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 level-level/ll-voordemensen contains the following files

Loading the files please wait ....