Contributte Packages

website·Indexed 32 days ago

https://contributte.org/

A collection of PHP packages and integrations including tools for Facebook, Elasticsearch, Sentry, Doctrine, and Latte, as well as various skeletons and utility libraries.

Tokens
111.4K
Snippets
839
Records
976
Agent score
66%

What's inside Contributte

  1. Overview of available Apitte plugins

    Apitte provides several prepared plugins to extend API functionality:

    • Schema plugin: Manages building and validation of the API schema (enabled by default).
    • OpenApi plugin: Integration with OpenAPI and Swagger UI.
    • Mapping plugin: Validates request parameters and maps bodies to entities and vice versa.
    • Middleware plugin: PSR-7 request/response integration via contributte/middlewares.
    • Decorator plugin: Used for decorating request/response objects (e.g., for auth).
    • Negotiation plugin: Handles data format transformation based on Accept headers or URL suffixes (e.g., .xml).
    • Debug plugin: Integrates Tracy debug bar for API responses.
    • Console plugin: Provides Symfony-based console commands for the API.
    • Presenter plugin: Allows routing into the API through a single Nette route and presenter.
  2. Overview of Contributte extensions for Nette Framework

    Contributte is a community-driven group of developers providing a collection of high-quality extensions and packages for the Nette Framework. They focus on consistency across their ecosystem, which includes related projects such as Apitte, Nettrine, and Ninjify.
  3. Overview of Contributte-site architecture

    The Contributte official website is a static site generated using VuePress 1.x. It functions as an aggregator that pulls README files from multiple repositories within the Contributte GitHub organization and melts them together into a single website consisting of approximately 150 pages.
  4. Overview of Contributte Apitte-skeleton

    Contributte Apitte-skeleton is a prepared API starter-kit for Nette-Apitte developers. It is designed for PHP 8.2+ and integrates the following technologies:

    • contributte/apitte for building PSR-7 APIs
    • nette/* packages and nettrine/* for Doctrine ORM
    • contributte/* Symfony components
    • CodeSniffer and contributte/qa for codestyle checking
    • PHPStan and contributte/phpstan for static analysis
    • Nette Tester and contributte/tester for unit and integration tests.
  5. Overview of prepared Apitte plugins

    Apitte provides several built-in plugins to extend API functionality:

    • Schema plugin: (Enabled by default) Manages building and validation of the API schema.
    • OpenApi plugin: Integration with OpenAPI Specification and Swagger UI.
    • Mapping plugin: Validates request parameters and maps request/response bodies to entities.
    • Middleware plugin: PSR-7 request/response integration via contributte/middlewares.
    • Decorator plugin: Used for decorating request and response objects (e.g., for auth).
    • Negotiation plugin: Handles data format transformation based on Accept headers or URL suffixes (e.g., .xml).
    • Debug plugin: Integration with Tracy debug bar for response data dumping.
    • Console plugin: Provides Symfony-based console commands for the API.
    • Presenter plugin: Allows routing into the API through a single Nette route and presenter.
  6. Integrate RabbitMQ with Nette Framework

    The contributte/rabbitmq package enables RabbitMQ (AMQP, STOMP, MQTT) integration using BunnyPHP for Nette Framework applications.
    composer require contributte/rabbitmq
  7. Use contributte/doctrine-fixtures for Nette

    Provides Doctrine Fixtures support for the Nette Framework.
    composer require contributte/doctrine-fixtures
  8. Implement Bootstrap 4/5 forms with contributte/forms-bootstrap

    Provides Bootstrap 4 and 5 form integration for the Nette framework.
    composer require contributte/forms-bootstrap
  9. Build APIs with Apitte Framework

    Apitte (contributte/apitte) is an opinionated API framework based on Nette Framework. It supports content negotiation, debugging, middlewares, attributes, annotations, and OpenAPI/Swagger.
    composer require contributte/apitte