Skip to content
hypervelPublic

About

[READ ONLY] Subtree split of the support component (see hypervel/components)

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

1,235 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Support for Hypervel

Ask DeepWiki

Differences From Laravel

  • Import facades and support classes by their namespace. Facade::defaultAliases() is omitted. See porting from Laravel.
  • Date creators return Carbon\CarbonImmutable or a subclass. Class handlers and factories must be configured with an immutable Carbon class. Custom factories and callbacks must also return immutable dates. Use toMutable() for explicit conversion. See Dates.
  • The framework binds date to DateFactory, so a Date facade subclass's DEFAULT_FACADE only applies while date is unbound. In an application, bind date to your factory instead.
  • all([]) on Fluent, ValidatedInput, and UriQueryString returns an empty array. Use all() 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 exec and yarn run, keeping development tools tied to the project's installed versions.
  • Hypervel's Str UUID methods, factories, sequences, freeze callbacks, and uuid() input helpers use Symfony\Component\Uid\Uuid values. Laravel uses Ramsey\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() and minus() 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

About

[READ ONLY] Subtree split of the support component (see hypervel/components)

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages