Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
94c6afb
fix(DSL): ensure unique IDs for Elasticsearch entities
UseTheFork Oct 26, 2024
e5cb001
fix(elasticsearch)!: correct primary key usage and relationships
UseTheFork Oct 28, 2024
af2b07c
wip
UseTheFork Oct 29, 2024
58e9616
fix(elasticsearch): replace waitForPendingTasks with refreshIndex method
UseTheFork Oct 30, 2024
3d977e8
feat(soft-model): add factory and improve chunk, delete tests
UseTheFork Oct 31, 2024
eecabba
feat(delete): introduce dynamic deletion flag and remove refresh for …
UseTheFork Oct 31, 2024
8df25d6
feat(models): add hybrid Elasticsearch and SQLite models with enhance…
UseTheFork Nov 1, 2024
4761b77
feat!(hybrid-relations): improve belongsToMany and morphToMany support
UseTheFork Nov 1, 2024
e1990ae
test(models): update and streamline user and item model testing
UseTheFork Nov 2, 2024
aaa6d09
feat(HiddenAnimal): implement executeSchema method for dynamic schema…
UseTheFork Nov 2, 2024
ae98258
feat(models)!: enhance schema management and relationship handling
UseTheFork Nov 3, 2024
6081cb5
feat(elasticsearch): implement customizable options store and improve…
UseTheFork Nov 5, 2024
b23d359
refactor(exceptions, query): restructure codebase and improve error h…
UseTheFork Nov 6, 2024
2c88c4f
fix(query): improve delete handling and add helpers
UseTheFork Nov 7, 2024
6a5abbf
refactor(schema): enhance and modularize schema classes
UseTheFork Nov 8, 2024
fc48300
refactor(aggregations): streamline aggregation handling and cursor fu…
greg-assa Nov 8, 2024
b88b16c
fix(exceptions): enhance error message formatting and clean up comments
UseTheFork Nov 8, 2024
c2268b0
refactor(exceptions): refine error handling in Elasticsearch exceptions
UseTheFork Nov 9, 2024
9348578
feat(query): extend query builder with push and pull array methods
UseTheFork Nov 9, 2024
c24111e
refactor(query): improve increment and decrement logic and clean unus…
UseTheFork Nov 9, 2024
c6643b1
feat(schema): introduce extensive schema blueprint and property defin…
UseTheFork Nov 11, 2024
26a09c2
feat(schema): enhance schema tests and blueprint functionality
greg-assa Nov 11, 2024
51f59b0
fix(tests): correct test queries for case sensitivity and redundant o…
greg-assa Nov 11, 2024
cfc4a5a
refactor(DLS): remove `Bridge` class and update `ElasticsearchModel` …
greg-assa Nov 11, 2024
0a261da
refactor(elasticsearch): replace deleteIfExists with dropIfExists acr…
greg-assa Nov 11, 2024
6a41b4d
refactor(tests): remove outdated relationship tests and add new Geosp…
greg-assa Nov 11, 2024
925a5b3
refactor(models): reorganize model namespaces, update schemas, and ad…
UseTheFork Nov 12, 2024
25727d6
test(query-builder): enhance where conditions with additional query c…
UseTheFork Nov 13, 2024
46dfc4a
feat(query): enhance query functionality with additional clauses and …
UseTheFork Nov 14, 2024
b81d549
feat(tests): enhance query tests and refine query grammar
UseTheFork Nov 15, 2024
63055b9
feat(elasticsearch): add table suffix support for dynamic indices
UseTheFork Nov 16, 2024
535fcec
feat(elasticsearch): add support for save without refresh
UseTheFork Nov 16, 2024
2dbd82d
refactor(elasticsearch): remove Elasticsearch-related traits and test…
UseTheFork Nov 16, 2024
8174df7
refactor(database): remove legacy migrations and models
UseTheFork Nov 18, 2024
e4ecdf1
refactor(composer): streamline autoload-dev configuration
UseTheFork Nov 18, 2024
888e9a5
feat(blueprint): enhance blueprint functionality and add versatile tr…
UseTheFork Nov 18, 2024
e589f9a
refactor(Elasticsearch): remove unused utilities and metadata handling
UseTheFork Nov 18, 2024
c24e3ad
refactor(core): streamline Elasticsearch integration and enhance quer…
UseTheFork Nov 21, 2024
a737a83
feat(tests): enhance QueryParameter and GeoSpatial testing
UseTheFork Nov 25, 2024
8dad660
refactor(query): streamline aggregation methods and enhance metric su…
UseTheFork Nov 28, 2024
0a7b94b
fix(exceptions): correct error handling in QueryException for better …
UseTheFork Nov 28, 2024
fca8a9c
refactor(core): remove redundant classes and streamline query options
UseTheFork Nov 28, 2024
1d27dfc
feat(query): enhance query builder with new aggregation capabilities
UseTheFork Nov 28, 2024
797dd30
refactor(docs): remove redundant ModelDocs.php
UseTheFork Nov 28, 2024
c86ea3d
feat(query): expand Elasticsearch query capabilities
UseTheFork Nov 29, 2024
46d9e2a
feat(query): refactor query builder and add nested query support
UseTheFork Nov 30, 2024
b6e6845
feat(search): rework Elasticsearch search features
UseTheFork Nov 30, 2024
0338e02
feat(search): introduce highlight functionality for search queries
UseTheFork Nov 30, 2024
e66b8a6
feat(query): implement chunking and cursor-based pagination for large…
UseTheFork Dec 1, 2024
b0c45dd
refactor(core): streamline code by removing unused components
UseTheFork Dec 2, 2024
2d2bf7c
feat(schema): implement dynamic index creation and enhance schema fun…
UseTheFork Dec 3, 2024
9d40d3b
feat(schema): introduce custom analyzers to Elasticsearch schema
UseTheFork Dec 4, 2024
ae3ce3d
feat(reindex): introduce reindex functionality in Elasticsearch schema
UseTheFork Dec 4, 2024
e56d9a6
feat: pre rc1
UseTheFork Dec 5, 2024
0a6a3f8
refract(query-builder): sort code
UseTheFork Dec 5, 2024
14ca26c
feat(exceptions): enhance QueryException with detailed error formatting
UseTheFork Dec 5, 2024
f193ac1
docs(changelog): add CHANGELOG.md with project release notes
UseTheFork Dec 5, 2024
7529789
feat(elasticsearch): enhance query handling and model relationship ma…
UseTheFork Dec 10, 2024
5c53bc8
refactor(core): improve code readability, type safety, and PHPStan an…
UseTheFork Dec 11, 2024
a2a6e56
fix(query-grammar): resolve null check issue for `scripts` in query b…
UseTheFork Jan 10, 2025
cc1f9e6
refactor(search): standardize method names for search queries
UseTheFork Feb 1, 2025
6b91ca6
Added back getClientInfo()
pdphilip Feb 2, 2025
2eae2cb
Orientation - Connection
pdphilip Feb 2, 2025
244874a
Schema - getTables() to honor index prefix
pdphilip Feb 2, 2025
90bccd1
Schema Builder
pdphilip Feb 3, 2025
25d6d73
Pint automation
pdphilip Feb 3, 2025
6d80374
Schema upgrades
pdphilip Feb 7, 2025
9bec8fe
Tests updates & ES license lookup
pdphilip Feb 7, 2025
73135b4
Query builder with options
pdphilip Feb 10, 2025
d7dffd5
query builder debugging
pdphilip Feb 10, 2025
1e5d254
phpstan updates
pdphilip Feb 10, 2025
eec9286
Between grammar update
pdphilip Feb 10, 2025
4d3ebfe
Minor refactor
pdphilip Feb 10, 2025
57c2c74
Dynamic traits and meta as a model property
pdphilip Feb 11, 2025
31ac350
Connection clean & dynamic index logic and error (with solution)
pdphilip Feb 12, 2025
c6f6f06
Pint
pdphilip Feb 12, 2025
e34736f
ElasticCollection, groupBy and Distinct
pdphilip Feb 14, 2025
737fcdd
Code org - no logic changes
pdphilip Feb 14, 2025
0af4587
Checked and fixed tests
pdphilip Feb 15, 2025
083bb91
Tests passing
pdphilip Feb 15, 2025
1911106
Time based ID generator
pdphilip Feb 16, 2025
7bbf7c2
Buckets with single metric fix
pdphilip Feb 16, 2025
50cd92c
Aggregates Hydration
pdphilip Feb 16, 2025
2895391
Distinct with aggregation
pdphilip Feb 17, 2025
ee2c1c6
TimebasedUUID upgrade
pdphilip Feb 17, 2025
0f34507
Client/Connection separation
pdphilip Mar 4, 2025
2f16d3d
Index mappings in connection
pdphilip Mar 4, 2025
c578f6c
ID's from ES engine
pdphilip Mar 4, 2025
2d42caf
Tests passing
pdphilip Mar 4, 2025
86543f3
ID generators as optional model traits
pdphilip Mar 4, 2025
c96d137
DSL builder WIP
pdphilip Mar 4, 2025
87e46cf
DSL builder WIP
pdphilip Mar 5, 2025
d720a51
DSL builder WIP
pdphilip Mar 6, 2025
1d98929
DSL builder, negations lifted to query complier
pdphilip Mar 6, 2025
4f964f7
Raw Processing
pdphilip Mar 6, 2025
e839ed4
Raw methods, ES client direct access and cluster methods
pdphilip Mar 7, 2025
8de283c
Bug fix
pdphilip Mar 7, 2025
1c39ca3
Point in time queries
pdphilip Mar 7, 2025
1a7dfa0
Typo fix
pdphilip Mar 7, 2025
d3a1c43
Test fix
pdphilip Mar 7, 2025
9885b96
Cursor pagination
pdphilip Mar 9, 2025
ce46e6b
Reinstating current features
pdphilip Mar 10, 2025
4f7d847
Wildcard using indexable field
pdphilip Mar 10, 2025
86d341c
Filter Nested
pdphilip Mar 10, 2025
46ec6a6
Count to use Client count
pdphilip Mar 11, 2025
1871e14
Scopes in count
pdphilip Mar 11, 2025
53d7609
Multiple aggs call, body params methods, distinct refactor
pdphilip Mar 11, 2025
f7d1ee1
Test update (distinct)
pdphilip Mar 11, 2025
bea974c
Relationship fixes and minor clean up
pdphilip Mar 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
273 changes: 273 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,273 @@
# Changelog

All notable changes to this project will be documented in this file.

## \[unreleased\]

### 🚀 Features

- _(soft-model)_ Add factory and improve chunk, delete tests
- _(delete)_ Introduce dynamic deletion flag and remove refresh for tests
- _(models)_ Add hybrid Elasticsearch and SQLite models with enhanced relationships
- _(HiddenAnimal)_ Implement executeSchema method for dynamic schema operations
- _(models)_ \[**breaking**\] Enhance schema management and relationship handling
- _(elasticsearch)_ Implement customizable options store and improve query handling
- _(query)_ Extend query builder with push and pull array methods
- _(schema)_ Introduce extensive schema blueprint and property definition enhancements
- _(schema)_ Enhance schema tests and blueprint functionality
- _(query)_ Enhance query functionality with additional clauses and operations
- _(tests)_ Enhance query tests and refine query grammar
- _(elasticsearch)_ Add table suffix support for dynamic indices
- _(elasticsearch)_ Add support for save without refresh
- _(blueprint)_ Enhance blueprint functionality and add versatile traits
- _(tests)_ Enhance QueryParameter and GeoSpatial testing
- _(query)_ Enhance query builder with new aggregation capabilities
- _(query)_ Expand Elasticsearch query capabilities
- _(query)_ Refactor query builder and add nested query support
- _(search)_ Rework Elasticsearch search features
- _(search)_ Introduce highlight functionality for search queries
- _(query)_ Implement chunking and cursor-based pagination for large datasets
- _(schema)_ Implement dynamic index creation and enhance schema functionality
- _(schema)_ Introduce custom analyzers to Elasticsearch schema
- _(reindex)_ Introduce reindex functionality in Elasticsearch schema
- Pre rc1
- _(exceptions)_ Enhance QueryException with detailed error formatting

### 🐛 Bug Fixes

- _(DSL)_ Ensure unique IDs for Elasticsearch entities
- _(elasticsearch)_ \[**breaking**\] Correct primary key usage and relationships
- _(elasticsearch)_ Replace waitForPendingTasks with refreshIndex method
- _(query)_ Improve delete handling and add helpers
- _(exceptions)_ Enhance error message formatting and clean up comments
- _(tests)_ Correct test queries for case sensitivity and redundant operators
- _(exceptions)_ Correct error handling in QueryException for better debugging

### 🚜 Refactor

- _(exceptions, query)_ Restructure codebase and improve error handling
- _(schema)_ Enhance and modularize schema classes
- _(aggregations)_ Streamline aggregation handling and cursor functionality
- _(exceptions)_ Refine error handling in Elasticsearch exceptions
- _(query)_ Improve increment and decrement logic and clean unused methods
- _(DLS)_ Remove `Bridge` class and update `ElasticsearchModel` trait
- _(elasticsearch)_ Replace deleteIfExists with dropIfExists across models, improve keyword field handling
- _(tests)_ Remove outdated relationship tests and add new Geospatial tests
- _(models)_ Reorganize model namespaces, update schemas, and adjust tests
- _(elasticsearch)_ Remove Elasticsearch-related traits and tests that are not used anymore
- _(database)_ Remove legacy migrations and models
- _(composer)_ Streamline autoload-dev configuration
- _(Elasticsearch)_ Remove unused utilities and metadata handling
- _(core)_ Streamline Elasticsearch integration and enhance query processing
- _(query)_ Streamline aggregation methods and enhance metric support
- _(core)_ Remove redundant classes and streamline query options
- _(docs)_ Remove redundant ModelDocs.php
- _(core)_ Streamline code by removing unused components

### 🧪 Testing

- _(models)_ Update and streamline user and item model testing
- _(query-builder)_ Enhance where conditions with additional query capabilities

### Refract

- _(query-builder)_ Sort code

## \[4.5.0\] - 2024-10-17

### 🚀 Features

- _(connection)_ Add configurable insert chunk size and unsafe query option
- _(connection)_ Add configurable insert chunk size and unsafe query option

### 🐛 Bug Fixes

- _(Connection)_ Set default index_prefix to empty string
- _(exceptions)_ Add custom LogicException and improve method existence check

### 🚜 Refactor

- _(Bridge)_ Update client property to allow nullability in DSL Bridge
- _(connection)_ Remove redundant connection rebuild logic

### ⚙️ Miscellaneous Tasks

- _(dependencies)_ Update multiple PHP dependencies in composer.lock

## \[4.4.0\] - 2024-10-02

### 🚀 Features

- _(connection)_ Enhance Elasticsearch connection handling and validation
- _(connection)_ Add client info retrieval and improved error handling
- _(connection)_ Add client info retrieval and improved error handling
- _(logging)_ Enable configurable logging for Elasticsearch connections

### 🐛 Bug Fixes

- _(connection)_ Streamline setOptions and add auth_type validation

## \[4.3.0\] - 2024-09-23

### 🚀 Features

- _(elasticsearch)_ Enhance raw search functionality with ElasticCollection
- _(models)_ Introduce HiddenAnimal model with hidden properties
- _(models)_ Add Elasticsearch integration and enhance User and company models
- _(tests)_ Add multiple aggregations test for products

### 🐛 Bug Fixes

- _(exceptions)_ Remove unnecessary render method in MissingOrderException
- _(tests)_ Complete pending product ordering tests
- _(tests)_ Ensure ES connection for schema operations and optimize reindexing flow
- _(factory)_ Refine status generation in CompanyProfileFactory

### 🚜 Refactor

- _(config)_ Update PHPUnit config to correct

### 📚 Documentation

- _(README)_ Add test coverage badge.

### 🧪 Testing

- _(connection)_ Add unit tests for Elasticsearch DB connection
- _(schema)_ Add comprehensive tests for schema management and analyzers
- _(relationships)_ Add comprehensive tests for company and user relationships
- _(tests)_ Enhance bulk insert test coverage for Product model
- _(Schema)_ Enhance error detail assertions in ReindexTest
- _(meta)_ Add comprehensive unit tests for product metadata
- _(pagination)_ Enhance paginator test cases with additional assertions
- _(aggregation)_ Add comprehensive aggregation tests for Products
- _(search)_ Add comprehensive search tests for product model
- _(blogposts)_ Enhance post order test with dynamic sequences
- _(products)_ Remove outdated saveWithoutRefresh test case
- _(search)_ Refine product search tests for better accuracy
- _(AggregationTest)_ Add groupBy and distinct aggregate tests for UserLog
- _(products)_ Add test for color regex search with 'or' condition
- _(product-queries)_ Add comprehensive tests for complex query conditions
- _(models)_ Update 'Soft Delete' and 'Meta' tests for precision

### ⚙️ Miscellaneous Tasks

- _(workflows)_ Enhance test matrix and cache dependencies
- _(workflows)_ Enhance test matrix and cache dependencies
- _(dependencies)_ Add 'psr/http-factory' to project dependencies
- _(actions)_ Continue debugging actions.
- _(workflows)_ Update test workflows and create coverage workflow
- _(test-config)_ Enhance PHPUnit configuration for stricter testing
- _(test)_ Improve coverage reporting and configuration
- _(tests)_ Enhance XDebug coverage handling in CI script

## \[4.2.0\] - 2024-09-16

### 🐛 Bug Fixes

- _(DSL)_ Improve keyword mapping handling for nested fields

## \[4.1.0\] - 2024-09-04

### 🚀 Features

- _(static-pages)_ Add StaticPage model, factory, and migration
- _(ds/bridge, query/builder)_ Add bulk processing support
- _(core)_ Add bulk method to Connection, debug bulk operation in Builder
- _(models)_ Add new `Soft` and `Guarded` models, implement product sorting and tests
- _(elastic)_ Add optional refresh parameter to insertBulk

### 🐛 Bug Fixes

- _(pagination)_ Mark placeholder logic with FIXME comment in SearchAfterPaginator
- _(query, tests, dsl)_ Streamline bulk processing, fix tests, and correct response handling

### 🚜 Refactor

- _(tests)_ Remove redundant code and enhance insertion logic in SearchAfterPaginationTest
- _(build)_ Update code formatting and linting tools configuration

### 🎨 Styling

- _(docs)_ Update type hint in cursorPaginate method signature

### ⚙️ Miscellaneous Tasks

- _(ci)_ Enable PHPStan for code linting in CI configuration

## \[4.0.4\] - 2024-08-17

### 🚀 Features

- _(flakes)_ Add flake.nix for project setup with PHP, JS, and services integration
- _(flakes)_ Add new testbench commands for a and artisan execution
- _(database)_ Add product factory, migration, seeder, and model for elasticsearch
- _(models)_ Add new Eloquent models and their corresponding factories for User, UserProfile, Client, ClientLog, ClientProfile, BlogPost, Company, and CompanyLog
- _(migrations)_ Add users and photos tables creation
- _(dependencies)_ Add geo-math-php and pest packages
- _(models)_ Add PageHit model and factory
- _(routes, models)_ Add route configurations and PageHit model with corresponding factory
- _(models)_ Add soft deletes to Product model
- _(blog_posts)_ Add blog posts table migration and nested tests
- _(elasticsearch)_ Integrate Elasticsearch model and add dynamic indices tests
- _(relationships)_ Add polymorphic and one-to-many relationships with corresponding factories and tests
- _(ci)_ Add coverage execution to flake.nix for pest tests
- _(pagination)_ Add search_after pagination for Elasticsearch
- _(pagination)_ Add search_after pagination for Elasticsearch

### 🐛 Bug Fixes

- _(build)_ Pass arguments to testbench command

### 🚜 Refactor

- _(config)_ Add comments for PHP setup, Elasticsearch service, and git-cliff usage
- _(tests)_ Relocate and enhance ArchitectureTest for debugging prevention
- _(tests)_ Clean up TestCase by removing unused code and imports
- _(seeders)_ Rename ProductsSeeder to DatabaseSeeder
- _(seeders)_ Rename ProductsSeeder to DatabaseSeeder
- _(tests/migrations)_ Move schema setup to migration, update tests for consistency
- _(pagination)_ Rename and implement `searchAfter` for paginated queries

### 📚 Documentation

- Add CONTRIBUTING.md with setup and development instructions

### 🧪 Testing

- _(add)_ Integrate Pest and PHPUnit configuration
- _(architecture)_ Add safety tests to prevent usage of debug functions
- _(environment)_ Add unit test to confirm environment is set to testing
- _(database)_ Add unit tests for Product model
- Add base TestCase for Elasticsearch integration tests
- _(tests)_ Update TestCase to use new seeding approach and remove old migrations
- _(config)_ Consolidate testsuites and update environment variables in phpunit.xml
- _(schema)_ Add reindex test for products and holding_products
- _(aggregation)_ Add tests for product status and grouping
- _(Eloquent)_ Add deletion tests
- _(Eloquent)_ Add order and pagination tests
- _(Eloquent)_ Add querying tests
- _(Eloquent)_ Add tests for various save and update scenarios
- _(query)_ Add exception handling for product not found
- _(ChunkingTest)_ Add tests for processing large datasets using chunking methods
- _(elasticsearch)_ Add unit tests for es specific queries and filters
- _(eloquent)_ Add full-text search tests for Product model
- _(schema)_ Add tests for Elasticsearch schema management
- _(schema)_ Add tests for index field types

### ⚙️ Miscellaneous Tasks

- _(env)_ Add .envrc file with flake usage configuration
- _(git)_ Add .gitignore file to exclude environment and configuration files
- Add PHP CS Fixer configuration file for Laravel Pint standards
- _(build)_ Add justfile for task management
- _(gitignore)_ Add vendor directory to .gitignore
- _(composer)_ Update autoload paths, scripts, and config plugins in composer.json
- _(nix)_ Enable php-cs-fixer with Laravel standards
- _(database)_ Remove obsolete migration and related tests
- _(config)_ Remove obsolete ES_INDEX_PREFIX from phpunit.xml
- _(git)_ Update .gitignore to exclude PHPUnit cache files
- _(workflows)_ Add GitHub Actions workflow for CI
- _(workflows)_ Add manual trigger with branch input in CI configuration

<!-- generated by git-cliff -->
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Laravel-Elasticsearch

[![Latest Stable Version](http://img.shields.io/github/release/pdphilip/laravel-elasticsearch.svg)](https://packagist.org/packages/pdphilip/elasticsearch)
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/pdphilip/laravel-elasticsearch/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/pdphilip/laravel-elasticsearch/actions/workflows/run-tests.yml?query=branch%3Amain)
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/pdphilip/laravel-elasticsearch/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/pdphilip/laravel-elasticsearch/actions/workflows/run-tests.yml?query=branch%3Amain)
[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/pdphilip/laravel-elasticsearch/phpstan.yml?branch=main&label=code%20style&style=flat-square)](https://github.com/pdphilip/laravel-elasticsearch/actions/workflows/phpstan.yml?query=branch%3Amain++)
[![Total Downloads](http://img.shields.io/packagist/dm/pdphilip/elasticsearch.svg)](https://packagist.org/packages/pdphilip/elasticsearch)
### Laravel-Elasticsearch: An Elasticsearch implementation of Laravel's Eloquent ORM
Expand Down Expand Up @@ -267,3 +267,6 @@ Now, you're all set to use Elasticsearch with Laravel as if it were native to th
- [Grouped Queries](https://elasticsearch.pdphilip.com/querying-models#grouped-queries): Queries can be grouped allowing multiple conditions to be nested within a single query block.

---

### Roadmap
- Add Global modifer on model to add a *, or an index modifer to end of the table. that way you can do global search or add to a sub index.
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"illuminate/container": "^10.0|^11.0",
"illuminate/database": "^10.0|^11.0",
"illuminate/events": "^10.0|^11.0",
"elasticsearch/elasticsearch": "^8.15"
"elasticsearch/elasticsearch": "^8.17"
},
"require-dev": {
"orchestra/testbench": "^9.0.0||^8.22.0",
Expand All @@ -38,14 +38,12 @@
"pestphp/pest-plugin-arch": "^3",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan-deprecation-rules": "^1.1",
"phpstan/phpstan-phpunit": "^1.3"
"phpstan/phpstan-phpunit": "^1.3",
"spatie/ignition": "^1.15"
},
"autoload-dev": {
"psr-4": {
"PDPhilip\\Elasticsearch\\Tests\\": "tests/",
"Workbench\\App\\": "workbench/app/",
"Workbench\\Database\\Factories\\": "workbench/database/factories/",
"Workbench\\Database\\Seeders\\": "workbench/database/seeders/"
"PDPhilip\\Elasticsearch\\Tests\\": "tests/"
}
},
"autoload": {
Expand Down Expand Up @@ -84,10 +82,12 @@
],
"lint": "pint -v",
"types": "phpstan analyse --ansi --memory-limit=2G",
"pest": "pest --colors=always",
"test:lint": "pint --test -v",
"test:types": "phpstan analyse --ansi",
"test:unit": "pest --colors=always",
"test": [
"Composer\\Config::disableProcessTimeout",
"@test:lint",
"@test:types",
"@test:unit"
Expand Down
Loading