Download the PHP package se7enxweb/expsite-data-media without Composer

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

Exponential Site Data Media

General description

Exponential Site Data Media (extension name: expsite_data_media) is the media demo content data pack for Exponential CMS (eZ Publish Legacy), feature-ripped from netgen/media-site-data. It ships the demo site's database rows as a hand-maintained SQLite delta plus the matching binary storage payload, and an installer class that applies both on top of an existing installation. It provides the following capabilities:

The pack is a fork of netgen/media-site-data, stripped of templates and refactored into a plain data pack (SQL delta + storage payload) for the Exponential simple site installation.

Critical facts (read before touching anything)

Features

Exponential Site Data Media provides the following features in detail:

What is included

Key classes

Class File Purpose
expSiteDataMediaInstaller classes/expsitedatamediainstaller.php Extends expLayoutsSiteInstaller; installDataPack() imports the SQL delta via the sqlite3 CLI and merges data/storage/ into the live storage tree

Installer behaviour

Version

Copyright

License

Exponential Site Data Media is licensed under the GNU General Public License.

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

Exponential Site Data Media 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 Data Media 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 Data Media 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 Data Media in LICENSE.md. If not, see https://www.gnu.org/licenses/.

Using Exponential Site Data Media 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 Data Media extension:

Exponential CMS / eZ Publish Legacy version

PHP version

sqlite3 command-line client

Sibling extensions

Base site

VarDir

Installation

Installation is the standard legacy extension procedure: place the extension in extension/expsite_data_media, activate it in settings/override/site.ini.append.php, set [FileSettings] VarDir=var/site, regenerate autoloads and clear caches, then run the data import.

See the complete step-by-step instructions, including the VarDir requirement and both installDataPack() entry points, in INSTALL.md.

Usage

Installing the data pack - two supported entry points, both from the installation root:

Via the CLI script (recommended - runs the import plus all post-import merge/cleanup passes):

The script constructs expSiteDataMediaInstaller( 'extension/expsite_data_media/data', 'var/site/storage' ) with replaceConflicts = false (INSERT OR IGNORE, so kickstarter-created rows like the Home node are preserved) and runs installDataPack() followed by the post-import passes.

Via the site installer (activation, INI reset, import, autoloads, caches - but not the post-import merge/cleanup passes; for a complete demo install prefer the CLI script):

Programmatic use:

After the import, run a final cache clear:

Maintaining data.sql - the only supported workflow

data/data.sql is a fragile, hand-maintained INSERT OR IGNORE delta layer. It has been corrupted by naive regeneration before. Never dump the database over it and never rebuild it by hand-editing large sections. The maintained workflow is:

  1. Sync changes from the live database into the delta:

  2. Audit the delta against the live database before committing:

  3. Review the diff of data/data.sql line by line; only commit intended row changes.

For one-off corrections, patch the specific INSERT rows surgically. Keep data-replace.sql in step with data.sql when a change must also apply to replace-mode installs.

ID mapping against the Nexus reference site

Content in this pack originates from the Nexus (v5) reference installation. When cross-referencing rows:

Use these offsets when porting a row from the reference database into data.sql.

See doc/USAGE.md for the full installer reference, the data.sql maintenance workflow and the customization guide covering all three layers: the settings layer ([DataMediaSettings] DataPath / StoragePath and their INI cascade - remember that changing StoragePath only makes sense together with a matching VarDir), the template layer (the pack ships no templates; rendering is owned by the theme extensions) and the PHP layer (subclassing installDataPack() / importBinaries() and the replaceConflicts switch).

Documentation

Document Description
INSTALL.md How the pack is applied, prerequisites and the VarDir requirement
doc/USAGE.md Installer invocation, the data.sql maintenance workflow and 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-data-media with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0 || ^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-data-media contains the following files

Loading the files please wait ...