Deploy Laravel 13 Blade MySQL [Aug 26]
Laravel 13 Blade starter with MySQL. One-click deploy on Railway.
laravel-blade-mysql
Just deployed
MySQL
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.
✨ 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
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
| Service | Description |
|---|---|
| Laravel 13 app | Blade starter served by FrankenPHP |
| MySQL | Managed 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_URLis set (falls back to SQLite for local dev). - Migrations: Run automatically on every deploy (idempotent).
- Healthcheck:
/uproute (registered inbootstrap/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:
- Simple, fast routing engine.
- Powerful dependency injection container.
- Multiple back-ends for session and cache storage.
- Expressive, intuitive database ORM.
- Database agnostic schema migrations.
- Robust background job processing.
- Real-time event broadcasting.
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
laravel-blade-mysql
marco-quintella/laravel-blade-mysqlMySQL
mysql:9MYSQLPORT
MYSQLUSER
MYSQL_URL
MYSQL_DATABASE
MYSQL_PUBLIC_URL
MYSQL_ROOT_PASSWORD