Download the PHP package manuxi/sulu-abbreviations-bundle without Composer

On this page you can find all versions of the php package manuxi/sulu-abbreviations-bundle. 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 sulu-abbreviations-bundle

SuluAbbreviationsBundle

CI License: MIT GitHub Tag Supports Sulu 2.6 PHP 8.2+

Deutsche Version

A Sulu bundle to manage abbreviations (glossary entries) in your projects. Version 2 is built on the sulu/content-bundle, the same concepts as in Sulu 3.

Features

Please feel comfortable submitting feature requests. This bundle is still in development. Use at own risk ๐Ÿคž๐Ÿป

image

๐Ÿ‘ฉ๐Ÿปโ€๐Ÿญ Installation

Install the package with:

If you're not using Symfony Flex, you'll also need to register the bundles in your config/bundles.php file. The SuluContentBundle has to be registered before this bundle:

Please add the following to your routes_admin.yaml:

Add the index of the published abbreviations to your sulu_search.yaml. "abbreviations_published" is the index of the live content, "abbreviations" the index of the drafts. Both indexes are searchable in the admin.

Optionally install sulu/automation-bundle (scheduled publishing) and use the HTTP cache of Sulu (sulu_http_cache).

Last but not least the database schema needs to be updated. The tables abbr_abbreviations, abbr_abbreviation_dimension_contents, abbr_abbreviation_dimension_content_excerpt_tags, abbr_abbreviation_dimension_content_excerpt_categories, abbr_abbreviation_versions and app_abbreviation_settings are used. Create a Doctrine migration with

or copy the migration template (MySQL / MariaDB). Without migrations use php bin/console doctrine:schema:update --dump-sql / --force. Make sure you only process the schema updates of this bundle!

Upgrading from 1.x? Read the upgrade guide.

๐ŸŽฃ Usage

First: Grant permissions for abbreviations (security context sulu.abbreviations.abbreviations, permissions view, add, edit, delete and live). After reload you should see the abbreviations item in the navigation. Start to create abbreviations.

Use the smart_content property type to show a list of abbreviations:

Use the field types abbreviation_selection (multiple) or single_abbreviation_selection (single) to select abbreviations in a template. Only abbreviations published in the current locale are returned, in the order of the selection.

The detail page of an abbreviation is rendered with the template @SuluAbbreviations/abbreviation.html.twig (variable content), override it with templates/bundles/SuluAbbreviationsBundle/abbreviation.html.twig. Further templates of the type abbreviation can be added through sulu_core.content.structure.paths.

Twig functions

๐Ÿงถ Configuration

The settings in the admin (Abbreviations > Settings) control the single view (header, default hero, breadcrumbs) and the intermediate page for the breadcrumbs.

See CHANGELOG.md for all changes.

๐Ÿ‘ฉโ€๐Ÿณ Contributing

For the sake of simplicity this extension was kept small. Please feel comfortable submitting issues or pull requests. As always I'd be glad to get your feedback to improve the extension :).


All versions of sulu-abbreviations-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
doctrine/doctrine-bundle Version ^2.13
massive/search-bundle Version ^2.9
sulu/content-bundle Version ^0.8.3
sulu/sulu Version ^2.6
symfony/config Version ^6.4 | ^7.0
symfony/console Version ^6.4 | ^7.0
symfony/dependency-injection Version ^6.4 | ^7.0
symfony/event-dispatcher Version ^6.4 | ^7.0
symfony/framework-bundle Version ^6.4 | ^7.0
symfony/http-foundation Version ^6.4 | ^7.0
symfony/http-kernel Version ^6.4 | ^7.0
symfony/intl Version ^6.4 | ^7.0
symfony/routing Version ^6.4 | ^7.0
symfony/security-core Version ^6.4 | ^7.0
symfony/translation Version ^6.4 | ^7.0
symfony/uid Version ^6.4 | ^7.0
symfony/workflow Version ^6.4 | ^7.0
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 manuxi/sulu-abbreviations-bundle contains the following files

Loading the files please wait ...