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

jlrdw's avatar

I am also glad for php artisan preset none

Many smaller projects I don't use any of that. I write my own css and media queries for mobile friendly, and just use a small amount of jquery.

Most here will load millions of lines of libraries or packages where only 1000 or so is needed. They just use all out of the box.

I imagine many don't even or bothered looking at the php artisan preset none command.

My one cent.

1 like
cmdobueno's avatar

This thread is effectively useless. People complain about laravel coming with standard support for vue.

There is nothing wrong with vue, there is nothing wrong with angular, there is nothing wrong with ANY of the JS frameworks...

If you do not want them, its simple just run that magic command and boom you have nothing and life is "wonderful".

I find it funny the people complaining about other usings tons of libraries are the ones that ALWAYS suggest using different laravel packages to solve everything...

It is extremely funny. A waste of time and energy.

I mean, if thats the case... might as well just build in plain PHP... who needs a framework right?

hahahaha... useless.

ruudvangeelen's avatar

@cmdobueno you dont understand

Lets say you buy a new Windows laptop and you dont know anything about computers and programs. You quickly learn that 'antivirus' = mcaffee, and not anything else because you dont know anything else.

This is what is happening with vue in combination with laravel right now. New Laravel developers i met (ofcourse, not all of them) dont know anything else but vue, and that is a bad thing (my opinion).

cmdobueno's avatar

@ruudvangeelen

No you do not understand. If I buy windows, it comes with nothing...

You are missing a very key point...

Laravel != Windows

PHP == Windows

Laravel == Some Packaged Computer (EG Dell)

Additionally is it better they only know jQuery? An extremely floated javascript "helper". jQuery is sadly past its prime... it did well with what it did at its time... high level developers are over it. I can not explain how many are totally removing all usage of jQuery as soon as they can, either in favor of plain js or some other framework.

I will say it right now... hate all you want... but deep down you all know its true... jQuery is dying. Its not dead, and it will not just vanish... but I have had 0 use for jquery since moving over to a framework (I like vue personally).

Also, is it wrong to point somebody new down a specific path? Thats like saying here learn programming... and pointing a person to c++, or c#, or php, or java, or python... thats all that is happening. If "new" laravel developers do not read the documentation, where it clearly talks about the scaffolding... that is on them. It is not on anybody else.

1 like
rawilk's avatar

@ruudvangeelen

Really? It works when I do it. I apologize if I came off a little rude; that wasn't my intention. I just find it funny that three developers couldn't figure it out. And let's be honest, it's really not a big deal to see the production tip in the console during development. It goes away once you run npm through production anyways.

And by the way, I do agree with some of the others that the preset none should be default on new projects. I do use vue, but I don't use most of the other stuff that's included by default, which I end up removing anyways.

1 like
jlrdw's avatar

either in favor of plain js or some other framework.

But jQuery is plain JavaScript. That is in the background no different than laravel is plain PHP.

If you are using any JavaScript library including vue then you are using in the background plain JavaScript.

I cannot believe the confusion people have on this.

It's just the Frameworks and the libraries the authors have worked out many shortcuts in the background.

1 like
ruudvangeelen's avatar

@cmdobueno "jQuery is sadly past its prime" yeah right, your words

https://trends.builtwith.com/javascript/jQuery 87.000.000 websites. https://trends.builtwith.com/javascript/Vue 234.000 websites (158,557 of which are redirects).

Allthough easy to learn and with all its benefits, its a joke. Vue language is not javascript. Vue compiler compiles the Vue language to Javascript, like PHP generates HTML for the PHP script.

I did some research, i dont know if its really true; but Taylor Otwell decided on his own to make Vue the primary frontend framework for Laravel. Seems a bit weird not?

cmdobueno's avatar

@jlrdw yes i totally understand, never said it wasnt "plain" javascript. Maybe you are misunderstanding what people are saying. Eloquent is not plain mysql/pdo. It is wrapped and like anything if you wrap something it can be bloated. jQuery is bloated. jQuery is slower than vue (and most other js frameworks). You are only see what you want from what is being said.

@ruudvangeelen as I said, just because it is past its prime does not mean it is not still widely used. There are tons of sites built using php 5.4 (or lower), it is also past its prime.

Tons of websites use wordpress, again there are security issues they have clearly stated they will not fix in that system. It is just not possible for them to repair.

Additionally as I said, jQuery is fine, but there are better options now a days.

All this thread is, is people seeing and reading only what they want what others have said.

The fact is simple, if you dont want to use vue, dont. If you want to do something else do it. Its all in documentation of laravel. New devs are not forced to do anything... they just do not read the documentation.

jlrdw's avatar

they just do not read the documentation.

Now that I agree with, many newbies don't read the docs.. Of course many do learn the correct way, hurrah to them.

Cronix's avatar

@ruudvangeelen Pays "for" it, no, but they do contribute to the Vue project as they do other open source projects that they believe in.

Previous

Please or to participate in this conversation.