Download the PHP package floriankarsten/simple-staging without Composer

On this page you can find all versions of the php package floriankarsten/simple-staging. 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 simple-staging

Simple staging Janitor jobs

Plugin for very simple staging setup for https://github.com/bnomei/kirby3-janitor/ (required). Beta quality - use at your own risk. It's working without problems for me but any comments and suggestions for improvements are welcome. There are two variants pure php and rsync.

Requirements

Plugin assumes flat structure and while you can define the destination (live site) as you want i would suggest structure like

PHP job vs Rsync job

Both jobs are different. The PHP job should be more compatible but it naive, takes longer, it alwyas copies everything and it requires you to have space for 3 versions of your site. It works like this

  1. Copy staging.mysite.com to __staging_mysite.com
  2. Rename mysite.com to __tobedeleted_mysite.com
  3. Rename __staging_mysite.com to mysite.com
  4. Delete __tobedeleted_mysite.com

Rsync job requires you to have rsync available on your server but it syncs changes from staging to live directly. This makes it much more efficient and you have only 2 versions of site at the time. Rsync also has better include/exclude options. Many shared hostings with ssh have rsync available but check if you allow php to run exec();.

You probably want to use Rsync job if you can.

Install

config.php

In your blueprint

Configuration PHP job

Configuration Rsync job

This plugin wouldn't happen without @garethworld who kindly hired me to make it and then wanted to have it released to Kirby community. Thanks GARETH


All versions of simple-staging with dependencies

PHP Build Version
Package Version
Requires getkirby/composer-installer Version ^1.1
php Version >=7.4.0
bnomei/kirby3-janitor Version ^2.6
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 floriankarsten/simple-staging contains the following files

Loading the files please wait ....