Last night Taylor Otwell went on Youtube Live with an hour-long video called [Jetstream Discussion](https://www.youtube.com/watch?v=krn39HjxPTs) to, in his own words, "to get some things in the open that, I think, are misunderstandings". I decided to transcribe/summarize those answers into a readable Q&A - for those who don't want to spend an hour watching the video.
Also, I think Taylor needs to be heard, especially since [he's not on Reddit anymore](https://twitter.com/taylorotwell/status/1313239064485785608).
In total, 10 questions/topics on technical stuff, and 4 questions/topics about personal opinions and the community.
__Notice__: This article is not my opinion, it's just word-for-word what Taylor said. Opinions are welcomed in the comments, but please read the full thing, or, even better, watch the full video, to feel the context on Taylor's emotions when speaking.
- - - - - -
## Section 1. Technical questions.
__Question 1. Is Laravel/UI going away?__
Actually, internally, in Laravel company Slack, I already discussed that we would be maintaining that project __indefinitely__. We have to keep it working with Laravel 8, 9, 10, ... Just out of service for people who are already using it, which is thousands of people.
That was always the plan. But I guess the wording on the Readme where it said "it's not recommended to be used on new projects". That is actually still my stand that I don't personally recommend it, but it gave people impression that it's going away some time in the future.
We fixed that and [said that it's just a simple scaffolding](https://github.com/laravel/ui/commit/568126f2eb9eaa31293344788cf29d77f4b53ffa), and if you need something more robust, you should use Jetstream.
Also, in Laravel UI, the way Vue scaffolding is configured in Laravel UI, is already a stack that no one uses in production. Vue Router is not set up, there's no good story for the data hydration.
So, at this point, Laravel UI is gonna stay as it is, no plans to add more presets, convert to Tailwind or any of that stuff.
- - - - - -
__Question 2. Bootstrap vs Tailwind__
I actually find Bootstrap way harder to customize than Tailwind, at this point. We just had this problem in Envoyer the other day, doing something with Bootstrap in Envoyer was super painful.
Another irony of the whole thing is people are saying that Jetstream is too opinionated, but Tailwind is much less opinionated than Bootstrap.
But people are working on different things. For some people, that simple Bootstrap scaffolding is really helpful. And I can actually sympathize with that, just a couple of years ago I could only do Bootstrap, I could never do Tailwind at all.
- - - - - -
__Question 3. What if someone builds something INTO Jetstream? Like simple Blade?__
Simple Blade is not what I would use or build myself. That's the beauty of it, that you can build it, with Laravel Fortify. You can build it and release it. That is open-source.
If you build it INTO Jetstream, then I would have to maintain it. This is again, a big misconception: just because someone builds it, doesn't mean that I'm necessarily gonna merge it, because if I merge it, now I'm responsible for it. Now I take maintenance burden. We've had things in the past where someone would build something like that, contributed to the framework and told "I'll stick around to maintain it". It's no knock on them, but after a couple of years, sometimes they are not doing PHP at all anymore, they moved on to a differrent job, they write Python, Ruby or whatever else, so they're not around to maintain it, so it's all on me.
- - - - - -
__Question 4. About Livewire and Inertia__
I think there's a confusion about what Livewire and Inertia are. Livewire doesn't turn your whole application into Livewire application. Certain parts of your app can use Livewire, and the rest of it is just PHP and Blade views. So you can use Livewire on one form of the application, or a couple of forms.
For example, the login forms on Jetstream don't use Livewire, because it's not necessary on those forms.
On the Inertia side, I think people are making it bigger than it is. It's a pretty small library, in terms of what it does, all it really does is replace the Vue Router side of Vue so you can use server-side routing with Laravel Router, and then it replaces how you get data into your views. But that's really it. The rest of it is just writing Vue and Vue components.
I was actually very close to doing a Vue Router in Jetstream, instead of Inertia. But I just felt Inertia was so much better to work with, in a modern Laravel app. I still think non-Inertia Vue way would be nice, but it would be just too many front-ends to maintain.
I like both Livewire and Inertia. While building Jetstream, I was so torn which one to choose, that I just decided to include them both. It felt pretty risky, because I had to take on to maintain two sets of front-end, but I felt those are both great projects, made by Laravel community members.
- - - - - -
__Question 5. Jetstream has too much in it, compared to Laravel/UI__
I may change what is enabled by default ([and he did](https://twitter.com/taylorotwell/status/1313197062729666561)), I sort of agree that probably profile photo stuff and API stuff can be disabled out-of-the-box.
- - - - - -
__Question 6. Plain Blade stack for Jetstream would be pretty simple to make?__
It's not really simple as you would think. Mainly, because some of those interactions are just really nice with Livewire, like two-factor authentication, where we need to enable it, confirm the password, regenerate the recovery codes. And when you start turning it into just plain vanilla Blade and Bootstrap, and doing full page reloads with those interactions, it feels really junkie, it doesn't feel like a smooth user experience.
- - - - - -
__Question 7. Fortify's role in all of this?__
So here's the goal that always was there: for me, Fortify is sort of the interface, and Jetstream is the implementation. I knew not everyone would want to use Jetstream, that's why there are two separate packages, that's why Fortify exists, a headless authentication back-end, that you can build any front-end on top of. So if you want to build React front-end scaffolding for Laravel, you can use Fortify to power the back-end of that.
- - - - - -
__Question 8. Feels Jetstream has a lot of files, like button, modal, secondary button...__
Glad someone mentioned it. That's driven by Tailwind. When you're first making something with Tailwind and see this button element has fifteen classes on it, and the solution to that is to componentize all of those things.
That's why you have those things as a button blade component, or danger button and stuff like that. In this way, you don't have to repeat any of those Tailwind classes, it's sort of a DRY principle, we have a common button pattern and extract it into a Blade component, and then we don't have to write custom CSS at all. So in Bootstrap you would do class="btn btn-primary" and there's not much to really extract there, but with Tailwind it's a recommended approach to componentize things, that's why Jetstream has more files.
- - - - - -
__Question 9. What are Jetstream Actions and Why?__
Jetstream has two different front-ends. So one of the problems I had to solve was how do I not duplicate the back-end logic for both front-ends. And that's why Jetstream has this Actions, so I wouldn't have to write two different back-end as well.
Are they a Command Bus pattern? Not in a true Command Bus sense, I don't know what that pattern is, like a Service Class. To me, Action classes are just named functions, just one method that does particular thing, they are a good pattern in certain situations, where you want to encapsulate one little process and give it a name.
- - - - - -
__Question 10. What's wrong with the old Auth Controller-based scaffolding?__
I was never really a huge fan of customizing authentication by overriding various protected methods, so, in Fortify I tried to move a lot of that into configuration values. Example of that is where to redirect people after they login, and in old Auth that would be a property, or override method. Same with customizing logic, in the docs of Fortify we use Closures, but of course you can use invokable classes, and link that in Fortify Service Provider. Or use Events, like listen to Illuminate Auth Registered event, instead of overriding methods.
- - - - - -
## Section 2/2. Personal opinions and emotions.
__Question 11. Taylor is not listening to the community?__
From my perspective, I WAS listening to the community. A pretty big lesson learned: Twitter is really hard to cipher what people actually want. Leading up to Laravel 8, there were tons of people tweeting at me: we want Tailwind scaffolding, we want TALL stack, we really like Inertia etc. And that was all I heard.
Nobody said "We want more Bootstrap". It was all about Tailwind, Alpine, Inertia, Livewire. I really like Livewire and Inertia myself, I think they are the most productive ways to do front-end in Laravel.
There was a lot of talk about "community this" and "community that", but everyone wants to define their view as the community view, and that's not accurate. If you love Laravel Jetstream, you want to define the community as people who love Laravel Jetstream, and everyone else is complaining. If you love Laravel UI, you view the community as Laravel UI is what the community actually wants. Both of those views are really stupid, honestly. There's no homogenous Laravel community, it's used by hundreds of thousands of people.
For example, this whole Jetstream "uproar", you're talking about maybe 100 people involved, that's 0.1% of Laravel Twitter followers. So there is no homogenous Laravel community to say "this is what the community wants". So I just build what I think is best.
Another point - to involve community with surveys. The whole premise is wrong. So we would do a survey to tell people what to work on in their free time? It's wrong. I work on what I'm passionate about. I don't do a survey to tell me what to spend my open-source time on. To me, it just doesn't mae sense. [more on __commercial__ stuff later]
- - - - - - -
__Question 12. Taylor has "echo-chamber" of "yes-men"?__
It's been a little frustrating to see on Reddit people saying I have that "echo-chamber", a group of "yes-men" to encourage me in my ideas, and nothing could be further from the truth.
I didn't tell anyone about Jetstream, actually, not even Laravel employees, until it was really far along in development. It was just my idea. Jetstream was the answer to what would I use to build a Laravel app productively in 2020.
My friends, people who I'm friends with in Laravel, we don't really talk about Laravel, at all. With Adam Wathan we just play Rocket League. When people are tweeting at me, that's not me going out and seeking people to confirm my ideas.
About opinions. I'm not really bothered by people having opinions, I'm bothered by misinformation about how I work on things and why I work on things. I don't work on things because I live in an echo-chamber, that's not why I work on things.
- - - - - -
__Question 13. Important distinction between open-source and premium stuff?__
And all of the __open-source__ stuff that I build is just what I want to build, for my own personal fulfilment, something I'm passionate about.
I also happen to own businesses that were inspired by open-source products. When I build __commercial__ stuff, I build for our customers.
For example, I won't maintain Jetstream on Bootstrap, because I don't use Bootstrap. I would never maintain something I would never use.
- - - - - -
__Question 14. About constructive criticism__
I think when people provide criticism, it's important to be really specific. It's been a little frustrating, some people they don't like Jetstream or they think it's hard, but they don't give any specific thing that is actually hard. A specific thing that I could go into the code and actually improve right now.
For example, generic statement, "Jetstream feels bloated". There's no actionable takeaway from that, I can't go to the code and run some "de-bloater" or something, I need something more concrete.
And I actually got quite a lot of that, on the first week of Jetstream release.
I remember [Andrey Butov](https://twitter.com/andrey_butov) tweeted he didn't like Jetstream. I knew Andrey from years ago, so I just emailed him questioning what problems he had, so I could fix them. And he sent me back a nice email with bullet-pointed list, 4-5 things he didn't like, and they were all really valid, and I've put them into Jetstream the first week after release.
Another community member Steven made some posts on Twitter, so I DM'ed him saying "I'm gonna be working on Jetstream all week, can you tell me exactly what you didn't like about it". And he actually made a Github issue that was really detailed, and we were able to improve a lot of stuff. All customization section in Jetstream docs is totally inspired by Steven's criticisms.
So, if you have a problem with Jetstream, please share it as specifically as possible, particular classes or files. A lot of people say "I can't customize it". Well, what exactly are you customizing, what are you trying to do, what is your end goal? That is the key information.
12 thoughts on “Taylor Otwell: 14 Answers on Youtube – Jetstream, Laravel UI, his “yes-men” etc.”
I think Devs misunderstand I’m of Intertia is quite laughable. You can literally use any front end framework and any CSS.
It’s designed for those that are happy to tightly couple their front end and backend (SPA without being a separate application and using Laravel as the API).
Thanks for this. How the community – well, what I have seen on this subreddit – has responded to the latest publication has been really disappointing. I honestly don’t get it. I saw these latest updates as a really exciting opportunity to learn new skills and work with new tools. There wasn’t anything in this version which stopped my current workflow but instead it allowed me to easily branch into new areas (such as Interia).
I dont understand this whole up roar. Laravel has been slowly changing and morphing, patching in total random choas ever since it came out. This is the modern way. You just adapt, update all your out dated code and move on.
I didn’t get any of people responding on reddit, Twitter, etc. It’s like those people enjoy to complain and not understand the time and energy is put in to keeping Laravel good. I can fully understand Taylor blocking those people that are just a waste of energy in my opinion.
A part of the community should be ashamed of themselves, not everything drives around you and Taylor is free to do what he wants. If you don’t like it, fork, maintain it and don’t try new technology.
Thanks for sharing!
First reaction (at 7 minutes): Twitter isn’t the userbase and the userbase isn’t Twitter.
I *never* use Twitter unless someone tricks me into clicking a link.
Some of y’all would complain if Taylor sat down and wrote your side projects because he didn’t indent and name classes like you like to do.
Loving Laravel. Love Tailwind. Never been a fan of Bootstrap. I don’t understand everyone’s issues. It’s a super open framework from what I’ve seen. It’s sad people can’t stop complaining, especially when half of the services are *free!* Sheesh.
i wish someone had genuinely asked him about the terse responses they have been complaining about ie what taylor & co give on github issues or when contacting them via forge etc…
> Now I take maintenance burden.
That is what this is all about, and that’s why you pay for products to maintaining them over time. Sometimes the bucks are not there to bother with implementing something that you will have to maintain until the end of times, specially when upstream the maintainer decides to fuck you life up.
Thanks for doing this video. Here’s my attempt at voicing specific criticism.
I’ll be honest, it’s difficult to not feel frustrated. I used to LOVE Laravel. Now I feel scared and intimidated by it. It’s almost impossible to come at it fresh and understand the differences between Jetstream, Breeze, Fortify, UI and Sanctum. I literally don’t know where to begin.
I’ve only been using Laravel professionally for 5 years. Maybe that’s my fault.
I’ve heard people say. “It all makes sense if you know WHY these auth packages came into being. Taylor build UI to replace the new auth scaffolding after 5. Then he changed his mind and told people not to use it. So he created Jetstream to replace UI. That comes in two flavours: LiveWire and Inertia, depending on how you want to use SPA technology. What’s that? You don’t want SPA technology in your app? Oh well. Anyway, there was a backlash about the complexity of Jetstream. So he created Breeze to fix it. But he also added Fortify, a sort of headless version of the Auth scaffolding, but which is still very different to how Auth has been handled in the past (you’re now discouraged to overwrite methods with your own controllers). So there you go. Easy! Oh and there’s also Sanctum. And a new package called Sail coming soon. The end. Sort of.”
Sorry, I know Laravel is free software, and I’m grateful for it. It’s made my professional life so much easier, I’ve contributed to it, and I want to keep with it. But my life is getting more difficult because I’m using it. And that’s no fun.
The only solution is to use older versions of Laravel until this whole situation becomes more stable, and closer to what users actually **need**. Bear in mind: Only a tiny fraction of websites use SPA technology like Vue. And even less than that use TailWind.
And let’s talk about the controversial elephant in the room for the moment: When people say Jetstream is “too opinionated” they mean that things like TailWind, and feeling like SPA technology is being foisted upon them. Laravel has *always* been opinionated. It’s one of the things that made it easy to work in. That’s a good thing… but not when it comes to front-end libraries.
Now look, I would obviously never use Bootstrap in production, but the good thing about it in Laravel is how easy it is to strip out when you’re ready to style things. You may love TailWind, but your use of it necessitates a labyrinth of blade components to be created. And so it takes a developer AGES to strip out before they can being styling.
What percentage of professional users do you think are staying with your default (albeit lovely) Laravel styles in production? 0.1%? Our users and clients expect custom interfaces, not off-the-shelf ones.
You’re either expecting all new projects to a) keep your default styles, b) overwrite your TailWind styles (requiring the entire team to switch to TailWind, and the practical implications of this approach are still huge), or c) the slow painful process of stripping out all your TailWind styles and countless blade components by hand.
And this is the \*recommended\* path. The Jetstream (or Breeze) path. I don’t understand how this is *good* for developers.
Previously Laravel scaffolded perfectly usable Auth routes and controllers. The expected method of working was to use these and tailor them to your needs. They were solid, dependable, and mouldable. That was perfect. Now we’re being told, “just build your own auth routes and controllers if you don’t like Jetstream or Breeze” (at least that’s what comments here say).
That’s a fundamental shift in how developers are expected to use Laravel, and that’s really at the core of this upset.