Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2815 commits
Select commit Hold shift + click to select a range
0c6c87a
Port RoutingRouteTest from Laravel
binaryfire Mar 9, 2026
d4b79af
Add integration routing test base class and fixtures
binaryfire Mar 9, 2026
51e33bb
Port SimpleRouteTest from Laravel
binaryfire Mar 9, 2026
269eda7
Port FallbackRouteTest from Laravel
binaryfire Mar 9, 2026
632ce11
Port FluentRoutingTest from Laravel
binaryfire Mar 9, 2026
98c7e8a
Port HasMiddlewareTest from Laravel
binaryfire Mar 9, 2026
4dbcbd1
Port MiddlewareAttributeTest from Laravel
binaryfire Mar 9, 2026
d9a0546
Port ResponsableTest from Laravel
binaryfire Mar 9, 2026
015f4d1
Port RouteRedirectTest from Laravel
binaryfire Mar 9, 2026
9015c1c
Port RouteViewTest from Laravel
binaryfire Mar 9, 2026
f3fbe32
Port RouteCanBackedEnumTest from Laravel
binaryfire Mar 9, 2026
cbc475d
Port RouteApiResourceTest from Laravel
binaryfire Mar 9, 2026
741a2b1
Port RouteSingletonTest from Laravel
binaryfire Mar 9, 2026
bb9ec0c
Port RoutingServiceProviderTest from Laravel
binaryfire Mar 9, 2026
162cded
Port UrlSigningTest from Laravel
binaryfire Mar 9, 2026
9261fae
Port PreviousUrlTest from Laravel
binaryfire Mar 9, 2026
5e50ac7
Port CompiledRouteCollectionTest from Laravel
binaryfire Mar 9, 2026
a6320ff
Port ImplicitBackedEnumRouteBindingTest from Laravel
binaryfire Mar 9, 2026
30ff71c
Port ImplicitModelRouteBindingTest from Laravel
binaryfire Mar 9, 2026
2526e4e
Update RouteCachingTest with route caching and static cache tests
binaryfire Mar 9, 2026
525206a
Update PrecognitionTest with ported Laravel precognition tests
binaryfire Mar 9, 2026
955e99b
Update RouteCoroutineIsolationTest with controller isolation test
binaryfire Mar 9, 2026
880b3b3
Add RouterEventGuardTest for hasListeners event gating
binaryfire Mar 9, 2026
c05c749
Add RouteWarmupTest for server boot pre-warming
binaryfire Mar 9, 2026
7758baa
Make isScoped() self-sufficient without requiring prior isShared() call
binaryfire Mar 9, 2026
7b5376b
Add test for isScoped() detecting #[Scoped] attribute independently
binaryfire Mar 9, 2026
b58658b
Optimize controller caching on shared Route objects
binaryfire Mar 9, 2026
56171ea
Add RouteControllerCachingTest for hybrid controller caching
binaryfire Mar 9, 2026
82292dc
Clear controller caches in setContainer() and prepareForSerialization()
binaryfire Mar 9, 2026
dd1d855
Add regression tests for controller cache clearing on container swap …
binaryfire Mar 9, 2026
eb48644
Cache resolved middleware on Route for repeat access
binaryfire Mar 9, 2026
7ca347f
Add RouteMiddlewareCachingTest and update controller caching tests
binaryfire Mar 9, 2026
d412e2e
Clear resolvedMiddleware in setContainer() and alphabetize cache clea…
binaryfire Mar 9, 2026
f6ccb40
Add regression test for resolvedMiddleware clearing on container swap
binaryfire Mar 9, 2026
68269f7
Cache precognition dispatcher instances on parent dispatchers
binaryfire Mar 9, 2026
91ecb86
Add PrecognitionDispatcherCachingTest for dispatcher instance reuse
binaryfire Mar 9, 2026
efb6b2f
Cache ReflectionParameter arrays instead of reflector instances
binaryfire Mar 9, 2026
6a28326
Add ReflectionParameterCachingTest and update warmup test assertions
binaryfire Mar 9, 2026
2056559
Default test Redis database to 8 instead of 0
binaryfire Mar 9, 2026
4a69933
Fix RateLimiter binding to pass Repository instead of Factory
binaryfire Mar 10, 2026
f934c70
Port RateLimiter from Laravel
binaryfire Mar 10, 2026
2323a18
Add withoutSerializationOrCompression to RedisConnection
binaryfire Mar 10, 2026
9f6720c
Add withoutSerializationOrCompression to Redis with pool-pinning
binaryfire Mar 10, 2026
0ae801c
Add tests for RedisConnection::withoutSerializationOrCompression
binaryfire Mar 10, 2026
88025d3
Add tests for Redis::withoutSerializationOrCompression pool-pinning
binaryfire Mar 10, 2026
c954381
Align CacheRateLimiterTest with ported RateLimiter
binaryfire Mar 10, 2026
42defb5
Align RateLimiterEnumTest with ported RateLimiter
binaryfire Mar 10, 2026
4dbd3ea
Port RedisCacheIntegrationTest from Laravel
binaryfire Mar 10, 2026
c07f471
Port Support\Lottery from Laravel
binaryfire Mar 10, 2026
c66edb7
Port LotteryTest from Laravel
binaryfire Mar 10, 2026
c396729
Align Cache\RateLimiting\Limit with Laravel ($decayMinutes → $decaySe…
binaryfire Mar 10, 2026
b4dc5ed
Port LimitTest from Laravel
binaryfire Mar 10, 2026
fd97c99
Fix CookieServiceProvider circular dependency
binaryfire Mar 10, 2026
e695b78
Port exception handler improvements from Laravel
binaryfire Mar 10, 2026
f95d22c
Port exception handler throttle/dontReportWhen tests from Laravel
binaryfire Mar 10, 2026
66994be
Port Inspiring class from Laravel
binaryfire Mar 10, 2026
f3f87ca
Restore Request::get() implementation
binaryfire Mar 10, 2026
7f4577a
Fix middleware handle() return types to mixed
binaryfire Mar 10, 2026
193db2a
Port DiagnosingHealth event and health-up template from Laravel
binaryfire Mar 10, 2026
0bfea7e
Port RedirectIfAuthenticated middleware from Laravel
binaryfire Mar 10, 2026
884077c
Port AuthenticateSession middleware from Laravel
binaryfire Mar 10, 2026
8572097
Port PreventRequestsDuringMaintenance middleware from Laravel
binaryfire Mar 10, 2026
57f310c
Port Configuration\Middleware from Laravel
binaryfire Mar 10, 2026
116d1da
Port Configuration\Exceptions from Laravel
binaryfire Mar 10, 2026
d487b9b
Port Configuration\ApplicationBuilder from Laravel
binaryfire Mar 10, 2026
3c06e7f
Add Application::configure(), inferBasePath(), storagePath env suppor…
binaryfire Mar 10, 2026
d9a2c18
Align foundation config/app.php with Laravel 11
binaryfire Mar 10, 2026
3a077c1
Slim testbench workbench config to overrides only
binaryfire Mar 10, 2026
0f0bdf2
Wire middleware defaults and flushState into testbench
binaryfire Mar 10, 2026
b6b39d6
Port MiddlewareTest and ExceptionsTest from Laravel
binaryfire Mar 10, 2026
fdab87e
Port FoundationApplicationBuilderTest from Laravel
binaryfire Mar 10, 2026
470d6c5
Port WithScheduleTest, RouteServiceProviderTest, and RouteServiceProv…
binaryfire Mar 10, 2026
b532c65
Enable previously blocked routing integration tests
binaryfire Mar 10, 2026
9b7caa3
Add any-tag-mode guard to cluster fallback test
binaryfire Mar 10, 2026
724ec9d
Fix ThrottleRequests to accept string $decayMinutes from pipeline
binaryfire Mar 10, 2026
d90e0c9
Port ThrottleRequestsWithRedis middleware from Laravel
binaryfire Mar 10, 2026
8755b1c
Allow Config Repository to be constructed with no arguments
binaryfire Mar 11, 2026
0987c9b
Show HTTP status text in HtmlErrorRenderer for non-debug errors
binaryfire Mar 11, 2026
10b25ef
Fix viewPath() to use Laravel view.paths config key
binaryfire Mar 11, 2026
23f1fa7
Fix error view namespace registration to use Laravel view.paths confi…
binaryfire Mar 11, 2026
f1200b4
Port HandleExceptions bootstrapper from Laravel
binaryfire Mar 11, 2026
d9a26c7
Add HandleExceptions to console kernel bootstrappers
binaryfire Mar 11, 2026
607939b
Add HandleExceptions to HTTP kernel bootstrappers
binaryfire Mar 11, 2026
e82fe09
Add HandleExceptions::flushState() to foundation TestCase tearDown
binaryfire Mar 11, 2026
a7591ea
Decouple Foundation exception handler from Hyperf ExceptionHandler
binaryfire Mar 11, 2026
81bc6ce
Remove ErrorExceptionHandler boot call and fix compiled view path con…
binaryfire Mar 11, 2026
34a43fe
Decouple WebSocketExceptionHandler from Hyperf ExceptionHandler
binaryfire Mar 11, 2026
ad383b1
Remove FormatterInterface dependency from OnPipeMessageListener
binaryfire Mar 11, 2026
5cbe167
Remove exception-handler dependency from websocket-server
binaryfire Mar 11, 2026
47c1796
Remove ExceptionHandlerServiceProvider from default providers
binaryfire Mar 11, 2026
d95e487
Remove exception-handler dependency from foundation
binaryfire Mar 11, 2026
1f228bc
Remove exception-handler package tests
binaryfire Mar 11, 2026
5f1f0df
Remove exception-handler package
binaryfire Mar 11, 2026
24170ce
Remove exception-handler from root composer.json
binaryfire Mar 11, 2026
2c1a83d
Remove dead exception-handler config from testbench
binaryfire Mar 11, 2026
e6d42b8
Clean up workbench exception handler registration
binaryfire Mar 11, 2026
dcba9c3
Default debug to false in testbench workbench config
binaryfire Mar 11, 2026
b016e85
Switch testbench logging from stderr to file-based
binaryfire Mar 11, 2026
bd03788
Bootstrap HandleExceptions in testbench
binaryfire Mar 11, 2026
1269ad6
Add HandleExceptions::flushState() to testbench TestCase tearDown
binaryfire Mar 11, 2026
9547d3e
Port HandleExceptions unit tests from Laravel
binaryfire Mar 11, 2026
5befb63
Update and expand Foundation exception handler unit tests
binaryfire Mar 11, 2026
7f026e4
Add integration test fixtures for exception handler tests
binaryfire Mar 11, 2026
c330d27
Port Foundation exception handler integration tests from Laravel
binaryfire Mar 11, 2026
dc22d06
Fix XSS in HtmlErrorRenderer by escaping all interpolated values
binaryfire Mar 11, 2026
31a619c
Use WeakMap for duplicate exception tracking instead of loose in_array
binaryfire Mar 11, 2026
6a0ad85
Rename ParentContext::destroy() to forget()
binaryfire Mar 11, 2026
c3a01e2
Rename RequestContext::destroy() to forget()
binaryfire Mar 11, 2026
89abe8e
Rename ResponseContext::destroy() to forget()
binaryfire Mar 11, 2026
f417704
Rename Context::destroy() to forget() across src/ packages
binaryfire Mar 11, 2026
a862266
Rename Context::destroy() to forget() across test files
binaryfire Mar 11, 2026
59cc565
Add ContextDehydrating event class
binaryfire Mar 11, 2026
ac78e99
Add ContextHydrated event class
binaryfire Mar 11, 2026
8b6e3ce
Add PropagatedContext class for metadata that flows to logs and jobs
binaryfire Mar 11, 2026
f3b8156
Add propagated() and hasPropagated() to Context, rename destroy to fo…
binaryfire Mar 11, 2026
b827ce3
Update context() helper docblock to reference Context::propagated()
binaryfire Mar 11, 2026
6c578d6
Add payload() method to Queue Job contract
binaryfire Mar 11, 2026
7acc6a8
Add PropagatedContext dependencies to context package
binaryfire Mar 11, 2026
6c18f82
Add ContextLogProcessor for propagated context in log records
binaryfire Mar 11, 2026
a7b188e
Wire ContextLogProcessor into log channels and stacks, rename destroy…
binaryfire Mar 11, 2026
43fd771
Wire propagated context dehydration and hydration for queued jobs
binaryfire Mar 11, 2026
3b92f71
Add flushState() to Store and Number for per-request context cleanup
binaryfire Mar 11, 2026
94f317a
Add PropagatedContext unit tests
binaryfire Mar 11, 2026
d3986a7
Add Context::propagated() integration tests
binaryfire Mar 11, 2026
cd0805c
Add PropagatedContext coroutine isolation tests
binaryfire Mar 11, 2026
d186cd0
Add PropagatedContext log integration tests
binaryfire Mar 11, 2026
a28ec34
Add PropagatedContext queue integration tests
binaryfire Mar 11, 2026
52e2475
Add PropagatedContext end-to-end integration tests
binaryfire Mar 11, 2026
af87b71
Add context() helper tests and rename destroy to forget in ContextTest
binaryfire Mar 11, 2026
c77c24a
Update LogManagerTest for ContextLogProcessor on all channels
binaryfire Mar 11, 2026
31cd585
Update session and number tests to use flushState() helpers
binaryfire Mar 11, 2026
a3787a9
Add database inspection command
binaryfire Mar 12, 2026
53ba8e0
Add db command entrypoint
binaryfire Mar 12, 2026
edf947a
Add database dump command
binaryfire Mar 12, 2026
328c396
Add factory make command
binaryfire Mar 12, 2026
a1579bb
Add factory command stub
binaryfire Mar 12, 2026
f819404
Add migrate make command
binaryfire Mar 12, 2026
17a3aca
Add database monitor command
binaryfire Mar 12, 2026
7058890
Add database prune command
binaryfire Mar 12, 2026
3b014b0
Add namespaced seed command
binaryfire Mar 12, 2026
1552813
Add seeder make command
binaryfire Mar 12, 2026
272c444
Add seeder command stub
binaryfire Mar 12, 2026
1010ab9
Add database show command
binaryfire Mar 12, 2026
876447b
Add database table command
binaryfire Mar 12, 2026
8c8714d
Add model info value object
binaryfire Mar 12, 2026
1d0c07f
Add runtime ignore marker
binaryfire Mar 12, 2026
cc94e41
Add bootstrap cache ignore marker
binaryfire Mar 12, 2026
a1c4181
Add storage ignore marker
binaryfire Mar 12, 2026
365694b
Add fresh command tests
binaryfire Mar 12, 2026
69436ad
Add install command tests
binaryfire Mar 12, 2026
423892f
Add migration make command tests
binaryfire Mar 12, 2026
b215bd3
Add migrate command tests
binaryfire Mar 12, 2026
a9a38c0
Add refresh command tests
binaryfire Mar 12, 2026
0b8d617
Add reset command tests
binaryfire Mar 12, 2026
1100581
Add rollback command tests
binaryfire Mar 12, 2026
3323a99
Add status command tests
binaryfire Mar 12, 2026
bb8f6a3
Add migrator integration tests
binaryfire Mar 12, 2026
0dfbe03
Add wipe command tests
binaryfire Mar 12, 2026
47f1fdd
Add prune command tests
binaryfire Mar 12, 2026
00bb691
Add seed command tests
binaryfire Mar 12, 2026
7b4ef9e
Add foundation public manifest fixture
binaryfire Mar 12, 2026
6a130d7
Upgrade PHPUnit 13 CI setup
binaryfire Mar 12, 2026
91b9188
Ignore generated testbench artifacts in tooling
binaryfire Mar 12, 2026
be915bc
Document broader coroutine test guidance
binaryfire Mar 12, 2026
28ec5c7
Tighten testing runtime behavior
binaryfire Mar 12, 2026
0081c4d
Fix prompt fallback reset semantics
binaryfire Mar 12, 2026
b3748c2
Fix console prompt and error rendering leaks
binaryfire Mar 12, 2026
d553500
Port database command updates
binaryfire Mar 12, 2026
8fd264e
Finalize database test port and cleanup
binaryfire Mar 12, 2026
dafac70
Fix stale closure routing caches
binaryfire Mar 12, 2026
0bf05c6
Stabilize Sanctum and integration suite state
binaryfire Mar 12, 2026
a6c65a8
Clean early package tests for PHPUnit 13
binaryfire Mar 12, 2026
cde814b
Clean remaining package tests for PHPUnit 13
binaryfire Mar 12, 2026
b1acd77
Fix integration tests
binaryfire Mar 12, 2026
49c2dd8
Remove foundation console commands from Console/Commands/ in preparat…
binaryfire Mar 12, 2026
5f5335d
Add AboutCommand at Console/ to match Laravel's directory layout
binaryfire Mar 12, 2026
f30cc07
Add ConfigShowCommand at Console/ to match Laravel's directory layout
binaryfire Mar 12, 2026
0c686be
Add RouteCacheCommand at Console/ with corrected stubs path reference
binaryfire Mar 12, 2026
28da898
Add RouteClearCommand at Console/ to match Laravel's directory layout
binaryfire Mar 12, 2026
a44c0dc
Add ServerReloadCommand at Console/ to match Laravel's directory layout
binaryfire Mar 12, 2026
86328a1
Add VendorPublishCommand and test at Console/ to match Laravel's dire…
binaryfire Mar 12, 2026
a4e37f1
Update FoundationServiceProvider command imports for Console/ directo…
binaryfire Mar 12, 2026
0a1262d
Remove old Cookie contract and CookieManager in preparation for Larav…
binaryfire Mar 12, 2026
7f10dd8
Add Cookie Factory contract to align with Laravel's cookie contract h…
binaryfire Mar 12, 2026
385e146
Add Cookie QueueingFactory contract to align with Laravel's cookie co…
binaryfire Mar 12, 2026
546365c
Add CookieJar with Macroable, 400-day forever(), null-safe queued(), …
binaryfire Mar 12, 2026
290077a
Add CookieJar tests including queued null-safety, unqueue, forever du…
binaryfire Mar 12, 2026
3ea7985
Seed CookieJar defaults from session config in CookieServiceProvider
binaryfire Mar 12, 2026
3a44c77
Update AddQueuedCookiesToResponse to use QueueingFactory contract
binaryfire Mar 12, 2026
adca8b5
Add EncryptCookies opt-in only() mode for selective cookie encryption
binaryfire Mar 12, 2026
e3db293
Add only parameter to Middleware::encryptCookies() configuration
binaryfire Mar 12, 2026
b176b22
Make cookie() helper params nullable to respect configured jar defaults
binaryfire Mar 12, 2026
68fbe9f
Update Cookie facade phpdoc for nullable params and new contract
binaryfire Mar 12, 2026
072e207
Update registerCoreContainerAliases for CookieJar, Factory, QueueingF…
binaryfire Mar 12, 2026
8f0a88e
Update session package to use QueueingFactory cookie contract
binaryfire Mar 12, 2026
86b2600
Add cookie encryption and withUnencryptedCookies to MakesHttpRequests
binaryfire Mar 12, 2026
00f0318
Use withUnencryptedCookie for already-encrypted session cookie in Pre…
binaryfire Mar 12, 2026
35fa500
Align testbench storage directory structure with Orchestra Testbench
binaryfire Mar 12, 2026
d9044aa
Add MaintenanceMode contract interface
binaryfire Mar 12, 2026
7c7ba8a
Add maintenanceMode() method to Application contract
binaryfire Mar 12, 2026
be97984
Add MaintenanceModeEnabled event
binaryfire Mar 12, 2026
b90c1e8
Add MaintenanceModeDisabled event
binaryfire Mar 12, 2026
deb513d
Port FileBasedMaintenanceMode driver from Laravel
binaryfire Mar 12, 2026
1cbf8e8
Port CacheBasedMaintenanceMode driver from Laravel
binaryfire Mar 12, 2026
e77f8b5
Port MaintenanceModeManager from Laravel
binaryfire Mar 12, 2026
8eff525
Add WorkerCachedMaintenanceMode decorator for Swoole worker-lifetime …
binaryfire Mar 12, 2026
7fcc7b1
Port MaintenanceModeBypassCookie from Laravel with strict-types fix f…
binaryfire Mar 12, 2026
f05d38f
Port full PreventRequestsDuringMaintenance middleware from Laravel
binaryfire Mar 12, 2026
4b9ec29
Port DownCommand from Laravel with best-effort worker reload via SIGUSR1
binaryfire Mar 12, 2026
37f5d45
Port UpCommand from Laravel with best-effort worker reload via SIGUSR1
binaryfire Mar 12, 2026
3a717ac
Add MaintenanceMode facade
binaryfire Mar 12, 2026
f3d9580
Add tests for WorkerCachedMaintenanceMode decorator
binaryfire Mar 12, 2026
2b9e378
Add tests for CacheBasedMaintenanceMode driver
binaryfire Mar 12, 2026
4419e9a
Add tests for FileBasedMaintenanceMode driver
binaryfire Mar 12, 2026
195c9a6
Add tests for MaintenanceModeBypassCookie
binaryfire Mar 12, 2026
038dee5
Port maintenance mode integration tests from Laravel
binaryfire Mar 12, 2026
864fb1f
Add test for MaintenanceMode facade extend()
binaryfire Mar 12, 2026
c7be692
Enable previously blocked maintenance mode tests now that the subsyst…
binaryfire Mar 12, 2026
c000be5
Centralize static state cleanup in AfterEachTestSubscriber
binaryfire Mar 13, 2026
3dd9288
Standardize static state cleanup method naming
binaryfire Mar 13, 2026
932cb65
Complete flushState() standardization for remaining classes
binaryfire Mar 13, 2026
e71a122
Add Telescope::flushState() encapsulating all static state resets
binaryfire Mar 13, 2026
2b88233
Rename Env::resetRepository() to flushRepository()
binaryfire Mar 13, 2026
b25fd7a
Clean up test base classes and subscriber organization
binaryfire Mar 13, 2026
11823b0
Add flushState() to Authenticate, AuthenticationException, and Valida…
binaryfire Mar 13, 2026
346afe8
Add flushState() to AbstractPaginator, AbstractCursorPaginator, and R…
binaryfire Mar 13, 2026
b08ac3c
Add flushState() to BinaryCodec and ProcessCollector, remove reflecti…
binaryfire Mar 13, 2026
4bd5a85
Update subscriber with new flushState entries and consolidate resets
binaryfire Mar 13, 2026
c6701ef
Add flushState() to dispatchers, remove redundant test cleanup (partial)
binaryfire Mar 13, 2026
6d64dd9
Centralize test cleanup in AfterEachTestSubscriber, remove redundant …
binaryfire Mar 13, 2026
5d4da65
Remove remaining redundant test cleanup now handled by AfterEachTestS…
binaryfire Mar 13, 2026
5f31fdb
Isolate vendor:publish --all test to prevent workbench file pollution
binaryfire Mar 13, 2026
e353476
Make RunTestsInCoroutine default on both base test cases
binaryfire Mar 13, 2026
3d2dfd1
Switch remaining raw PHPUnit TestCase tests to Hypervel\Tests\TestCase
binaryfire Mar 13, 2026
4bd744c
Move classes to Laravel-aligned locations and rename server commands
binaryfire Mar 13, 2026
cb20885
Replace Ramsey UUID with Symfony UID in Str
binaryfire Mar 13, 2026
0bc59b2
Replace Ramsey UUID with Symfony UID in Carbon::createFromId()
binaryfire Mar 13, 2026
af8af99
Replace Ramsey UUID with Symfony UID in BinaryCodec
binaryfire Mar 13, 2026
37955eb
Fix HasVersion4Uuids to produce real v4 UUIDs
binaryfire Mar 13, 2026
8107e7d
Remove ramsey/uuid from composer.json
binaryfire Mar 13, 2026
1e126ed
Update Support tests for Symfony UID migration
binaryfire Mar 13, 2026
e6a9f9b
Update Queue tests for Symfony UID migration
binaryfire Mar 13, 2026
229dfad
Update Blade tests for Symfony UID migration
binaryfire Mar 13, 2026
80f938c
Update Database tests for Symfony UID migration
binaryfire Mar 13, 2026
48c3d32
Update JWT tests for Symfony UID migration
binaryfire Mar 13, 2026
091c12e
Remove Ramsey UUID factory reset from AfterEachTestSubscriber
binaryfire Mar 13, 2026
cad88c3
Bump dependencies to latest major versions, drop old version support
binaryfire Mar 13, 2026
11f4dd0
Bump all third-party dependencies to latest major versions
binaryfire Mar 14, 2026
5b35ee4
Adapt source code for brick/math 0.16 and Carbon v3
binaryfire Mar 14, 2026
50a451b
Update tests for brick/math 0.16 and Carbon v3
binaryfire Mar 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
49 changes: 29 additions & 20 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,41 +1,50 @@
# Integration tests environment example
# Copy this file to .env and configure to run integration tests locally.
#
# ## Database Configuration##
# Set DB_CONNECTION to the database you want to test against.
# Tests in tests/Integration/Database will run against this connection.
#
# ## Redis Configuration ##
# Integration tests auto-skip if Redis is unavailable on default host/port.
# Set REDIS_HOST to run tests against a specific Redis instance.
# If REDIS_HOST is set explicitly, tests will fail (not skip) if Redis is unavailable.

# Database
# SQLite
# DB_CONNECTION=sqlite
# DB_DATABASE=/tmp/testing.sqlite

# MySQL
# DB_CONNECTION=mysql
# DB_HOST=127.0.0.1
# DB_PORT=3306
# DB_DATABASE=testing
# DB_USERNAME=root
# DB_PASSWORD=password

# MariaDB
# DB_CONNECTION=mariadb
# DB_HOST=127.0.0.1
# DB_PORT=3307
# DB_DATABASE=testing
# DB_USERNAME=root
# DB_PASSWORD=password

# Postgres
# DB_CONNECTION=pgsql
# DB_HOST=127.0.0.1
# DB_PORT=5432
# DB_DATABASE=testing
# DB_USERNAME=postgres
# DB_PASSWORD=password

# Redis
# REDIS_HOST=127.0.0.1
# REDIS_PORT=6379
# REDIS_AUTH=
# REDIS_AUTH=password
# REDIS_DB=8
# Integration Tests
# Copy this file to .env and configure to run integration tests locally.
# Tests are skipped by default. Set the RUN_*_INTEGRATION_TESTS vars to enable.

# Meilisearch Integration Tests
RUN_MEILISEARCH_INTEGRATION_TESTS=false
MEILISEARCH_HOST=127.0.0.1
MEILISEARCH_PORT=7700
MEILISEARCH_KEY=secret
# MEILISEARCH_HOST=127.0.0.1
# MEILISEARCH_PORT=7700
# MEILISEARCH_KEY=secret

# Typesense Integration Tests
RUN_TYPESENSE_INTEGRATION_TESTS=false
TYPESENSE_HOST=127.0.0.1
TYPESENSE_PORT=8108
TYPESENSE_API_KEY=secret
TYPESENSE_PROTOCOL=http
# TYPESENSE_HOST=127.0.0.1
# TYPESENSE_PORT=8108
# TYPESENSE_API_KEY=secret
# TYPESENSE_PROTOCOL=http
33 changes: 33 additions & 0 deletions .github/actions/setup-php/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Setup PHP Extensions
description: Install PHP extensions required by the test suite

runs:
using: composite
steps:
- name: Install PHP extensions
shell: bash
run: |
apt-get update -qq
apt-get install -y -qq libgmp-dev libicu-dev libpq-dev libpng-dev libjpeg-dev libfreetype6-dev libsqlite3-dev > /dev/null

# Core extensions (installed via docker-php-ext-install)
core_extensions="pcntl intl gmp pdo_pgsql pdo_mysql pdo_sqlite sqlite3 bcmath gd fileinfo ftp"
to_install=""
for ext in $core_extensions; do
if ! php -m 2>/dev/null | grep -qi "^${ext}$"; then
to_install="$to_install $ext"
fi
done

if [ -n "$to_install" ]; then
if echo "$to_install" | grep -q "gd"; then
docker-php-ext-configure gd --with-freetype --with-jpeg > /dev/null
fi
docker-php-ext-install -j$(nproc) $to_install > /dev/null
fi

# PECL extensions
if ! php -m 2>/dev/null | grep -qi "^redis$"; then
pecl install redis > /dev/null
docker-php-ext-enable redis > /dev/null
fi
Loading