Download the PHP package intellect-web-development/symfony-presentation-bundle without Composer

On this page you can find all versions of the php package intellect-web-development/symfony-presentation-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 symfony-presentation-bundle

Symfony Presentation bundle

Описание:

Данный пакет предназначен для удобной работы с уровнем представления symfony-приложений.

Назначение:

Пример использования фильтрации:

Пример строки запроса:

Сортировка:

Описание:

По умолчанию сортировка задается параметром "sort". Направление сортировки задается опциональным знаком '-' перед названием свойства, по которому предполагается сортировка. Если знак '-' присутствует, то сортировка по этому полю ведется с модификатором DESC, иначе - ASC. Допускается сортировка по нескольким полям агрегата. Для этого необходимо написать несколько полей, разделив их символом ','. Чем раньше было указано поле, тем больший "вес" оно имеет при выборке.

Пример:

Пагинация:

По умолчанию пагинация задается параметром "page". Параметр имеет два поля - number и size.

Фильтрация:

Описание:

Операторы поиска:

Название Допустимые значения Пример Описание
NOT_IN 'not-in' filter[status][not-in][]='blocked' Свойство не содержит ни одно из указанных значений
IN 'in' filter[status][in][]='active' Свойство содержит одно из указанных значений
RANGE 'range' filter[rating][range]='17,42' Свойство находится в выбранном указанном диапазоне
IS_NULL 'is-null' filter[gender][is-null] Свойство равно null
NOT_NULL 'not-null' filter[name][not-null] Свойство не равно null
LESS_THAN 'less-than', '<', 'lt' filter[rating][<]='94' Свойство меньше указанного значения
GREATER_THAN 'greater-than', '>', 'gt' filter[rating][>]='42' Свойство больше указанного значения
LESS_OR_EQUALS 'less-or-equals', '<=', 'lte' filter[rating][<=]='15' Свойство меньше или равно указанному значению
GREATER_OR_EQUALS 'greater-or-equals', '>=', 'gte' filter[rating][>=]='97' Свойство больше или равно указанному значению
LIKE 'like' filter[email][like]='26d@' Свойство содержит часть указанного значения
NOT_LIKE 'not-like' filter[email][not-like]='27d@' Свойство не содержит часть указанного значения
EQUALS 'equals', '=', 'eq' filter[userId][eq]='ccf92b7a-8e05-4f4b-9f0a-e4360dbacb23' Свойство эквивалентно указанному значению
NOT_EQUALS 'not-equals', '!=', '<>', 'neq' filter[userId][neq]='aaf92b7a-8e05-4f4b-9f0a-e4360dbacb23' Свойство не эквивалентно указанному значению

Пример:

Примеры кода:

Query:

Определение

Query - запрос на получение текущего состояния сущности(ресурса/агрегата), без изменения его состояния.

Aggregate:

Запрос на получение данных агрегата.

Пример Read-action:

Пример Search-action:

Пример SearchQueryParams:

Пример Command-action:

Пример InputContract:

Пример OutputContract:


All versions of symfony-presentation-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
ext-mbstring Version *
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 intellect-web-development/symfony-presentation-bundle contains the following files

Loading the files please wait ....