- Import facades and support classes by their namespace.
Facade::defaultAliases()is omitted. See porting from Laravel. - Date creators return
Carbon\CarbonImmutableor a subclass. Class handlers and factories must be configured with an immutable Carbon class. Custom factories and callbacks must also return immutable dates. UsetoMutable()for explicit conversion. See Dates. - The framework binds
datetoDateFactory, so aDatefacade subclass'sDEFAULT_FACADEonly applies whiledateis unbound. In an application, binddateto your factory instead. all([])onFluent,ValidatedInput, andUriQueryStringreturns an empty array. Useall()to retrieve every field.- Laravel's deferred service-provider metadata APIs are intentionally omitted. Hypervel registers providers once for a long-lived worker, so the per-request bootstrap optimization those APIs support does not apply.
- Node package-manager detection walks from the current directory to the filesystem root, so applications inside a workspace use the nearest ancestor lockfile. Within each directory, detection prefers Bun, pnpm, Yarn, then npm.
- pnpm and Yarn execute installed package binaries with
pnpm execandyarn run, keeping development tools tied to the project's installed versions. - Hypervel's
StrUUID methods, factories, sequences, freeze callbacks, anduuid()input helpers useSymfony\Component\Uid\Uuidvalues. Laravel usesRamsey\Uuid\UuidInterface, so concrete UUID type declarations and package-specific UUID methods must be adapted when porting code. - UUID input helpers and validation accept only hyphenated text, in either letter case. Normalize compact, braced, or
urn:uuid:input before use. - Hypervel's
Str::orderedUuid()returns a UUIDv7. Laravel returns a timestamp-first COMB UUIDv4, so code that checks UUID versions or relies on their ordering must account for the difference. - Hypervel's
plus()andminus()methods accept Carbon's fractional units, overflow modes and optional anchor day. Subclasses overriding these methods need to match the wider signatures. Carbon::createFromId()accepts ULIDs and v1, v6, and v7 UUIDs. Symfony UID does not provide timestamps for UUIDv2, so those values are rejected.
Ported from: https://github.com/laravel/framework/tree/13.x/src/Illuminate/Support