Packages, matched by job
The most-used libraries for each everyday need, in PHP, Go and Rust. Each name links to its registry page. The dark tag shows the latest release at the last review, and the outlined tag shows the major release line.
Frameworks & HTTP
Go's standard net/http (with method + path patterns since Go 1.22) is production-grade on its own; many teams use no framework at all.
| Need | PHP | Go | Rust |
|---|---|---|---|
| Full-stack, batteries included | laravel/frameworkThe framework you already know13.45.013.x | go.laravel.comOfficial Laravel Go0.2.0github.com/goravel/frameworkCommunity Laravel-inspired framework: Artisan, ORM, queues, facades1.18.1 | laravel-rustOfficial Laravel Rust0.2.0loco-rsCommunity Rails/Laravel-style framework on Axum + SeaORM1.4.0 |
| Lightweight API framework | slim/slimPSR-7 micro framework4.16.14.x | github.com/gin-gonic/ginMost popular Go web framework1.12.0github.com/labstack/echo/v5Minimal, fast, good middleware set5.4.7 | axumTokio team's web framework; Laravel Rust and Loco build on it0.8.9actix-webMature, very fast actor-based framework4.21.0 |
| Router only | nikic/fast-routeRegex-based router used by Slim and Lumen1.4.0 | github.com/go-chi/chi/v5Router that stays 100% compatible with net/http5.5.0 | matchitThe fast URL router inside Axum0.9.2 |
| Long-running app server | laravel/octaneKeeps Laravel booted on FrankenPHP, Swoole or RoadRunner2.26.0react/httpEvent-driven HTTP server in pure PHP1.12.0 | github.com/valyala/fasthttpZero-allocation HTTP server (not net/http compatible)1.81.0 | hyperLow-level HTTP/1 and HTTP/2 engine under Axum1.13.0 |
| Middleware (CORS, compression, timeouts) | fruitcake/php-corsCORS handling used by Laravel1.4.0 | github.com/rs/corsCORS for net/http1.11.1 | tower-httpCORS, compression, tracing, timeouts as Tower layers0.7.1 |
HTTP clients & APIs
| Need | PHP | Go | Rust |
|---|---|---|---|
| HTTP client | guzzlehttp/guzzleLaravel's Http:: facade wraps it8.6.28.xsymfony/http-clientAsync-capable Symfony client8.2.0 | github.com/go-resty/resty/v2Fluent client; stdlib net/http is often enough3.0.0-rc.4 (new module path github.com/go-resty/resty/v3) | reqwestThe default async HTTP client0.13.5 |
| Retries & backoff | guzzlehttp/guzzleRetry middleware; Laravel has Http::retry()8.6.2 | github.com/hashicorp/go-retryablehttpDrop-in retrying http.Client0.7.8 | reqwest-retryRetry policies for reqwest via reqwest-middleware0.9.1 |
| GraphQL server | nuwave/lighthouseSchema-first GraphQL for Laravel6.77.1webonyx/graphql-phpReference GraphQL implementation15.52.1 | github.com/99designs/gqlgenSchema-first, generates type-safe Go0.17.98 | async-graphqlCode-first GraphQL, Axum integration7.2.1 |
| gRPC | grpc/grpcgRPC client (needs the grpc extension)1.86.0 | google.golang.org/grpcOfficial gRPC for Go1.85.0 | tonicgRPC over hyper + prost (now maintained under the grpc org)0.14.9 |
| Cloud SDK (AWS) | aws/aws-sdk-phpOfficial AWS SDK3.412.03.x | github.com/aws/aws-sdk-go-v2Official AWS SDK v2, one module per service1.49.0 | aws-sdk-s3Official AWS SDK (one crate per service) + aws-config1.163.0 |
| Payments (Stripe) | stripe/stripe-phpOfficial Stripe SDK; Cashier wraps it23.1.0 | github.com/stripe/stripe-go/v87Official SDK; the import path carries the major version (/v87 today)87.2.0 | async-stripeCommunity Stripe client, generated from the OpenAPI spec0.41.0 |
Database drivers & query builders
PHP drivers are extensions (pdo_pgsql, pdo_mysql), not Composer packages. In Go and Rust the driver is a normal dependency.
| Need | PHP | Go | Rust |
|---|---|---|---|
| PostgreSQL driver | amphp/postgresAsync Postgres for Amp (PDO for normal apps)2.2.2 | github.com/jackc/pgx/v5The Postgres driver: fast, pooling, native types5.13.0 | tokio-postgresAsync Postgres client0.7.19sqlxAsync, compile-time checked SQL for Postgres/MySQL/SQLite0.9.1 |
| MySQL driver | amphp/mysqlAsync MySQL for Amp (PDO for normal apps)3.1.2 | github.com/go-sql-driver/mysqlStandard MySQL driver for database/sql1.11.0 | mysql_asyncAsync MySQL client0.37.1sqlxSame crate covers MySQL0.9.1 |
| Query builder | illuminate/databaseLaravel query builder + Eloquent, usable standalone13.45.0doctrine/dbalDatabase abstraction + query builder4.6.0 | github.com/Masterminds/squirrelFluent SQL builder1.5.4github.com/jmoiron/sqlxScan rows into structs1.4.0 | sea-queryDynamic query builder behind SeaORM1.0.2 |
| Type-checked SQL from .sql files | doctrine/dbalClosest: typed params, no codegen4.6.0 | github.com/sqlc-dev/sqlcGenerates type-safe Go from SQL queries1.31.1 | sqlxquery! macros check SQL against the DB at compile time0.9.1 |
ORMs & migrations
| Need | PHP | Go | Rust |
|---|---|---|---|
| ORM | illuminate/databaseEloquent13.45.0doctrine/ormData-mapper ORM (Symfony default)3.8.03.x | gorm.io/gormMost used Go ORM; Goravel's ORM wraps it1.31.2entgo.io/entSchema-as-code entity framework, originally from Meta0.14.6 | sea-ormAsync ActiveRecord-ish ORM; Loco's default2.0.4dieselSync, compile-time checked ORM2.4.1 |
| Migrations | doctrine/migrationsVersioned migrations (Laravel has its own built in)3.10.0 | github.com/pressly/goose/v3SQL or Go migrations3.30.2github.com/golang-migrate/migrate/v4CLI + library, many drivers4.20.1 | sea-orm-migrationMigrations used by Loco2.0.4sqlx-clisqlx migrate for plain SQL files0.9.1 |
| Fake data & factories | fakerphp/fakerPowers Laravel model factories1.24.1 | github.com/brianvoe/gofakeit/v7Faker for Go, fills structs from tags7.18.11 | fakeFake data + derive for structs5.1.0 |
Validation
| Need | PHP | Go | Rust |
|---|---|---|---|
| Validate request data / structs | illuminate/validationLaravel validator, usable standalone13.45.0symfony/validatorAttribute-based constraints8.2.0 | github.com/go-playground/validator/v10Struct-tag rules: validate:"required,email"10.30.6 | validator#[derive(Validate)] with field attributes; used by Loco0.21.0gardeNewer derive-based validation0.23.0 |
| Typed DTOs | spatie/laravel-dataTyped data objects that validate and transform4.23.1 | github.com/go-ozzo/ozzo-validation/v4Rules written in code, not tags4.5.0 | nutypeNewtypes that validate on construction0.8.0 |
| Phone numbers | giggsey/libphonenumber-for-phpPort of Google libphonenumber9.0.45 | github.com/nyaruka/phonenumbers/v2Port of Google libphonenumber2.1.0 | phonenumberPort of Google libphonenumber0.3.10+9.0.33 |
Serialization & config
PHP has json_encode built in, Go has encoding/json, Rust has nothing built in: serde is the de-facto standard.
| Need | PHP | Go | Rust |
|---|---|---|---|
| JSON & serialization | symfony/serializerObject <-> JSON/XML/CSV mapping8.2.0 | github.com/goccy/go-jsonFaster drop-in for encoding/json0.12.0 | serdeDerive Serialize/Deserialize for any format1.0.229serde_jsonJSON for serde1.0.154 |
| .env files | vlucas/phpdotenvLaravel's .env loader5.8.15.x | github.com/joho/godotenvLoad .env into os environment1.5.1 | dotenvyMaintained fork of dotenv0.15.7 |
| Config loading | symfony/yamlYAML parser/dumper8.2.0 | github.com/spf13/viperFiles + env + flags1.21.0github.com/kelseyhightower/envconfigEnv vars into a struct1.4.0 | configLayered config from files and env0.15.27figmentTyped config, used by Rocket0.10.19 |
| TOML | internal/tomlTOML 1.0/1.1 parser and encoder1.1.3 | github.com/BurntSushi/tomlTOML with reflection1.6.0 | tomlTOML for serde (Cargo uses it)1.2.3+spec-1.1.0 |
Auth, JWT & crypto
| Need | PHP | Go | Rust |
|---|---|---|---|
| JWT | firebase/php-jwtEncode/decode JWTs7.2.2lcobucci/jwtStrictly typed JWT library5.7.0 | github.com/golang-jwt/jwt/v5Community standard JWT5.4.0 | jsonwebtokenJWT encode/decode; used by Loco12.0.0 |
| Password hashing | illuminate/hashingHash::make over password_hash() (bcrypt/argon2)13.45.0 | golang.org/x/cryptobcrypt and argon2 sub-packages0.60.0 | argon2RustCrypto Argon20.6.0bcryptbcrypt hashing0.19.3 |
| OAuth / social login | laravel/socialiteGitHub, Google… login5.33.0league/oauth2-clientGeneric OAuth2 client2.10.0 | golang.org/x/oauth2OAuth2 client0.38.0github.com/markbates/gothMulti-provider social login1.82.0 | oauth2Typed OAuth2 client5.0.0 |
| Sessions & login helpers | laravel/sanctumAPI tokens + SPA cookie auth4.5.0 | github.com/alexedwards/scs/v2HTTP session manager2.9.0github.com/gorilla/sessionsCookie/filesystem sessions1.4.0 | tower-sessionsSessions as a Tower layer0.15.0axum-loginLogin/auth sessions for Axum0.19.0 |
| Encryption & randomness | paragonie/haliteHigh-level libsodium wrapper5.2.0defuse/php-encryptionSimple symmetric encryption2.4.0 | golang.org/x/cryptonacl, chacha20poly1305, argon2… (stdlib crypto/* covers most needs)0.60.0 | ringFast, safe crypto primitives derived from BoringSSL0.17.14randRandom numbers0.10.4 |
Queues, jobs & scheduling
| Need | PHP | Go | Rust |
|---|---|---|---|
| Background jobs | laravel/horizonRedis queue dashboard + supervisor5.52.0 | github.com/hibiken/asynqRedis-backed jobs, retries, Web UI0.26.0github.com/riverqueue/riverPostgres-backed transactional jobs0.51.2 | apalisJobs over Redis/Postgres/SQLite1.3.0 |
| Cron expressions & scheduler | dragonmantank/cron-expressionParser behind Laravel's scheduler3.6.1 | github.com/robfig/cron/v3Classic in-process cron (no longer actively maintained)3.0.1github.com/go-co-op/gocron/v2Fluent job scheduler2.23.2 | tokio-cron-schedulerCron jobs on Tokio0.15.1cronCron expression parser0.17.0 |
| Message brokers | php-amqplib/php-amqplibRabbitMQ client3.8.0 | github.com/rabbitmq/amqp091-goRabbitMQ client1.17.0github.com/nats-io/nats.goNATS client1.56.0github.com/segmentio/kafka-goKafka client0.4.51 | lapinRabbitMQ (AMQP) client4.13.0async-natsNATS client0.53.0rdkafkaKafka via librdkafka0.40.0 |
| Durable workflows | temporal/sdkTemporal PHP SDK (runs on RoadRunner)2.21 | go.temporal.io/sdkTemporal Go SDK1.52.0 | temporalio-sdkOfficial Temporal Rust SDK (1.0 since September 2026)1.3.0 |
Caching & Redis
| Need | PHP | Go | Rust |
|---|---|---|---|
| Redis client | predis/predisPure-PHP client (or the phpredis extension)3.8.0 | github.com/redis/go-redis/v9Official Redis client9.24.1 | redisRedis client with async + pooling1.8.3fredAsync Redis/Valkey client10.1.0 |
| In-memory cache | symfony/cachePSR-6/16 cache adapters8.2.0 | github.com/hashicorp/golang-lru/v2Generic LRU cache2.0.7 | mokaConcurrent cache with TTL0.12.16cachedMemoize functions with a macro4.2.0 |
| Rate limiting | symfony/rate-limiterToken bucket / sliding window8.2.0 | golang.org/x/timerate.Limiter token bucket0.16.0github.com/ulule/limiter/v3Redis-backed HTTP limiter3.11.2 | governorGCRA rate limiter0.10.4tower_governorGovernor as Axum/Tower middleware0.8.0 |
| Distributed locks | symfony/lockLocks on Redis, DB, files8.2.0 | github.com/go-redsync/redsync/v4Redlock for Go4.18.1 | redisUse SET NX PX directly; no dominant lock crate1.8.3 |
Logging & observability
Go 1.21+ ships structured logging in the standard library (log/slog). In Rust, tracing is the standard for logs and spans.
| Need | PHP | Go | Rust |
|---|---|---|---|
| Structured logging | monolog/monologLaravel's logger3.13.03.x | go.uber.org/zapFast structured logger1.28.0github.com/rs/zerologZero-allocation JSON logger1.35.1 | tracingSpans + events0.1.44tracing-subscriberFormatters and filters for tracing0.3.23 |
| Error tracking | sentry/sentry-laravelSentry for Laravel4.31.0 | github.com/getsentry/sentry-goOfficial Sentry SDK0.50.0 | sentryOfficial Sentry SDK0.49.6 |
| OpenTelemetry | open-telemetry/sdkOTel SDK for PHP1.19.0 | go.opentelemetry.io/otelOTel API + SDK1.48.0 | opentelemetryOTel API; pair with tracing-opentelemetry0.33.1 |
| Prometheus metrics | promphp/prometheus_client_phpPrometheus client2.15.1 | github.com/prometheus/client_golangOfficial Prometheus client1.25.0 | prometheusPrometheus client0.14.0metricsMetrics facade with exporters0.25.1 |
| Local debugging | laravel/telescopeRequest/query/job inspector5.29.0barryvdh/laravel-debugbarDebug toolbar4.4.5 | github.com/go-delve/delveThe Go debugger (dlv)1.27.2 | console-subscriberFeeds tokio-console, a top-like view of async tasks0.5.0 |
Testing & mocking
Go (go test) and Rust (cargo test) have test runners built in; the packages below add assertions, mocks and snapshots.
| Need | PHP | Go | Rust |
|---|---|---|---|
| Test runner & assertions | pestphp/pestExpressive tests on top of PHPUnit5.3.7phpunit/phpunitThe standard runner13.5.1 | github.com/stretchr/testifyassert, require, suite1.12.1 | cargo-nextestFaster, nicer test runner0.9.152pretty_assertionsReadable diffs for assert_eq!1.4.1 |
| Mocking | mockery/mockeryMock objects1.6.15 | go.uber.org/mockgomock: mocks generated from interfaces0.6.0 | mockallMocks from traits via #[automock]0.15.0 |
| HTTP mocking | php-http/mock-clientPSR-18 mock client (Laravel has Http::fake())1.6.1 | github.com/jarcoal/httpmockMock http.Client responses1.4.2 | wiremockMock HTTP server for tests0.6.5mockitoSimple HTTP mocking1.7.2 |
| Snapshot testing | spatie/phpunit-snapshot-assertionsSnapshot assertions5.4.0 | github.com/gkampitakis/go-snapsJest-style snapshots0.5.26 | instaSnapshot testing + cargo insta review1.49.0 |
| Property-based testing | giorgiosironi/erisQuickCheck-style for PHPUnit1.3.0 | pgregory.net/rapidProperty-based testing (Go also has built-in fuzzing)1.3.0 | proptestHypothesis-style strategies1.12.0quickcheckClassic QuickCheck1.1.0 |
| Real services in tests | testcontainers/testcontainersDocker containers from tests1.2.1 | github.com/testcontainers/testcontainers-goPostgres/Redis in Docker for tests0.45.0 | testcontainersDocker containers from tests0.28.0 |
| Browser / E2E | laravel/duskBrowser tests for Laravel8.9.0symfony/pantherChrome/Firefox via WebDriver2.4.0 | github.com/chromedp/chromedpDrive Chrome over CDP0.24.3github.com/go-rod/rodHigh-level CDP driver0.116.2 | fantocciniWebDriver client0.22.2thirtyfourSelenium/WebDriver client0.38.3 |
| Benchmarks | phpbench/phpbenchBenchmark framework1.7.1 | golang.org/x/perfbenchstat compares go test -bench runs | criterionStatistics-driven benchmarks0.8.2divanSimple attribute-based benchmarks0.1.21 |
Static analysis, lint & format
gofmt, go vet, rustfmt and clippy ship with the toolchains, so there is nothing to install for the basics.
| Need | PHP | Go | Rust |
|---|---|---|---|
| Static analysis | phpstan/phpstanType-level analysis2.4.02.xlarastan/larastanPHPStan rules for Laravel3.16.0 | honnef.co/go/toolsstaticcheck0.8.2 | cargo-denyLint dependencies: licenses, bans, advisories0.22.3 |
| Meta-linter | vimeo/psalmAlternative type checker7.28.0 | github.com/golangci/golangci-lint/v2Runs dozens of linters in one pass2.15.0 | cargo-macheteFind unused dependencies0.10.1 |
| Formatter | laravel/pintZero-config formatter for Laravel1.32.3friendsofphp/php-cs-fixerConfigurable fixer3.95.33 | mvdan.cc/gofumptStricter gofmt0.12.0 | cargo-sortSort Cargo.toml dependencies2.1.5 |
| Automated upgrades & refactors | rector/rectorUpgrade PHP and Laravel code automatically2.9.3 | golang.org/x/toolsgoimports, stringer and the analyzers behind gopls and go fix (gopls itself is golang.org/x/tools/gopls)0.53.0 | cargo-editcargo upgrade for major bumps0.13.14cargo-semver-checksCatch breaking API changes0.52.0 |
| Security audit | roave/security-advisoriesBlocks installing vulnerable versions (plus built-in composer audit)dev-latest | golang.org/x/vulngovulncheck with call-graph analysis1.10.0github.com/securego/gosec/v2Security-focused linter2.30.0 | cargo-auditCheck Cargo.lock against RustSec0.23.0 |
CLI building
| Need | PHP | Go | Rust |
|---|---|---|---|
| Commands, args & flags | symfony/consoleArtisan is built on it8.2.0 | github.com/spf13/cobraUsed by kubectl, gh, hugo1.10.2github.com/alecthomas/kongStruct-based CLI parser1.17.0 | clapDerive a CLI from a struct4.6.10arghSmall derive-based parser0.1.19 |
| Interactive prompts & TUIs | laravel/promptsBeautiful prompts for Artisan commands0.3.28 | charm.land/bubbletea/v2Elm-style TUI framework (v2 moved to the charm.land path)2.2.0charm.land/huh/v2Forms and prompts2.0.3 | ratatuiTUI framework0.30.2dialoguerPrompts0.12.0inquirePrompts with autocomplete0.9.5 |
| Progress bars & colour | symfony/consoleProgressBar + styles built in8.2.0 | github.com/schollz/progressbar/v3Progress bars3.19.1github.com/fatih/colorTerminal colour1.19.0 | indicatifProgress bars and spinners0.18.6owo-colorsZero-cost terminal colours4.4.2 |
Concurrency & async
Go's concurrency is in the language (goroutines, channels). Rust's async needs a runtime crate, almost always Tokio.
| Need | PHP | Go | Rust |
|---|---|---|---|
| Event loop / async runtime | revolt/event-loopShared loop for Amp and ReactPHP1.1.0amphp/ampFiber-based async3.1.33.x | golang.org/x/syncerrgroup, semaphore, singleflight0.25.0 | tokioThe async runtime1.54.1futuresCombinators and traits for futures0.3.34 |
| Structured concurrency helpers | spatie/forkRun closures in parallel child processes1.4.0 | github.com/sourcegraph/concSafer goroutine groups and pools0.3.0 | tokio-utilCancellation tokens, codecs, task tracking0.7.20 |
| Worker pools & data parallelism | spatie/asyncProcess pool for parallel tasks1.8.2 | github.com/panjf2000/ants/v2Goroutine pool2.12.1 | rayon.par_iter() turns loops parallel1.12.0 |
| Concurrent data structures | amphp/syncMutexes and semaphores for Amp2.3.1 | golang.org/x/syncPlus stdlib sync.Map, sync.Mutex0.25.0 | dashmapConcurrent HashMap6.2.1crossbeamChannels and lock-free structures0.8.5parking_lotFaster Mutex/RwLock0.13.0 |
Templating & frontend
| Need | PHP | Go | Rust |
|---|---|---|---|
| Server-side templates | twig/twigTwig (Blade ships inside illuminate/view)3.31.1 | github.com/a-h/templType-checked HTML components compiled to Go0.3.1118 | teraJinja2/Twig-like; Loco's default2.4.0askamaTemplates compiled and type-checked0.16.1maudHTML as a Rust macro0.27.0 |
| Interactive UI without a SPA | livewire/livewireReactive components in Blade4.4.11 | github.com/a-h/templPairs with htmx for Livewire-like UX0.3.1118 | leptosFull-stack reactive Rust (SSR + WASM)0.8.23dioxusReact-like UI for web, desktop, mobile0.7.10 |
| SPA bridge | inertiajs/inertia-laravelReact/Vue pages, Laravel routing3.8.0 | github.com/romsar/gonertia/v3Community Inertia adapter for Go3.0.0 | axum-inertiaCommunity Inertia adapter for Axum0.10.0 |
| Markdown | league/commonmarkCommonMark + GFM2.10.11 | github.com/yuin/goldmark/v2CommonMark, used by Hugo2.1.16 | pulldown-cmarkFast CommonMark parser0.13.6comrakCommonMark + GFM1.3.0 |
| Images & PDFs | intervention/imageImage manipulation4.4.3barryvdh/laravel-dompdfHTML to PDF3.1.2 | github.com/disintegration/imagingResize, crop, filters1.6.2github.com/signintech/gopdfPDF generation (go-pdf/fpdf is archived)0.38.7 | imageImage decoding and processing0.25.10printpdfPDF generation0.13.1 |
Dates, money & IDs
| Need | PHP | Go | Rust |
|---|---|---|---|
| Dates & times | nesbot/carbonLaravel's now()3.15.23.x | github.com/dromara/carbon/v2Carbon-style API (stdlib time covers most needs)2.7.2 | chronoDates, times, time zones0.4.45jiffNewer, time-zone-correct datetime library1.1.0 |
| UUID / ULID | ramsey/uuidUUIDs (Laravel Str::uuid())4.10.0symfony/uidUUID + ULID8.2.0 | github.com/google/uuidUUIDs including v71.6.0github.com/oklog/ulid/v2ULIDs2.1.2 | uuidUUIDs with serde support1.29.3ulidULIDs3.0.0 |
| Money & decimals | brick/moneyMoney with currencies0.15.2moneyphp/moneyFowler money pattern4.10.0 | github.com/shopspring/decimalArbitrary-precision decimals1.6.0github.com/Rhymond/go-moneyMoney type1.0.15 | rust_decimal128-bit decimals with serde/sqlx support1.43.0rusty-moneyMoney and currencies0.5.1 |
| Slugs & text | cocur/slugifySlugs (Laravel has Str::slug)4.8.0 | github.com/gosimple/slugURL slugs1.15.0golang.org/x/textUnicode, i18n, collation0.44.0 | slugURL slugs0.1.6heckCase conversion: snake, camel, kebab0.5.0 |
Mail & storage
| Need | PHP | Go | Rust |
|---|---|---|---|
| Send email | symfony/mailerLaravel Mail runs on it8.2.0 | github.com/wneessen/go-mailModern SMTP mail library0.8.2 | lettreSMTP mailer; Loco mailers use it0.11.25 |
| File storage abstraction | league/flysystemLaravel Storage runs on it3.36.03.x | gocloud.devblob package for S3/GCS/Azure/local0.50.0 | object_storeS3/GCS/Azure/local; Loco storage uses it0.14.2opendalApache OpenDAL: one API for many backends0.59.5 |
| Search engines | laravel/scoutSearch driver for Eloquent11.11.0 | github.com/meilisearch/meilisearch-goMeilisearch client0.37.0github.com/blevesearch/bleve/v2Embedded full-text search2.6.4 | meilisearch-sdkMeilisearch client0.33.0tantivyEmbedded full-text search engine (Lucene-like)0.27.0 |
Dev workflow
| Need | PHP | Go | Rust |
|---|---|---|---|
| Reload on save | laravel/sailDocker dev environment (PHP reloads per request anyway)1.71.0 | github.com/air-verse/airRebuild and restart on file change1.67.4 | baconBackground cargo check/test runner3.26.0watchexec-cliRun any command on file change (cargo-watch is archived)2.8.0 |
| Task runner | laravel/envoySSH task runner with Blade syntax2.13.0 | github.com/go-task/task/v3Taskfile.yml runner3.55.0github.com/magefile/mageMake in Go1.17.2 | justCommand runner (justfile)1.59.0cargo-makeTask runner for Cargo0.37.24 |
| Release & cross-compile | humbug/boxBundle a PHP app into a .phar4.7.1 | github.com/goreleaser/goreleaser/v2Builds, archives, Homebrew taps, Docker2.20.4 | crossCross-compile via Docker0.2.5cargo-distRelease pipelines and installers0.34.0 |
| REPL | laravel/tinkerphp artisan tinker3.2.0psy/psyshThe REPL under Tinker0.12.24 | github.com/x-motemen/goreGo REPL0.7.0 | evcxr_replRust REPL and Jupyter kernel0.23.0 |
Laravel ecosystem, mapped
The closest built-in or library for each first-party Laravel product.
| Laravel | Laravel Go | Laravel Rust |
|---|---|---|
| EloquentORM | Built-in models: model.Query[models.Post](), model.Find, model.Create, relationships via struct tagsLibrary: gorm, ent, sqlc | Built-in #[model] structs: Post::query(), Post::find_or_fail(id), create!(Post { … })Crate: sea-orm, diesel, sqlx |
| BladeTemplates | Views on Go's html/template in resources/views via web.View("posts.index", data)Library: templ | Jinja-syntax views (MiniJinja) via view("posts.index", data! { … })Crate: tera, askama, maud |
| ArtisanCLI & generators | laravel CLI runs your binary's commands; generators: make:command, make:job, make:migrationLibrary: cobra | laravel CLI; #[command] functions are auto-discovered; generator: make:migrationCrate: clap |
| TinkerREPL | Not built inLibrary: gore, or go.dev/play | Not built inCrate: evcxr |
| SanctumAPI tokens & SPA auth | Session auth built in; API tokens via a request guard you write (docs show a hashed-token guard)Library: golang-jwt/jwt, alexedwards/scs | Session auth built in; API tokens via a request guard you writeCrate: jsonwebtoken, axum-login |
| PassportOAuth2 server | Not built inLibrary: ory/fosite, or Ory Hydra as a service | Not built inCrate: oxide-auth, or an external IdP (Keycloak, Zitadel) |
| SocialiteSocial login | Built in: auth/social (Google, GitHub, Microsoft; add others)Library: markbates/goth, golang.org/x/oauth2 | Built in: laravel::auth::social (Google, GitHub, Microsoft; add others)Crate: oauth2 |
| Breeze / starter kitsAuth scaffolding | laravel new --go: Inertia + React + TypeScript + Tailwind, User model and session auth; login/register routes are yours to writeLibrary: No direct equivalent | laravel new --rust: same Inertia + React starter with User model and session authCrate: No direct equivalent |
| QueuesBackground jobs | Built in: database, Redis, SQS, Cloud queues; queue.Dispatch(r, job), laravel queue:workLibrary: asynq, river | Built in: #[job] + .dispatch().await?, database, Redis, SQS and Cloud queues; laravel queue:workCrate: apalis |
| HorizonQueue dashboard | Not built in (CLI only: queue:failed, queue:retry, queue:pause)Library: asynqmon (Asynq web UI), River UI | Not built in (CLI only: queue:failed, queue:retry)Crate: No common equivalent |
| Task schedulingCron | Built in: s.Command(…).Daily() in a Schedule func; schedule:run, schedule:workLibrary: robfig/cron, gocron | Built in: #[schedule::tasks] fn, schedule.call(f).daily(); schedule:run, schedule:workCrate: tokio-cron-scheduler |
| TelescopeRequest & query inspector | Not built in; built-in OpenTelemetry tracing of requests, queries and jobsLibrary: OpenTelemetry + Jaeger, net/http/pprof | Not built in; built-in OpenTelemetry tracing of requests, queries and jobs (opentelemetry crate feature)Crate: tracing + tokio-console |
| PulseProduction metrics | Not built in; export OTLP traces to Sentry or GrafanaLibrary: Prometheus client_golang + Grafana | Not built in; export OTLP traces to Sentry or GrafanaCrate: metrics / prometheus crates + Grafana |
| OctaneLong-running server | Not needed: the app is a long-running net/http serverLibrary: Built in (net/http) | Not needed: a compiled Axum + Tokio serverCrate: Built in (hyper/axum) |
| Reverb / BroadcastingWebSockets | Built in: broadcasting to Reverb with Echo; laravel reverb:start locally, managed Reverb on CloudLibrary: coder/websocket, gorilla/websocket, Centrifugo | Built in: broadcasting to Reverb; enable the reverb crate feature, then laravel reverb:startCrate: axum ws, socketioxide |
| PennantFeature flags | Built in: feature package; feature:purgeLibrary: OpenFeature go-sdk, Unleash client | Built in: feature flags as Rust functions; feature:purgeCrate: open-feature, unleash-api-client |
| NotificationsMail, SMS, Slack | Built in: notifications over mail, SMS, Slack and package channelsLibrary: nikoksr/notify | Built in: notifications over mail, SMS, Slack and package channelsCrate: No common equivalent |
| ScoutFull-text search | Built in: search package; database, Meilisearch, Typesense or Turbopuffer engines; search:importLibrary: meilisearch-go, typesense client, bleve | Built in: Post::search("rust"); same engines; search:importCrate: meilisearch-sdk, tantivy |
| CashierSubscription billing | Not built inLibrary: stripe-go | Not built inCrate: async-stripe |
| Mail / MailablesEmail | Built in: mail.To(user).Queue(r, mails.OrderShipped{…})Library: wneessen/go-mail | Built in: mail::to(&user).queue(Welcome).await?Crate: lettre |
| StorageFiles & S3 | Built in: storage.Put(r, path, bytes), local and S3-compatible disksLibrary: gocloud.dev/blob | Built in: storage::put(path, bytes).await?; S3 via the s3 featureCrate: object_store, opendal |
| LivewireReactive server UI | Not built in; Inertia is the default UI stackLibrary: templ + htmx | Not built in; Inertia is the default, views work with htmxCrate: Leptos, or askama + htmx |
| InertiaSPA bridge | Built in and the default: inertia.Render("Posts/Index", inertia.Props{…})Library: gonertia (community) | Built in and the default: inertia::render(…)Crate: axum-inertia (community) |
| Filament / NovaAdmin panels | Not built inLibrary: No mature equivalent; teams build with templ/htmx or a JS admin | Not built inCrate: No mature equivalent |
| PintFormatter | gofmt (toolchain)Library: gofmt, gofumpt | rustfmt (cargo fmt)Crate: rustfmt |
| Larastan / PHPStanStatic analysis | Compiler + go vetLibrary: staticcheck, golangci-lint | Compiler + cargo clippyCrate: clippy |
| Pest / PHPUnitTesting | Built in: laraveltest HTTP client on go test, RefreshDatabase, fakesLibrary: go test, testify | Built in: #[laravel::test] with app.get("/").await.assert_ok(), refresh_databaseCrate: cargo test, insta, nextest |
| DuskBrowser tests | Not built inLibrary: chromedp, go-rod, playwright-go | Not built inCrate: fantoccini, thirtyfour |
| Sail / HerdLocal environment | laravel dev runs server, queue worker and Vite, rebuilding on saveLibrary: air for reloads | laravel dev runs server, queue worker and Vite, rebuilding on saveCrate: rustup, bacon |
| Forge / Cloud / VaporHosting | Laravel Cloud (documented), or go build -o app . and run the binary anywhereLibrary: goreleaser, Docker | Laravel Cloud (documented), or cargo build --release and run the binary anywhereCrate: Shuttle, Fly.io, Docker |
| EnvoyDeploy scripts | Not built inLibrary: Taskfile, Mage, Ansible | Not built inCrate: just, cargo-make |
No packages match that filter.