Download the PHP package threespot/example-wordpress-composer without Composer

On this page you can find all versions of the php package threespot/example-wordpress-composer. 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 example-wordpress-composer

fixme-project-name

Note: Badges are auto-generated when creating a new WP site on Pantheon via Terminus. You can copy the Markdown from CircleCI in Project Settings -> Status Badges.

Outline

Pantheon Environments

Local Development

In order to more easily recreate the production environment locally, Lando is used for local development. We also use Pantheon’s CLI, Terminus, to sync files and databases.

Prerequisites

Install all the required local dependencies:

You'll also need write access to this repo and be a member of the Pantheon Project.

Installation

  1. Clone the repo $ git clone https://github.com/Threespot/fixme-app-name.git
  2. Install application composer dependencies $ composer install
  3. Install theme dependencies
    • Navigate to the theme directory $ cd web/wp-content/themes/fixme-app-name
    • Install composer dependencies $ composer install
    • Install Node dependencies $ yarn install

Boot WordPress Application

After all dependencies are installed, navigate to the project root directory and run:

If this is the first time running this command, Lando will build the necessary Docker containers.

To stop the server run:

Other Lando CLI command can be read here in the Lando docs

Boot Theme Server (Webpack)

Making CSS or JS updates requires running Webpack to recompile and inject the CSS and JS.

  1. Navigate to the theme folder $ cd /web/wp-content/themes/sage

  2. Install npm dependencies using Yarn $ yarn install

  3. Start Webpack $ yarn start

  4. You should now be able to view the site locally at https://localhost:3000
  5. To stop the server, press Control + C

Pull Files and Database from Pantheon

Lando is used to pull uploads and data from Pantheon. See docs here.

Deploying

Code committed to the remote master branch is automatically deployed to the dev environment on Pantheon. After a local branch is pushed, CircleCI will build and deploy the files to Pantheon’s dev environment. You can tell CircleCI to not run by adding [skip ci] to the commit message.

Code that exists on dev can be promoted to the test environment, and test can be promoted to the live environment. For more details about the application lifecycle, see https://pantheon.io/agencies/development-workflow/dev-test-live-workflow. Feature branches with a corresponding pull request will create a multi-dev environment used for testing individual features. See https://pantheon.io/docs/multidev for documentation.

Deployment Using Terminus

Test Environment

Code will be promoted from dev to test

NOTE: this composer script will also purge Pantheon's cache.

or

Live Environment

Code will be promoted from test to live

or


All versions of example-wordpress-composer with dependencies

PHP Build Version
Package Version
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 threespot/example-wordpress-composer contains the following files

Loading the files please wait ....