Download the PHP package lochmueller/seal without Composer

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

EXT:seal

SEAL Search - Flexible integration of the Search Engine Abstraction Layer (SEAL) project into TYPO3. Different index configurations and multiple possibilities. Use it with TYPO3 or for example with Meilisearch, Solr, Loupe, Typesense - without changing the integration. Have fun.

This extension was funded by the TYPO3 Association: community ideas I / community idea II & first blogpost / second blogpost

Requirements

Installation

  1. Install and configure the EXT:index extension
  2. Run composer require lochmueller/seal (note: This extension only works in composer mode)
  3. Optional: Install the right adapter if you want to use a specific engine (see below)
  4. Load the SiteSet lochmueller/seal in your site configuration
  5. Configure the search adapter via site configuration (DSN)
  6. Configure individual search options

Configuration

The extension is configured via the TYPO3 site configuration. The following options are available:

Option Default Description
sealSearchDsn typo3:// DSN for the search adapter
sealAutocompleteMinCharacters 3 Minimum characters for autocomplete
sealItemsPerPage 10 Items per page in search results
sealHighlighting 1 Highlight the search words in the result list
sealHighlightingFields title,content Comma separated index fields that should be highlighted

Keyword Highlighting

If sealHighlighting is enabled, the configured fields are requested with the SEAL highlighting API and rendered with the <seal:highlight> ViewHelper:

The ViewHelper escapes the indexed value and renders the matches as <mark> elements, so no unescaped HTML from the index ends up in the frontend. With crop the text is shortened around the first match. Every field without a match falls back to the raw value of the document.

Search Form, URLs and Caching

The search form is submitted via GET, so the complete search state (search word, tag filters, geo coordinates, page) lives in the URL. Results are bookmarkable and shareable, the back button works without a "resend form?" dialog, and the pagination is able to reproduce the search in the first place.

Three things follow from that and are worth knowing when you override the templates:

Search statistics are only written for the first result page, otherwise paging through the results would log the same term over and over.

Accessibility (WCAG 2.2)

The shipped Fluid templates are built to pass a WCAG 2.2 AA audit out of the box:

All labels are translatable via Resources/Private/Language/locallang.xlf; there is no hard coded English left in the templates.

DSN Examples

Available Adapters

Install the adapter you need via composer:

Adapter Package
Memory (Testing) composer require cmsig/seal-memory-adapter
Loupe composer require cmsig/seal-loupe-adapter (Recommended)
Meilisearch composer require cmsig/seal-meilisearch-adapter
Elasticsearch composer require cmsig/seal-elasticsearch-adapter
Typesense composer require cmsig/seal-typesense-adapter
Algolia composer require cmsig/seal-algolia-adapter
Apache Solr composer require cmsig/seal-solr-adapter
OpenSearch composer require cmsig/seal-opensearch-adapter
RediSearch composer require cmsig/seal-redisearch-adapter
Read/Write Split composer require cmsig/seal-read-write-adapter
Multi Adapter composer require cmsig/seal-multi-adapter

CLI Commands

Extension Structure

Directory Description
Adapter/ The SEAL TYPO3 Adapter for local database
Command/ CLI tools for schema management
Controller/ Frontend plugins
Engine/ Factory for engine creation
Event/ PSR-14 events of EXT:seal
EventListener/ Event listeners and connection to EXT:index
Exception/ Custom exceptions
Filter/ Search filter implementations
Handler/ Request handlers (e.g., autocomplete)
Highlight/ Rendering of the keyword highlighting
Middleware/ PSR-15 middleware stack
Pagination/ Fluid pagination based on SEAL Generator
Schema/ Schema structure management
Uri/ URI building that keeps the search state
ViewHelpers/ Fluid ViewHelpers of EXT:seal

Development

Credits

Thanks to SEAL for the nice idea and TYPO3 Association & TYPO3 Community for sponsoring the extension.


All versions of seal with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
cmsig/seal Version ^0.12
lochmueller/index Version ^3.0
typo3/cms-core Version ^13.4 || ^14.3
typo3/cms-extbase Version ^13.4 || ^14.3
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 lochmueller/seal contains the following files

Loading the files please wait ...