SatisPress – Preserve upper/lower case letters in theme directory name?


I’m using SatisPress ( to expose some premium plugins and themes as composer packages, because I would like to use the roots/bedrock boilerplate.

Now I have the following issue:
The Divi theme ( uses a capital letter for the themes directory (“Divi” not “divi”). Now when I use

composer require satispress/divi

it downloads the package and installs it to the correct directory and the theme is showing and is usable.

However the themes directory is now all lower case (“divi” not “Divi”) which breaks child themes based on Divi.

What I found:

  • Behaviour occurs on bedrock as well as in an empty directory
  • The packages zip files created by SatisPress have the correct case in the zips name and in the contained files as well

While it should be possible to just change the child themes template entry to lower case, this could be problematic when (for whatever reason) the main theme would be installed the “normal” way, now containing upper case again and break the site.

Is there a way to change the behaviour of either SatisPress or composer to allow for upper case letters in directory names?


>>> Share a link to this question, just copy and paste the code bellow on your web page <<<

<a href="">

SatisPress - Preserve upper/lower case letters in theme directory name?</a>
, Daniel Bachmann 2 months 0 Answers 88 views 0

Leave an answer