Skip to content

Parity Tracking

Larastvel aims for ~100% feature parity with Laravel. Below is a side-by-side comparison.

Laravel FeatureLarastvel EquivalentStatus
routes/web.phpsrc/routes/web.rs
routes/api.phpsrc/routes/api.rs
routes/console.phpCommand / ConsoleKernel / routes/console.rs
config/*.php (10 files)config/*.toml (per-section files)
.env.env
bootstrap/app.phpApplication / App builder
app/Providers/*ServiceProvider, EventServiceProvider, RouteServiceProvider
Artisan CLI (25+ commands)larastvel-cli — serve, route:list, key:generate, migrate, db:seed, make:*, queue:work, etc.
make:* generatorslarastvel make:* — model, controller, migration, seeder, policy, test, job, event, notification, rule, mail, command
app/Http/Controllers/#[controller] / #[derive(Resource)] macros
Eloquent ORMDbModel + SeaORM + ApiResource / JsonResource / ResourceCollection
Model Factories (Faker)ModelFactory, factory_create(), Faker helpers
Blade templatingTera + Blade directives (@auth/@csrf/@error/@guest/@method)
Migrationssrc/database/migrations/ + Migrator
php artisan migratelarastvel migrate
SeedersSeeder trait + DatabaseManager::seed
SessionSessionHandle / SessionLayer / flash / CSRF / encrypted cookies
AuthenticationJWT Auth + AuthenticatedUser extractor + auth_middleware
Password ResetPasswordResetBroker / tokens / throttle / expiry
Email VerificationEmailVerificationBroker / JWT tokens / VerifiedUser extractor
Authorization / GatesGate / Policy / require_ability middleware
Queue / JobsSync, InMemory, Database queues / worker / dispatch() / ShouldQueue
Notifications / Mail5 channels (Mail, Database, Broadcast, SMS, Webhook), Mailable, SMTP
File StorageFilesystem / LocalDisk / StorageManager
Events / ListenersEventService / dispatch() / listen() / fake()
Form Validation20 rules, ValidatedJson/ValidatedQuery extractors
PaginationPaginator<T> / PaginationParams / IntoResponse
Rate LimitingRateLimiter / RateLimiterRegistry / middleware
Encryption / HashingAES-256-GCM Encrypter / bcrypt hash::make() / hash::check()
BroadcastingPusher / Ably / Log / Native (WebSocket)
CacheCacheManager / Array / File / Database stores / remember()
LocalizationTranslator / __() / trans_choice() / pluralization / JSON files
TestingTestClient / TestResponse / RefreshDatabase
Task SchedulingSchedule / ScheduleManager / cron parser

All features are fully implemented.

Released under the MIT License.