
JoliCode's Elastica wrapper to bootstrap Elasticsearch PHP integrations
Elastically is an opinionated framework designed to seamlessly integrate PHP applications with Elasticsearch. By providing a collection of features that enhance the ease and efficiency of working with Elasticsearch, this library allows developers to focus on building their applications without worrying about the intricate details of data mapping and handling. With its emphasis on first-class Data Transfer Objects (DTOs) and a strong compatibility with Symfony, Elastically paves the way for a smoother PHP development experience.
The framework brings a range of functionalities to the table, ensuring that both new and seasoned developers can utilize Elasticsearch effectively. With advanced capabilities like automatic index versioning and separation of analysis from mappings, Elastically creates a robust foundation for building modern PHP applications that require powerful search features.
DTO First-Class Citizens: Treating PHP objects as documents means you can easily send and retrieve objects during search operations, akin to Object Document Mapping (ODM).
Automatic Index Versioning and Aliasing: Each index is automatically versioned and aliased, simplifying the management of changes and updates to your data schema.
Flexible Mappings: Utilize YAML files, PHP code, or a custom MappingProviderInterface for defining your data structure, offering adaptability to various project needs.
Separation of Analysis: By decoupling analysis from mappings, it allows better reuse and management of analysis configurations across different indices.
Compatibility with Elastica: Ensuring 100% compatibility with ruflin/elastica guarantees that you can leverage existing functionalities without compromise.
Mapping Migration with ReIndex: Simplify transitions between index versions or structures with built-in mapping migration capabilities.
Symfony Integration: Optional compatibility with Symfony HttpClient for transport and Symfony JsonStreamer for enhanced serialization speeds, catering to Symfony users.
Tested Versions: Thoroughly tested with Elasticsearch versions 7, 8, and 9, ensuring reliability and support in real-world applications.
