loot/spinoza

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Package can generate documentation for service

Installs: 10

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:psalm-plugin

0.2.5 2021-02-22 11:38 UTC

This package is auto-updated.

Last update: 2021-09-22 12:58:36 UTC


README

Ignorantia nоn est argumentum. Незнание — не аргумент. © Spinoza

Install

composer require --dev loot/spinoza

Генерация документации

php artisan larabase:generate-docs

Регистрация роутов

@spinoza-register-route принимает json object.

/**
@spinoza-register-route {"method": "get", "route": "loyalty/v5/campaigns/by_filial/{filialId}", "usage": "для получения КБ в карточке локаций"}
*/

Todo

  • Сделать кеширование
  • Рефакторинг
  • Сделать ссылки на методы, для роутов