Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3065 commits
Select commit Hold shift + click to select a range
9747176
Add ParaTest support with per-worker Redis DB isolation
binaryfire Mar 14, 2026
670943c
Fix parallel test race conditions for route caching and Swoole processes
binaryfire Mar 14, 2026
4bd2565
Add ParallelTesting service, facade, and TestingServiceProvider
binaryfire Mar 14, 2026
d3a45da
Fix DatabaseConnectionResolver leaking connections on flush
binaryfire Mar 14, 2026
3667807
Add per-worker database isolation for parallel testing
binaryfire Mar 14, 2026
ddd47a5
Add tests for parallel database and Redis isolation helpers
binaryfire Mar 14, 2026
6ba2613
Update composer.json with parallel testing
binaryfire Mar 14, 2026
9df1659
Trim DefaultProviders to core framework providers only
binaryfire Mar 14, 2026
92ed4a7
Fix view package typing bugs
binaryfire Mar 15, 2026
74257a6
Align view binding keys with Laravel
binaryfire Mar 15, 2026
da51c27
Add missing global aliases to Facade::defaultAliases()
binaryfire Mar 15, 2026
2acc29b
Port missing AssertsStatusCodes methods from Laravel
binaryfire Mar 15, 2026
1db1ede
Fix WithConfig testbench attribute timing
binaryfire Mar 15, 2026
e99e6b7
Update ResolvesDumpSource to match Laravel
binaryfire Mar 15, 2026
dae746f
Port exception renderer Listener with Swoole Context adaptation
binaryfire Mar 15, 2026
9ddd48c
Port exception renderer Frame from Laravel
binaryfire Mar 15, 2026
53752a4
Port exception renderer Exception from Laravel
binaryfire Mar 15, 2026
0cacbcd
Port exception renderer BladeMapper with Swoole adaptation
binaryfire Mar 15, 2026
ae78029
Port exception renderer Renderer from Laravel
binaryfire Mar 15, 2026
07df44c
Port exception renderer Blade templates and assets from Laravel
binaryfire Mar 15, 2026
eb1551e
Wire up exception renderer in Handler and FoundationServiceProvider
binaryfire Mar 15, 2026
eebe12f
Port WhoopsHandler and update WhoopsExceptionRenderer to match Laravel
binaryfire Mar 15, 2026
36e7fde
Port exception renderer tests and add Swoole-specific coverage
binaryfire Mar 15, 2026
b8d1bd8
Fix flaky parallel test race in RemoteCommandCleanupTest
binaryfire Mar 15, 2026
6741d04
Remove Environment class in favor of Application's built-in methods
binaryfire Mar 15, 2026
c2e41dc
Standardize Context key naming convention across all packages
binaryfire Mar 15, 2026
3e04a43
Replace framework names in internal data keys
binaryfire Mar 15, 2026
1b7d34f
Add cleanup methods to DatabaseTransactionsManager
binaryfire Mar 15, 2026
ff92466
Extract Context key constants across packages
binaryfire Mar 15, 2026
c0f2278
Make Context key constants public for external consumers
binaryfire Mar 15, 2026
863d3af
Update tests to reference Context key constants
binaryfire Mar 15, 2026
324583f
Port WithFaker trait and fix Faker container binding
binaryfire Mar 15, 2026
ecb035d
Add compiledOrNotExpired cache to CompilerEngine
binaryfire Mar 15, 2026
dbf8fd1
Align Encrypter with Laravel
binaryfire Mar 15, 2026
c59dd86
Move MissingAppKeyException to package root namespace
binaryfire Mar 15, 2026
97bc402
Rewrite KeyGenerateCommand to Laravel style
binaryfire Mar 15, 2026
fc66d5c
Add appearsEncrypted to Crypt facade docblock
binaryfire Mar 15, 2026
8c15b59
Merge missing Laravel test cases into EncrypterTest
binaryfire Mar 15, 2026
992200b
Port encryption integration test from Laravel
binaryfire Mar 15, 2026
fdda737
Add KeyGenerateCommand integration tests
binaryfire Mar 15, 2026
4f19780
Add publishesConfig() helper and update all service providers
binaryfire Mar 15, 2026
ad39dd1
Improve testbench workbench isolation and align with Laravel
binaryfire Mar 15, 2026
cec71c7
Add missing framework infrastructure for foundation commands
binaryfire Mar 15, 2026
796d2e6
Align existing foundation commands with Laravel
binaryfire Mar 15, 2026
363eff7
Port foundation console commands from Laravel
binaryfire Mar 15, 2026
3681946
Port make commands from Laravel and remove devtool equivalents
binaryfire Mar 15, 2026
43048e8
Add comprehensive tests for all ported foundation commands
binaryfire Mar 15, 2026
83b09ce
Add mergeableOptions() to ServiceProvider for two-level config merging
binaryfire Mar 16, 2026
570fcd6
Remove view event toggle and add framework default view.php config
binaryfire Mar 16, 2026
e56b1c5
Add framework default database.php config
binaryfire Mar 16, 2026
631bcf8
Align Redis config keys with Laravel and add URL parsing support
binaryfire Mar 16, 2026
1caa50a
Centralize framework config files in foundation package
binaryfire Mar 16, 2026
2ce2ab4
Remove mergeConfigFrom() calls from core service providers
binaryfire Mar 16, 2026
2be6da8
Remove publishesConfig() and convert optional packages to publishes()
binaryfire Mar 16, 2026
8d66295
Rewrite ConfigPublishCommand to scan foundation config directory
binaryfire Mar 16, 2026
258a200
Add shouldMergeFrameworkConfiguration() and LoadConfiguration tests
binaryfire Mar 16, 2026
1241000
Replace BASE_PATH constant with path helpers in framework configs
binaryfire Mar 16, 2026
152c466
Widen Filesystem::files() and allFiles() to accept array of directories
binaryfire Mar 16, 2026
9976129
Add previousLocale to LocaleUpdated event
binaryfire Mar 16, 2026
9a20f8e
Add Application::flush(), remove BASE_PATH fallback, update contract
binaryfire Mar 16, 2026
fd555ad
Call flush() in flushApplication() for proper test teardown
binaryfire Mar 16, 2026
1ef9d37
Pass BASE_PATH explicitly to Application constructor
binaryfire Mar 16, 2026
b72edbc
Fix and add locale tests for Application
binaryfire Mar 16, 2026
990c4b2
Fix NodeTest tearDown ordering
binaryfire Mar 16, 2026
1ca9b0d
Add missing flush calls to AfterEachTestSubscriber
binaryfire Mar 16, 2026
dd4c394
Fix phpstan error in ConfigPublishCommand select options
binaryfire Mar 16, 2026
627a136
Add cache path methods to Application and contract
binaryfire Mar 16, 2026
41446c2
Align Console Kernel with Laravel
binaryfire Mar 16, 2026
020ca78
Move console schedule registration to FoundationServiceProvider
binaryfire Mar 16, 2026
149d106
Delete BootApplication event class
binaryfire Mar 16, 2026
2743480
Port nested provider registration integration test from Laravel
binaryfire Mar 16, 2026
e62a9d5
Add ErrorBag attribute with static caching for FormRequest
binaryfire Mar 16, 2026
fb792e0
chore: improve message format in slow tests detection
albertcht Mar 16, 2026
8771be3
Port DiscoverEvents class and tests from Laravel
binaryfire Mar 16, 2026
dcfb89b
Add event discovery support to Foundation EventServiceProvider
binaryfire Mar 16, 2026
bb99ce2
Wire ApplicationBuilder::withEvents() to discovery APIs
binaryfire Mar 16, 2026
194dcc0
Port EventCacheCommand, EventClearCommand, and EventGenerateCommand
binaryfire Mar 16, 2026
bcf686d
Add DiscoverEvents and EventServiceProvider to AfterEachTestSubscriber
binaryfire Mar 16, 2026
006cac8
Improve RedisSubscribeIntegrationTest cleanup
binaryfire Mar 16, 2026
9e660f9
Fix tests
binaryfire Mar 16, 2026
d26f96e
Rename unique job lock key prefix from laravel_ to hypervel_
binaryfire Mar 16, 2026
a71b4b7
Port JobName::resolveClassName and Job::resolveQueuedJobClass from La…
binaryfire Mar 16, 2026
ad5224f
Add resolveQueuedJobClass to WorkerFakeJob test fixture
binaryfire Mar 16, 2026
a0e6673
Port InteractsWithUniqueJobs trait from Laravel
binaryfire Mar 16, 2026
fd73572
Wire InteractsWithUniqueJobs into PendingDispatch
binaryfire Mar 16, 2026
17a5fb2
Align CallQueuedHandler and Queue payload with Laravel
binaryfire Mar 16, 2026
fa0a6d5
Add unit tests for CallQueuedHandler new methods
binaryfire Mar 16, 2026
07a4210
Port Integration CallQueuedHandlerTest from Laravel
binaryfire Mar 16, 2026
d8db6e6
Port BeforeCommitContractTest from Laravel
binaryfire Mar 16, 2026
dece6ff
Align AuthServiceProvider with Laravel
binaryfire Mar 17, 2026
5b90220
Add publicPath helper and flushMacros to Vite::flush()
binaryfire Mar 17, 2026
c428054
Expand Vite flush test with nonce and entry point assertions
binaryfire Mar 17, 2026
02bb16f
Add resetInteractivity to Interactivity trait
binaryfire Mar 17, 2026
290d359
Add resetCursor to Cursor trait
binaryfire Mar 17, 2026
7049756
Add resetFallback to Fallback trait
binaryfire Mar 17, 2026
0214490
Add full theme registry reset to Themes trait
binaryfire Mar 17, 2026
ec04865
Add flushState to Prompt with trait-delegated resets
binaryfire Mar 17, 2026
3eac11a
Add flushState to Sleep
binaryfire Mar 17, 2026
222f78a
Replace Str::resetFactoryState with flushState
binaryfire Mar 17, 2026
cd5dcc2
Add flushState to Eloquent Builder
binaryfire Mar 17, 2026
fa03e10
Add flushState to Relation
binaryfire Mar 17, 2026
e571fb2
Add flushState to Grammar
binaryfire Mar 17, 2026
06b821a
Add flushState to Schema Blueprint
binaryfire Mar 17, 2026
fbba08b
Add flushMacros to Schema Builder flushState
binaryfire Mar 17, 2026
81159d9
Add flushState to Route
binaryfire Mar 17, 2026
6b5209a
Add flushState to TestResponse
binaryfire Mar 17, 2026
3149252
Add flushState to Cache Repository
binaryfire Mar 17, 2026
331d695
Add flushState to Scout Builder
binaryfire Mar 17, 2026
4ba9879
Add flushState to Arr, Collection, and Fluent
binaryfire Mar 17, 2026
2fb8704
Add flushState to Uri
binaryfire Mar 17, 2026
917dc17
Add flushState to Pipeline
binaryfire Mar 17, 2026
7852aaa
Add flushState to Mailer and Attachment
binaryfire Mar 17, 2026
7b8b37f
Add flushState to HTTP Client Request and ResponseSequence
binaryfire Mar 17, 2026
af52cb5
Add flushState to Scheduling Event
binaryfire Mar 17, 2026
77e184d
Add flushState to validation Rule, Date, Email, and File
binaryfire Mar 17, 2026
036184c
Add flushState to AssertableJson
binaryfire Mar 17, 2026
7450c3a
Wire all new flushState methods into AfterEachTestSubscriber
binaryfire Mar 17, 2026
a11ab63
Add broadcast_if/broadcast_unless helpers and defer named deduplication
binaryfire Mar 17, 2026
cabbee6
Require swoole.use_shortname=Off via Application::checkEnvironment()
binaryfire Mar 17, 2026
a539eac
Remove dead shortname check from ServerStartCommand
binaryfire Mar 17, 2026
f84454c
Port missing helper tests and add broadcast/defer test coverage
binaryfire Mar 17, 2026
7c05de0
Remove redundant array_values call in ProcessPool
binaryfire Mar 17, 2026
10d1076
Disable Swoole shortnames in CI setup-php action
binaryfire Mar 17, 2026
86ee108
Add testing attributes (Seed, Seeder, SetUp, TearDown)
binaryfire Mar 17, 2026
febc1b4
Extract InteractsWithTestCaseLifecycle trait from Foundation TestCase
binaryfire Mar 17, 2026
1d9e443
Refactor Foundation TestCase to delegate to InteractsWithTestCaseLife…
binaryfire Mar 17, 2026
194557d
Clean up InteractsWithContainer and add withoutVite/withVite
binaryfire Mar 17, 2026
7211c16
Fix loose comparison in InteractsWithDeprecationHandling
binaryfire Mar 17, 2026
c5d26d0
Align Facade::clearResolvedInstance() signature with Laravel
binaryfire Mar 17, 2026
869c79e
Add CachedState static holder for test config/route caching
binaryfire Mar 17, 2026
1dee945
Add WithCachedConfig trait for test performance
binaryfire Mar 17, 2026
1c854ba
Add WithCachedRoutes trait for test performance
binaryfire Mar 17, 2026
8761a40
Add LazilyRefreshDatabase trait
binaryfire Mar 17, 2026
5c8f719
Add DatabaseTruncation trait
binaryfire Mar 17, 2026
a3ff317
Add fromRoute() and exception tracking to MakesHttpRequests
binaryfire Mar 17, 2026
3b47a53
Add LoggedExceptionCollection for test exception tracking
binaryfire Mar 17, 2026
02e593a
Add registerExceptionTracking() to FoundationServiceProvider
binaryfire Mar 17, 2026
33191ed
Add tearDownAfterClassUsingPHPUnit to Testbench
binaryfire Mar 17, 2026
000c486
Port and add Phase 8 testing parity tests
binaryfire Mar 17, 2026
ae99951
Add TestView class for view rendering assertions in tests
binaryfire Mar 17, 2026
c23bc8b
Add TestComponent class for component rendering assertions in tests
binaryfire Mar 17, 2026
202351f
Add InteractsWithViews trait for test view/blade/component rendering
binaryfire Mar 17, 2026
a681395
Add InteractsWithViews to Foundation TestCase
binaryfire Mar 17, 2026
79e6fb5
Add InteractsWithViewsTest
binaryfire Mar 17, 2026
7197900
Update porting guide to include upstream bug reporting
binaryfire Mar 17, 2026
bbcf3b3
Archive old auth package before fresh Laravel port
binaryfire Mar 18, 2026
9f4b122
Port Authenticatable contract: add password name, remember token methods
binaryfire Mar 18, 2026
c7fc0f4
Port Guard contract: add hasUser, change setUser return to static
binaryfire Mar 18, 2026
e70df29
Port StatefulGuard contract: add remember param, viaRemember method
binaryfire Mar 18, 2026
293377a
Port auth Factory contract: add shouldUse method
binaryfire Mar 18, 2026
4ddc4cb
Port UserProvider contract: add token retrieval and password rehash m…
binaryfire Mar 18, 2026
da4ca11
Port Gate contract: full typed interface with UnitEnum support, forUs…
binaryfire Mar 18, 2026
689f46d
Add CanResetPassword contract
binaryfire Mar 18, 2026
fdb7210
Add MustVerifyEmail contract
binaryfire Mar 18, 2026
b288860
Add PasswordBroker contract
binaryfire Mar 18, 2026
d69b90d
Add PasswordBrokerFactory contract
binaryfire Mar 18, 2026
37854ec
Add SupportsBasicAuth contract
binaryfire Mar 18, 2026
c0e4696
Add rebinding method to Container contract
binaryfire Mar 18, 2026
aa8f1bb
Add hasQueued method to cookie QueueingFactory contract
binaryfire Mar 18, 2026
f878962
Port AuthManager: Context-based default guard for Swoole coroutine sa…
binaryfire Mar 18, 2026
252c647
Port AuthServiceProvider: bind/singleton patterns, request resolver v…
binaryfire Mar 18, 2026
d63e6ac
Port CreatesUserProviders trait
binaryfire Mar 18, 2026
909850e
Port AuthenticationException
binaryfire Mar 18, 2026
ee556f8
Port Authenticatable trait: add password name, remember token methods
binaryfire Mar 18, 2026
ed96792
Add MustVerifyEmail trait
binaryfire Mar 18, 2026
bb02d36
Add Recaller class for remember-me cookie parsing
binaryfire Mar 18, 2026
a7eb7a1
Port GenericUser
binaryfire Mar 18, 2026
4e7ba5a
Remove auth Functions.php (auth helper moved to foundation helpers)
binaryfire Mar 18, 2026
c4a977d
Update auth package composer.json for fresh Laravel port
binaryfire Mar 18, 2026
d321812
Add GuardHelpers trait: no user property, each guard manages own Cont…
binaryfire Mar 18, 2026
3042100
Add SessionGuard: Swoole-safe with per-request Context state and sent…
binaryfire Mar 18, 2026
1351806
Add TokenGuard: token-keyed Context, container-based request resolution
binaryfire Mar 18, 2026
6b39359
Add RequestGuard: named guard with Context keying and container-based…
binaryfire Mar 18, 2026
f218c6c
Add JwtGuard: token-keyed Context, no catch(Throwable) swallowing
binaryfire Mar 18, 2026
e486433
Remove old Guards/ subdirectory files (replaced by flat-layout ports)
binaryfire Mar 18, 2026
61b46b2
Add EloquentUserProvider: fix str_contains strict-types bug with inte…
binaryfire Mar 18, 2026
5acc8c0
Add DatabaseUserProvider: fix str_contains strict-types bug with inte…
binaryfire Mar 18, 2026
705bd73
Remove old Providers/ subdirectory files (replaced by flat-layout ports)
binaryfire Mar 18, 2026
5bb085c
Port Gate: mixed user types, dead code removal, strict typing
binaryfire Mar 18, 2026
f52d6be
Port auth Access Response
binaryfire Mar 18, 2026
b1b8824
Port HandlesAuthorization trait
binaryfire Mar 18, 2026
0278d7a
Port GateEvaluated event
binaryfire Mar 18, 2026
f295d19
Port Authorize middleware: handle Model|string models, getModel retur…
binaryfire Mar 18, 2026
54cc094
Add auth Attempting event
binaryfire Mar 18, 2026
0eb07a6
Add auth Authenticated event
binaryfire Mar 18, 2026
1aea0f6
Add auth CurrentDeviceLogout event
binaryfire Mar 18, 2026
291877a
Add auth Failed event
binaryfire Mar 18, 2026
80af973
Add auth Lockout event
binaryfire Mar 18, 2026
ebfe4cf
Add auth Login, Logout, and OtherDeviceLogout events
binaryfire Mar 18, 2026
fbd3a69
Add auth PasswordReset and PasswordResetLinkSent events
binaryfire Mar 18, 2026
ff5239f
Add auth Registered, Validated, and Verified events
binaryfire Mar 18, 2026
a20d611
Add SendEmailVerificationNotification listener
binaryfire Mar 18, 2026
c731da9
Add ResetPassword notification
binaryfire Mar 18, 2026
d875bae
Add VerifyEmail notification
binaryfire Mar 18, 2026
b0bd709
Add AuthenticateWithBasicAuth middleware
binaryfire Mar 18, 2026
11a4a84
Add EnsureEmailIsVerified middleware
binaryfire Mar 18, 2026
cfce033
Add RequirePassword middleware
binaryfire Mar 18, 2026
8924ed2
Port RedirectIfAuthenticated middleware
binaryfire Mar 18, 2026
66fce7a
Add TokenRepositoryInterface for password reset tokens
binaryfire Mar 18, 2026
34b78aa
Add DatabaseTokenRepository for password reset tokens
binaryfire Mar 18, 2026
8e026e2
Add CacheTokenRepository for password reset tokens
binaryfire Mar 18, 2026
3e9f723
Add PasswordBroker for password reset orchestration
binaryfire Mar 18, 2026
592f305
Add PasswordBrokerManager for multi-broker support
binaryfire Mar 18, 2026
b5ebb3c
Add PasswordResetServiceProvider
binaryfire Mar 18, 2026
504ec4e
Add CanResetPassword trait
binaryfire Mar 18, 2026
8dd54c6
Add auth:clear-resets artisan command
binaryfire Mar 18, 2026
4ed05c3
Remove empty Cookie wrapper class, update CookieJar to use Symfony Co…
binaryfire Mar 18, 2026
56b8774
Add auth.password and auth.password.broker aliases to Application
binaryfire Mar 18, 2026
52b3da2
Move auth user resolver from FoundationServiceProvider to AuthService…
binaryfire Mar 18, 2026
92bcaea
Make auth() helper self-contained in foundation helpers
binaryfire Mar 18, 2026
82c1f90
Add authorizeResource to AuthorizesRequests, widen authorizeForUser t…
binaryfire Mar 18, 2026
1b32f8f
Add PasswordResetServiceProvider to DefaultProviders
binaryfire Mar 18, 2026
b193c29
Update Auth facade for ported AuthManager
binaryfire Mar 18, 2026
95555f7
Update Cookie facade docblock references
binaryfire Mar 18, 2026
a3ed644
Add Redirect facade
binaryfire Mar 18, 2026
d381a10
Update root composer.json: add PasswordResetServiceProvider, remove a…
binaryfire Mar 18, 2026
a250d74
Update SanctumGuard: sentinel pattern, container-based request, token…
binaryfire Mar 18, 2026
b4c0a98
Update SanctumServiceProvider: align callback signature with AuthManager
binaryfire Mar 18, 2026
ac56151
Update AuthenticateSession middleware: remove dead method_exists checks
binaryfire Mar 18, 2026
538882b
Add ResetPassword and VerifyEmail flushState to test subscriber
binaryfire Mar 18, 2026
816ed1a
Fix InteractsWithAuthenticationTest: setUser mock uses andReturnSelf …
binaryfire Mar 18, 2026
bea6127
Update BroadcasterTest DummyUser for expanded Authenticatable contract
binaryfire Mar 18, 2026
c3979e7
Update Telescope test stubs for expanded Authenticatable contract
binaryfire Mar 18, 2026
cf6d77c
Add DummyAuthenticatable shared fixture for Sanctum tests
binaryfire Mar 18, 2026
0662502
Update Sanctum test fixtures to use Authenticatable trait
binaryfire Mar 18, 2026
d8fc9ed
Port auth test fixtures from Laravel
binaryfire Mar 18, 2026
d1825e6
Update pre-existing auth tests for ported contracts and source
binaryfire Mar 18, 2026
bdcab52
Update pre-existing provider tests for ported auth source
binaryfire Mar 18, 2026
b698296
Add AbilitiesEnum test fixture
binaryfire Mar 18, 2026
ffb897a
Port AuthAccessGateTest: 103 tests for Gate with strict typing adapta…
binaryfire Mar 18, 2026
51dd381
Port AuthAccessResponseTest
binaryfire Mar 18, 2026
4eadcb5
Port AuthHandlesAuthorizationTest
binaryfire Mar 18, 2026
90d16d7
Port AuthenticatableTest
binaryfire Mar 18, 2026
74af44d
Port AuthListenersSendEmailVerificationNotificationHandleFunctionTest
binaryfire Mar 18, 2026
e5694db
Port AuthGuardTest: 43 tests for SessionGuard with Swoole constructor…
binaryfire Mar 18, 2026
7cd8a82
Port AuthorizeMiddlewareTest: 14 tests with Model|string and mixed re…
binaryfire Mar 18, 2026
602324f
Port AuthDatabaseTokenRepositoryTest: ConnectionInterface + Builder m…
binaryfire Mar 18, 2026
6300e20
Port AuthenticateMiddlewareTest: container-based request, closure bin…
binaryfire Mar 18, 2026
64699f1
Port AuthorizesResourcesTest: tests authorizeResource middleware regi…
binaryfire Mar 18, 2026
6925913
Port AuthPasswordBrokerTest: compound Authenticatable+CanResetPasswor…
binaryfire Mar 18, 2026
774b146
Port AuthTokenGuardTest: container-based request, Authenticatable stub
binaryfire Mar 18, 2026
ad5a454
Port EnsureEmailIsVerifiedTest
binaryfire Mar 18, 2026
e8d21c4
Port RedirectIfAuthenticatedMiddlewareTest
binaryfire Mar 18, 2026
f3062a7
Fix Sanctum tests: use Hypervel TestCase base class, remove void retu…
binaryfire Mar 18, 2026
951158f
Align facade accessors with Laravel string-key convention
binaryfire Mar 18, 2026
fed0b47
Fix MailServiceProvider to bind under canonical string keys
binaryfire Mar 18, 2026
cdcf288
Port Facade $app API and align individual facades with Laravel
binaryfire Mar 18, 2026
0501c22
Fix Gate to normalize int-backed enum abilities to string
binaryfire Mar 18, 2026
b7135a0
Add additional auth tests and fixtures
binaryfire Mar 18, 2026
d8595b5
Update composer.json files
binaryfire Mar 18, 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.
51 changes: 30 additions & 21 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_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.
# REDIS_PASSWORD=password
# REDIS_DB=1

# 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
36 changes: 36 additions & 0 deletions .github/actions/setup-php/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
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

# Disable Swoole shortnames to avoid shadowing foundation helpers
echo "swoole.use_shortname=Off" > /usr/local/etc/php/conf.d/99-swoole-shortname.ini
Loading