Download the PHP package raffaelj/cpmp-lib-skeleton without Composer
On this page you can find all versions of the php package raffaelj/cpmp-lib-skeleton. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download raffaelj/cpmp-lib-skeleton
More information about raffaelj/cpmp-lib-skeleton
Files in raffaelj/cpmp-lib-skeleton
Package cpmp-lib-skeleton
Short Description Skeleton to use CpMultiplane and Cockpit CMS as libraries with a clean root directory (not compatible with Cockpit CMS v2)
License MIT
Informations about the package cpmp-lib-skeleton
CPMP lib skeleton
This is not compatible with Cockpit CMS v2.
See also Cockpit CMS v1 docs, Cockpit CMS v1 repo and Cockpit CMS v2 docs, Cockpit CMS v2 repo.
If you want to keep your docs root clean while using CpMultiplane with Cockpit, you can use this skeleton to rearrange the file structure and to include them as a library. You can use cockpit like before - with some advantages:
- Add your own favicon to the root folder.
- Add your own files to the root without messing up the cockpit installation.
- You can use your root as an own git repository.
If you look for a Cockpit skeleton without CpMultiplane, have a look at the cockpit-lib-skeleton, that I wrote a while ago.
Intended use
This is a skeleton to start your own project. Don't clone this repository. Just download it, modify it and than run git init
to create a version controlled project.
Relevant files
Keep index.php
, bootstrap.php
, defines.php
and .htaccess.dist
. Also data/cp/storage/data
must exist before you can run Cockpit or cli commands. You can remove the other files, if you don't need them for your workflow.
File structure
After doing all steps described under Installation, your file structure should look like this:
Installation
manually
- Use this repository as a base or copy
index.php
,bootstrap.php
,defines.php
,.htaccess.dist
anddata/
to your project folder. - Copy
.htaccess.dist
to.htaccess
- Download CpMultiplane and extract it to
lib/CpMultiplane
. - Download Cockpit and extract it to
lib/cockpit
. - Copy
lib/cockpit/cp
tocp
and tomp
so the cli commands from Cockpit and from CpMultiplane work from your root directory. - Use the cli to create an admin user
./mp account/create --user admin --password admin --email [email protected]
- Install addons CpMultiplaneGUI, UniqueSlugs, FormValidation.
via git
I expect, that you use this repo as a base or that you copy index.php
, bootstrap.php
, defines.php
, .htaccess.dist
and data/cp/
to your project folder.
via composer and docker
from a bare directory
from this repository
This is for local development. I expect, that composer and docker are installed.
Create a .env
file and change the user/group id to your needs.
build
install dependencies:
composer install
or composer install --no-dev --ignore-platform-reqs
update dependencies:
composer update
or composer update --no-dev --ignore-platform-reqs
Credits/License
Some files and snippets are copied from the core Cockpit CMS, author: Artur Heinze, www.agentejo.com, MIT License
Everything else: Raffael Jesche, www.rlj.me, MIT License
All versions of cpmp-lib-skeleton with dependencies
ext-json Version *
ext-mbstring Version *
composer/installers Version ^1.12
oomphinc/composer-installers-extender Version ^2
claviska/simpleimage Version ^3.7
erusev/parsedown Version ^1.7.4
aheinze/cockpit Version ^0.12.2
raffaelj/cpmultiplane Version ^0.3.3
raffaelj/cockpit-cpmultiplanegui Version ^0.3.2
raffaelj/cockpit-uniqueslugs Version ^0.5.4
raffaelj/cockpit-formvalidation Version ^0.3.1