Download the PHP package se7enxweb/expsite-installer without Composer

On this page you can find all versions of the php package se7enxweb/expsite-installer. 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 expsite-installer

Exponential Site Installer

General description

Exponential Site Installer (extension name: expsite_installer) is a one-command site installer for Exponential CMS (eZ Publish Legacy). It is the local equivalent of netgen/site-installer-bundle's one-step site provisioning, reimplemented on the kernel eZScript / eZINI / eZCache APIs, and provides the following capabilities:

Features

Exponential Site Installer provides the following features in detail:

Key classes

Class File Purpose
expSiteInstaller classes/expsiteinstaller.php Static installer facade: discovery, activation, autoloads, caches, full/media install

CLI entry point: bin/php/install.php (kernel eZScript bootstrap, runs runFullInstall()).

Methods

Each phase is public and can be used on its own, so custom deployment scripts can compose the individual steps with extra phases in between.

Package dependency handling

Package-level dependency resolution is handled by the Exponential 6 kernel package installer, which installs a package's declared dependencies before the package itself; this extension complements that by wiring up the extension activation and data-pack side. Use this installer for the extension/data-pack side and the kernel package installer for .ezpkg packages; the two are complementary.

Version

Copyright

License

Exponential Site Installer is licensed under the GNU General Public License.

The complete license agreement is included in the LICENSE.md file.

Exponential Site Installer is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License or at your option a later version.

Exponential Site Installer is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

The GNU GPL gives you the right to use, modify and redistribute Exponential Site Installer under certain conditions. The GNU GPL license is distributed with the software, see the file LICENSE.md.

It is also available at https://www.gnu.org/licenses/gpl.txt

You should have received a copy of the GNU General Public License along with Exponential Site Installer in LICENSE.md. If not, see https://www.gnu.org/licenses/.

Using Exponential Site Installer under the terms of the GNU GPL is free (as in freedom).

For more information or questions please contact [email protected]

Requirements

The following requirements exists for using Exponential Site Installer extension:

Exponential CMS / eZ Publish Legacy version

PHP version

Sibling extensions

Installation

Installation is the standard legacy extension procedure: place the extension in extension/expsite_installer, activate it in settings/override/site.ini.append.php (the installer itself will add the remaining explayouts* / expsite* extensions to that list when it runs), regenerate the extension autoloads and clear all caches.

See the complete step-by-step instructions in INSTALL.md.

Usage

The one-command install, from the installation root:

The script must be started from the installation root - it resolves extension/..., settings/override/... and var/... paths relative to the current working directory. When running as root, append --allow-root-user. The script boots the kernel via eZScript, then calls:

and prints each result section (extensions, activated, installer_output, autoload_output, cache_output) to the CLI.

What a full install does, in order:

  1. discoverExtensions() - scans extension/ for directories starting with explayouts or expsite.
  2. activateExtensions() - merges them into [ExtensionSettings] ActiveExtensions[] in settings/override/site.ini.append.php (rewrites the [ExtensionSettings] block in place).
  3. expLayoutsSiteInstaller( $dataPath, $storagePath )->install() - imports schema/data SQL and copies binary storage.
  4. regenerateAutoloads() - shells out to php bin/php/ezpgenerateautoloads.php -o.
  5. clearAllCaches() - clears the global, template and content cache tags.

Media data-pack install (INSERT OR IGNORE delta plus storage merge, applied on top of an existing site):

runMediaInstall() resets all INI instances and clears the INI cache before the import so the freshly activated extensions' settings are visible, then runs expSiteDataMediaInstaller::installDataPack(). The dedicated media CLI script is extension/expsite_data_media/bin/php/install_data.php (see that extension's documentation).

Dispatcher and quick setup:

Individual steps:

See doc/USAGE.md for the full CLI and PHP API reference and the customization guide covering all three layers: the settings layer (the shipped [SiteInstaller] / [ExtensionsToActivate] INI keys and the important caveat that the current code takes paths from method arguments, not from these settings), the template layer (nothing to override; the extension ships no templates) and the PHP layer (composing the public static steps in your own deployment script and plugging in your own expLayoutsSiteInstaller subclass).

Documentation

Document Description
INSTALL.md Activation, prerequisites and how to run the installer
doc/USAGE.md CLI invocation and PHP API examples plus the settings / template / PHP customization layers
doc/FAQ.md Answers to the most common questions
doc/TODO.md Known gaps and planned improvements
doc/SUPPORT.md How and where to get help
LICENSE.md The complete GNU General Public License agreement

Troubleshooting

Read the FAQ

Use our support systems


All versions of expsite-installer with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1 || ^8.2 || ^8.3 || ^8.4
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 se7enxweb/expsite-installer contains the following files

Loading the files please wait ...