2017 © Pedro Peláez
 

wordpress-plugin satispress

Generate a Composer repository from installed WordPress plugins and themes.

image

blazersix/satispress

Generate a Composer repository from installed WordPress plugins and themes.

  • Thursday, July 26, 2018
  • by bradyvercher
  • Repository
  • 6 Watchers
  • 116 Stars
  • 83 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 6 Forks
  • 8 Open issues
  • 8 Versions
  • 19 % Grown

The README.md

SatisPress

Facilitate modern best practices for managing WordPress websites by automating Composer support for private plugins and themes., (*1)

What is Composer?

When managing a WordPress site, multiple environments are usually needed for developing or testing code before deploying it to the live server. This requires being able to easily replicate the site and its dependencies between environments, which is where Composer comes in., (*2)

Composer allows for defining a project's dependencies, where they come from, how to access them, and then installing them from their source., (*3)

For WordPress sites, dependencies are usually plugins and themes, and even WordPress itself. Essentially, a single file (composer.json) can be shared with another developer and they can rebuild the entire site structure from it., (*4)

Composer connects to repositories — directories that tell it where to find dependencies (packages) and how they should be handled., (*5)

Packagist is the main Composer repository for PHP packages and WordPress Packagist provides access to plugins and themes hosted in the directories on WordPress.org., (*6)

What's the problem?

Most commercial plugins and themes (also known as packages) aren't publicly available, so they can't be installed with Composer., (*7)

Some common workarounds include:, (*8)

  • Checking the plugin or theme in alongside custom project code in your version control system
  • Creating a separate private repository for each plugin or theme and manually updating it as new versions are released

Neither option is ideal and can be a hassle to maintain over time., (*9)

Furthermore, access is usually restricted with proprietary licensing schemes that make it difficult to download releases programmatically., (*10)

How does SatisPress help?

SatisPress creates a dynamically updated Composer repository that provides access to private plugins and themes and makes new releases available automatically., (*11)

After installing SatisPress (it's a standard WordPress plugin):, (*12)

  1. Choose the plugins and themes that you want to manage
  2. SatisPress zips the currently installed versions and stores them in a cache directory
  3. When an update for a managed plugin or theme becomes available, SatisPress downloads and saves it alongside previously cached releases
  4. A Composer repository is generated that can be included in your composer.json file to download any cached plugin or theme

There are several possible workflows, but SatisPress allows you to manage private plugins and themes in a standard WordPress installation, leveraging the built-in update process to handle the myriad licensing schemes that would be impossible to account for outside of WordPress., (*13)

It's the missing piece for managing WordPress websites with Composer., (*14)

What if I don't use Composer?

SatisPress can still benefit you since it makes releases downloadable directly from your admin panel, so you don't need to log in to vendors' sites to download updates., (*15)

Oftentimes vendors only provide access to the latest release, so you're stuck if something breaks and you didn't save the previous version. With SatisPress, you can download previously cached releases to rollback if needed and compare the code to see what changed., (*16)

Documentation

For installation notes, information about usage, security, and more, see the documentation., (*17)

Credits

Created by Brady Vercher and supported by Gary Jones., (*18)

The Versions

20/03 2018

dev-master

9999999-dev https://github.com/blazersix/satispress

Expose installed plugins as Composer packages.

  Sources   Download

GPL-2.0+

The Requires

 

wordpress composer satis

20/03 2018

v0.2.3

0.2.3.0 https://github.com/blazersix/satispress

Expose installed plugins as Composer packages.

  Sources   Download

GPL-2.0+

The Requires

 

wordpress composer satis

29/05 2016

v0.2.2

0.2.2.0 https://github.com/blazersix/satispress

Expose installed plugins as Composer packages.

  Sources   Download

GPL-2.0+

The Requires

 

wordpress composer satis

02/04 2015

v0.2.1

0.2.1.0 https://github.com/blazersix/satispress

Expose installed plugins as Composer packages.

  Sources   Download

GPL-2.0+

The Requires

 

wordpress composer satis

08/05 2014

v0.2.0

0.2.0.0 https://github.com/blazersix/satispress

Expose installed plugins as Composer packages.

  Sources   Download

GPL-2.0+

The Requires

 

wordpress composer satis

17/12 2013

v0.1

0.1.0.0 https://github.com/bradyvercher/satispress

Expose installed plugins as Composer packages.

  Sources   Download

GPL-2.0+

The Requires

 

wordpress composer satis