Download the PHP package loonpwn/wp-keystone without Composer

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

WordPress Keystone

Wordpress Keystone is a WordPress boilerplate designed for quickly building effective twelve-factor applications

Why WordPress Keystone?

WordPress Keystone is the combination of many libraries, taking inspiration and straight code from them. If you are confused on how some of the parts of this project work, checkout the following projects:

Project Structure

app - Project functionality

app/components - This is the bread and butter of the boilerplate. All your code you would usually stick in functions.php lives here. WordPress Keystone wil automatically parse folders within the components folder and have the files contained loaded under their wordpress filter or hook. This forces developers to think about when there code is being executed within the WordPress runtime.

config - All application configuration is found here including constant definition and bootstrapping

env - Environment based files. Mainly docker configuration and tools are found within here.

resources - Most importantly, your view files are found here as well as styles and scripts.

runtime - Any application runtime files live here, besides uploads.

web - This is your web root. Avoid putting anything in here if you can.

Setup

Boilerplate Instructions

Install: composer create-project loonpwn/wp-keystone project-name

First Run a search and replace for the following:

Then delete this section from the readme.

Instructions

Note: this project uses docker for all its local development.

Local Setup

  1. Copy over the env file cp -n .env.example .env
  2. Copy over the htaccess cp -n web/.htaccess.sample web/.htaccess
  3. Build & docker containers docker-compose up -d

    Note: If you are already running apache or mysql on ports 80 / 3306, you can change the ports docker runs on in the .env file, otherwise close your other applications

    1. Setup your hosts file. sudo sh -c 'echo "127.0.0.1 local.wp-keystone" >> /etc/hosts'
  4. Mount yourself to the workspace ./env/mount-workspace.sh
  5. Run the deployment script composer build
  6. Install WordPress wp core install --url=local.wp-keystone --title="WordPress Keystone" --admin_user="wp-keystone" --admin_email="[email protected]"

    Note: This command will output the admin password

  7. Done. You can visit the site at http://local.wp-keystone.

    Note: Admin login is at http://local.wp-keystone/wp/wp-admin and login with wp-keystone. The local environment does not check for a valid password so you can enter in anything.

Development

Docker

This project uses a docker container which will host our site for us and be able to build all of our assets for us. Some useful commands:


All versions of wp-keystone with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
brainmaestro/composer-git-hooks Version ^2.4
composer/installers Version ^1.4.0
johnpbloch/wordpress Version ^4.9.5
oscarotero/env Version ^1.1.0
roots/sage-lib Version ~9.0.0-beta.4
roots/wp-password-bcrypt Version ^1.0.0
vlucas/phpdotenv Version ^2.4.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 loonpwn/wp-keystone contains the following files

Loading the files please wait ....