Download the PHP package se7enxweb/explayouts-core without Composer

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

Exponential Layouts Core

General description

Exponential Layouts Core (explayouts_core) is the core domain service layer of the Exponential Layouts suite for Exponential 6 / Exponential Legacy. It wraps the persistent value objects owned by the explayouts extension (expLayoutsLayout, expLayoutsZone, expLayoutsBlock, expLayoutsCollection, expLayoutsRule, ...) in small service classes with a create/load/update/delete API, so admin modules and the JSON API do not have to talk to eZPersistentObject directly.

It is an Exponential Legacy port inspired by the netgen/layouts-core package. The services are intentionally thin: they use the Exponential Legacy environment (database, cache, permissions) rather than the Doctrine/Symfony stack of the upstream package.

This extension provides the following capabilities:

Features

The following features are provided by the Exponential Layouts Core extension:

Version

Copyright

License

Exponential Layouts Core is licensed under the GNU General Public License.

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

Exponential Layouts Core 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 Layouts Core 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 Layouts Core under certain conditions. The GNU GPL license is distributed with the software, see the file LICENSE.md.

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

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

Using Exponential Layouts Core 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 the Exponential Layouts Core extension:

Exponential version

PHP version

Sibling extensions

Installation

In short: place the extension in extension/explayouts_core, activate it via site.ini [ExtensionSettings] ActiveExtensions[] (or per siteaccess via ActiveAccessExtensions[]), then regenerate autoloads and clear all caches. The extension ships no INI settings of its own — it contains only the five service classes plus an autoloads/explayouts_core_autoload.php class map.

See INSTALL.md for the full step-by-step installation instructions.

Usage

All services are plain classes; instantiate them directly.

Class Purpose
expLayoutsCoreLayoutService load, loadDraft, loadPublished, listAll, create, update, publish, copy, delete, loadByIdentifier, listByType
expLayoutsCoreZoneService load, loadByLayout, create, update, delete, countBlocks, setLinkedLayout
expLayoutsCoreBlockService load, loadByZone, create, update, move, delete, setParameters, setCollection
expLayoutsCoreCollectionService load, loadByBlock, create, update, delete, addItem, removeItem, loadItems, updateItem, setItems
expLayoutsCoreRuleService load, listAll, create, update, setTargets, setConditions, copy, delete, listByLayout, enable, disable

A minimal example creating and publishing a layout with one block:

Mapping rules follow the same pattern:

Consumers of these services in the suite:

See doc/USAGE.md for exhaustive scenarios with the real method signatures for layouts, zones, blocks, collections and mapping rules, CLI bootstrap notes, and the full customization guide covering the settings layer (INI cascade via explayouts.ini), the template layer (none here — rendering templates belong to explayouts and the UI extensions) and the PHP layer (subclassing services, stable data shapes for update() calls).

Documentation

Document Description
INSTALL.md Step-by-step installation: activation, autoloads, sibling extension ordering
doc/USAGE.md PHP examples with real signatures for all five services, customization layers
doc/FAQ.md Answers to the most common questions and problems
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 explayouts-core 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/explayouts-core contains the following files

Loading the files please wait ...