DEV Community

Muhammad Dhiyaul Atha
Muhammad Dhiyaul Atha

Posted on

Skip the Boilerplate: Scaffold a Production-Ready Laravel Project in Seconds with Bangkah Starter Kit

Hello developers!

Setting up a robust, production-ready Laravel project often involves repeating the same steps: configuring Docker, setting up Nginx, integrating authentication, and prepping environment files. This process, while necessary, can be a major time sink.

That's why I built Bangkah - Laravel Starter Kit.
Bangkah is a CLI tool designed to eliminate this tedious boilerplate, allowing you to scaffold a fully-configured Laravel project instantly.

Why Bangkah? Solving the Setup Fatigue

Bangkah is more than just a composer create-project command. It packages the essential infrastructure needed for a modern application:

1. Zero-Config Docker Integration
Bangkah generates a complete, working docker-compose.yml file, including:

  • Nginx: Pre-configured to serve the application.
  • PHP-FPM: Running PHP 8.2+ with necessary extensions.
  • Database: Configured to use either MySQL or PostgreSQL (your choice during setup). This means you can go from cloning the starter kit to running the application locally with just one or two Docker commands.

2. Dual Application Templates
Bangkah recognizes that not every Laravel project is a monolith. It offers two distinct templates:

  • Web Application Template: Includes authentication scaffolding (Laravel Breeze or UI), frontend bundling setup (Vite ready), and standard web routes.
  • API Template: Designed for headless applications (SPAs, mobile backends). It comes pre-configured with CORS, API versioning ready, and robust rate limiting.

3. Optimized for Speed and Security

  • Multi-Stage Docker Builds: Ensures smaller, faster container images.
  • Composer Optimization: Speeds up dependency management.
  • Modern Frameworks: Ships ready with Tailwind/Bootstrap integration.

Get Your Project Up and Running
You can see the code, view the documentation, and start using Bangkah today.

Source Code on GitHub: https://github.com/Bangkah/bangkah-launcher

We Need Your Collaboration
Bangkah is 100% open source, and built for the community. If you are a Laravel developer, I encourage you to:

1. Try it out: See how much time you can save on your next project.
2. Give Feedback: Your suggestions on feature additions or improvements are invaluable.
3. Contribute: Fork the repo and submit a Pull Request.

Let's build a faster way to launch Laravel projects together!
Happy Coding!

Top comments (0)