Railway

Deploy Laravel 13 Blade MySQL [Aug 26]

Laravel 13 Blade starter with MySQL. One-click deploy on Railway.

Deploy Laravel 13 Blade MySQL [Aug 26]

Just deployed

MySQL

mysql:9

Just deployed

/var/lib/mysql


title: Laravel 13 Blade MySQL Starter description: Laravel 13 blade starter with MySQL — deploy in one click on Railway. Zero-config, migrations on deploy, FrankenPHP. tags:

  • php
  • laravel 13
  • blade
  • mysql

Laravel 13 Blade MySQL Starter

Laravel 13 + Blade + MySQL — a clean, production-ready Laravel starter that deploys on Railway in one click. No configuration needed: the MySQL database is provisioned automatically and migrations run on every deploy.

Deploy on Railway

✨ Why use this template?

  • 🚀 Laravel 13 — the latest stable release, running on PHP 8.4+ with FrankenPHP
  • 🎨 Blade + Tailwind CSS 4 + Vite — modern frontend tooling, no build step to configure
  • 🗄️ MySQL included — Railway provisions the database automatically and injects the connection string (DB_URL)
  • ⚙️ Zero-config deploy — database migrations run automatically on every deploy via Railpack
  • 🛡️ Secure defaults — healthcheck at /up, restart policy, and logs to stdout
  • 📦 Minimal — just the skeleton you need to start building your app

Deploy and Host

Deploy on Railway

Click the button above to deploy this template on Railway. Railway will provision a MySQL database, connect it to your app, run the migrations, and give you a public URL — in about 2 minutes.

What you get

ServiceDescription
Laravel 13 appBlade starter served by FrankenPHP
MySQLManaged database, auto-connected via DB_URL

🚀 Local Development

cp .env.example .env
composer install
npm install
npm run build
php artisan serve

📝 Notes

  • Database: Laravel auto-selects MySQL when DB_URL is set (falls back to SQLite for local dev).
  • Migrations: Run automatically on every deploy (idempotent).
  • Healthcheck: /up route (registered in bootstrap/app.php).
  • Logging: Logs go to stdout, viewable via railway logs.

About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:

Laravel is accessible, powerful, and provides tools required for large, robust applications.

Learning Laravel

Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.

You may also try the Laravel Bootcamp, where you will be guided through building a modern Laravel application from scratch.

If you don't feel like reading, Laracasts can help. Laracasts contains thousands of video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.


Template Content

MySQL

mysql:9

More templates in this category

View Template
NEW
Paperless-ngx
Document management with OCR on Railway with PostgreSQL and Redis

INAPP
1
View Template
open-excalidraw
Self-hostable collaborative drawing built on Excalidraw

Prateek Mohanty
1
View Template
caring-vibrancy
Deploy and Host caring-vibrancy with Railway

5