Download the PHP package stoutlogic/local-wordpress-theme-repository without Composer

On this page you can find all versions of the php package stoutlogic/local-wordpress-theme-repository. 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 local-wordpress-theme-repository

Local WordPress Theme Repository

A Composer Plugin

The purpose of this composer plugin is to allow you to easily set up and maintain a local composer repository for a wordpress-theme package on a local file system, and then be able to require that wordpress-theme package into your root site package allowing you to run composer install or composer update and symlink that theme to wp-content/themes and manage any theme dependencies.

This is useful in development so you can separate out your theme development from the wordpress environment. You can blow away the wordpress install without cloberring your theme.

This can also be useful on the server as well, if you only deploy the theme. Especially if you do rolling deploys, you can set the location of the local wordpress-theme repostiory to the path of the symlinked "current" theme deploy.

Installation

To install this composer plugin, simply require it in your composer.json file

or run

composer require stoutlogic/local-wordpress-theme-repository

Using

This plugin provides 3 scripts: init-theme, change-theme-name, and change-theme-version

init-theme

composer run-script init-theme

This is the first command that should be performed. It will walk you through the steps of setting up your local theme repository. It will ask you for a series of inputs. The defaults will be shown in [brackets], and you can just hit enter to accept the defaults.

Then you'll be ask to input the relative path to the WordPress install's theme directory

If the theme package isn't found, you will get the chance to download it from the packagist if it exists. Type y or yes to do so, the default behavior is not to

If you don't, please copy, download or create the theme manually in the the specified path. Be sure that the version is set in the theme's composer.json file. If it doesn't you can manually add it. Make sure it matches the version required in teh site's composer.json file and run composer update

It may be easier just to run the init-theme script again. It will pull the values you already set in your theme and site composer.json files as defaults so it should go quickly.

change-theme-name

composer run-script change-theme-name

If the name you specified in either site or theme composer.json differ, or if you want to easily change both, simply run the change-theme-name script to change it in both places.

change-theme-version

composer run-script change-theme-version

Much like the change-theme-name script, if the version you specified in either site or theme composer.json differ, or if you want to easily change both, simply run the change-theme-version script to change it in both places.


All versions of local-wordpress-theme-repository with dependencies

PHP Build Version
Package Version
Requires composer-plugin-api Version ^1.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 stoutlogic/local-wordpress-theme-repository contains the following files

Loading the files please wait ....