Download the PHP package se7enxweb/expsite-core without Composer

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

Exponential Site Core

General description

Exponential Site Core (extension name: expsite_core) is a set of site helper classes for Exponential CMS (eZ Publish Legacy), ported from selected netgen/site-bundle helper classes and reimplemented on the native kernel APIs (eZContentObjectTreeNode, eZMail, eZTemplate). It provides the following capabilities:

The helpers mirror the behaviour of the netgen/site-bundle MailHelper, PathHelper and RedirectHelper services, with no Symfony dependencies - they are plain PHP classes usable from any module, template operator, cronjob or block handler.

Features

Exponential Site Core provides the following features in detail:

Key classes

Class File Purpose
expSiteBundlePathHelper classes/expsitebundlepathhelper.php Builds a breadcrumb path array for a location ID
expSiteBundleRedirectHelper classes/expsitebundleredirecthelper.php Resolves internal_redirect / external_redirect fields to a redirect URL
expSiteBundleMailHelper classes/expsitebundlemailhelper.php Sends HTML mail rendered from a template through the kernel mail layer

Breadcrumbs

Redirects

Mail

Configuration

Settings live in settings/expsite_core.ini.append.php:

settings/design.ini.append.php registers expsite_core as a design extension. The path helper reads the breadcrumb root from content.ini [NodeSettings] RootNode.

Version

Copyright

License

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

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

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

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

Exponential CMS / eZ Publish Legacy version

PHP version

Other extensions

Installation

Installation is the standard legacy extension procedure: place the extension in extension/expsite_core, activate it via [ExtensionSettings] ActiveExtensions[] (or ActiveAccessExtensions[] for a single siteaccess), regenerate the extension autoloads and clear all caches. Optionally exclude content classes from breadcrumbs via [PathHelper] ExcludedContentTypes[].

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

Usage

All three helpers are plain classes instantiated with new - no service container required.

Send a templated HTML mail:

Build a breadcrumb path:

Check for an editorial redirect (typical placement is early in a content/view override or a custom module, before rendering):

See doc/USAGE.md for the full verified examples and the customization guide covering all three layers: the settings layer (the INI cascade for expsite_core.ini overrides and the related kernel settings), the template layer (mail templates resolve through the normal design cascade; restyle by shipping the template path you pass to sendMail() in your own design extension) and the PHP layer (all helpers expose protected hook methods - createSenderAddress(), addReceivers(), renderTemplate(), excludedContentTypes(), getUrlFromAttribute(), isAbsoluteUrl() - intended for subclassing instead of editing the extension).

Documentation

Document Description
INSTALL.md Activation and configuration instructions
doc/USAGE.md Verified code 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-core 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-core contains the following files

Loading the files please wait ...