Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Flex's avatar
Level 4

what is best css framework?

hello, I am working with new laravel project and I have two options for My css framework Bootstrap and Bulma. what is best css framework for me among Bootstrap and Bulma.

0 likes
10 replies
xmarks's avatar

Well now with V4, Bootstrap has come a long way.

Laravel also comes pre-configured for Bootstrap 3 and 4 - Which you can opt-out of course. But you will need to redesign some defined layouts, such as the Pagination for example, which comes with classes for Bootstrap.

Also, note that many Packages / Plugins, made for Laravel, sometimes work with Bootstrap in mind, such as https://github.com/yajra/laravel-datatables

On the other hand, I hear good things about Bulma. you will just have to work quite a bit using it.

I can also advise Tailwind CSS which I see a lot of Laravel Developers use: https://tailwindcss.com/

1 like
Flex's avatar
Level 4

@xmarks that means if i use bulma. may I can not use default laravel pagination?

mcangueiro's avatar

@Flex You can absolutely use Bulma with the default Laravel pagination. The only thing you would need to is customize the pagination view.

To do that you can do:

php artisan vendor:publish --tag=laravel-pagination

This command will create all the views for the pagination in your views folder.

You can also see this and more about the pagination if you visit: https://laravel.com/docs/5.6/pagination

1 like
jlrdw's avatar

The best is regular css and writing your own. It actually don't take very much css to style a page. A css framework is not necessary.

1 like
vincent15000's avatar

@jlrdw That's true. I would say that Bulma, Bootstrap, ... have their own styles of button, table, ... so writing its own CSS is a good idea. But TailwindCSS is also a good idea because it does not impose anything and the classes are already compatible with almost all navigators.

vincent15000's avatar

@tykus No ;) ... I just searched for infos about Buefy and Laravel and there was a link to this thread. Sorry I didn't want to disturb.

mkarnicki's avatar

"The best is regular css" - most even coolest companies are struggling with class bloat (up to tens of thousands, because they actually never get reused). This is where tailwind css comes in with utility classes - that can still be composed into classes, if you'd repeat yourself more than once. I highly recommend it.

1 like
martinbean's avatar

what is best css framework for me among Bootstrap and Bulma.

@Flex There is no “best”. Best is subjective.

Instead, pick the framework that you’re most familiar with and that you’re going to be the most productive with.

2 likes

Please or to participate in this conversation.