Download the PHP package oxid-esales/admin-tools without Composer

On this page you can find all versions of the php package oxid-esales/admin-tools. 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 admin-tools

OXID eShop Admin-Tools Module

Development Latest Version PHP Version

Quality Gate Status Coverage Technical Debt

This module adds admin tools to the OXID eShop Admin Backoffice, allowing admins to select and clear specific or all subshop caches via a dropdown in the header.

Features

Branch Compatibility

Install and activate

You should run migrations both after installing the module and after each module update:

Cache Clearing Options

This module provides multiple cache clearing mechanisms.
The available options can be accessed via Admin UI or OXAPI GraphQL.

Available Cache Removal Types

Cache Type Description
Template Cache Removes compiled Twig template files.
Internal Cache Clears OXID eShop’s internal caching mechanism.
Container Cache Clears the dependency injection container cache (Symfony-based).
Module Caches Clears caches related to installed modules.
All Caches Performs a complete cache reset (combining all above caches).

Usage

This assumes you have OXID eShop (at least OXID-eSales/oxideshop_ce: v7.3.0 component, which is part of the 7.3.0 compilation) up and running.

Admin Panel Usage

OXAPI Integration

The module extends GraphQL API (OXAPI), allowing cache clearing via API.

Available GraphQL Queries

Query Name Functionality
clearTemplateCache Clears template-related cache.
clearInternalCache Clears internal system cache.
clearContainerCache Clears DI container cache.
clearModuleCaches Clears module-related cache.
clearCaches Clears all caches at once.

OXAPI Authentication Requirements

To clear caches via GraphQL API, a user must be authenticated and have the required permissions.

Authentication Details

Example GraphQL Request

Here’s how to clear all caches using GraphQL.

GraphQL Query

Only a logged in user with sufficient OXAPI permission will be permitted to call these queries. 'Logged in' means valid OXAPI JWT with sufficient permissions is sent in Authorization Bearer Header. User in question must be a member of 'gqladmintoolscache' usergroup.

Controller as a Service

The module provides ShopController as a service, making it extendable, testable, and reusable.

Example: ShopController

The ShopController is now registered as a service in Shop/Controller/services.yaml:

Development installation on OXID eShop SDK

The installation instructions below are shown for the current SDK for shop 7.4. Make sure your system meets the requirements of the SDK.

  1. Ensure all docker containers are down to avoid port conflicts

  2. Clone the SDK for the new project

  3. Clone the repository to the source directory

  4. Run the recipe to setup the development environment

You should be able to access the shop via

Running tests locally

Check the "scripts" section in the composer.json file for the available commands. Those commands can be executed by connecting to the php container and running the command from there, example:

Commands can be also triggered directly on the container with docker compose, example:

License

OXID Module and Component License, see LICENSE file.


All versions of admin-tools with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
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 oxid-esales/admin-tools contains the following files

Loading the files please wait ....