Support the ongoing development of Laravel.io →
Installation Configuration

Hi! I was wondering if there's a minimal template for a Laravel site? The default Laravel installation comes with a whole heap of things I don't need, like config files for things I'm not using (eg. broadcasting.php) as well as controllers that I don't need (login, registration, etc) and JavaScript libraries I don't use (Vue, jQuery). All I want is a barebones Laravel site with as few files as possible. I know that I can just delete the stuff I'm not using, but it's tedious to do that every time. Is there a barebones/minimal Laravel site template that I could use instead?

Last updated 2 years ago.
0

In Laravel 5.5 there will be an artisan command for preseting the frontend framework stuff. If you use

php artisan preset none

you won't have that vue/react stuff in your application. For more information please see the Laravel Documentation.

And for the Controller+View stuff I suggest to simply delete the files. ;-)

0

You could strip everything out to make your own barebones repo and clone that when you're creating a new app.

0

You could strip everything out to make your own barebones repo and clone that when you're creating a new app.

I think that's what I'll do. I was just wondering whether anyone else had already done this.

Thanks!

0

Or better yet, you can simply go with Lumen: https://lumen.laravel.com/

It's still Laravel but purposely designed to be very minimal. Thus called a micro-framework

Last updated 7 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Daniel15 daniel15 Joined 19 May 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.