🥳 Today marks 10 years of Laravel! 🥳
Thanks for all the good memories! Laravel wouldn't be where it is today without every single one of you. ❤️
Ready to crush another 10 years. 💪
In the last 5 years I’ve sold $10,000,000 worth of software from a small town in Arkansas. This Friday on the Laravel Snippet I’m going to start a mini-series where I share thoughts on building products, marketing, motivation, building an audience, and more. Tune in! 🏄♂️
Introducing Laravel Pulse. 💓
Pulse delivers at-a-glance insights into your production application's performance and usage. Track down slow jobs and endpoints, find your most active users, and more.
Next week on GitHub. A gift from Laravel to you.
Next week a method requested for *years* lands in Laravel.
The "toRawSql" method gives you the raw SQL of a query with all bindings substituted. 🔥 Just copy and paste the query into a DB app.
*Not* as easy as it sounds and is result of a lot of hard work by
@tobias_petry
. ❤️
With Vapor, I want people to be proud of PHP. This is the first serverless platform for any language with this feature set (assets, databases, cache, queues, mail) all integrated into one cohesive picture. Trying to do my part to make the next 25 years of PHP glorious 🔥
🎉 We are proud to announce the release of Laravel 10!
Laravel 10 is packed with new and improved features, including:
✔️ Types for the application skeleton and starter kits.
✔️ The Process facade — process management with wonderful DX.
✔️ Laravel …
Laravel 11 is now available. ❤️
Laravel Reverb is now available. 📡
I love this release. Beautiful simplicity is back. Thank you for all of your support and we hope you use Laravel to build amazing applications. We can't wait to see what you do.
Rarely make political statements online. I have a worldwide audience and my American political views simply aren’t relevant for many of my followers.
However, I feel compelled to state that Donald Trump is morally, spiritually, and intellectually bankrupt.
I said I wanted to write five open source packages in 2020. The first one will likely release into beta in January. Laravel Airlock is a minimal authentication package for SPAs + basic personal access / API tokens. 🌠
We've just launched a new page giving you all the details on why we believe Laravel makes for a radically productive full-stack framework that pairs perfectly with the front-end you already love. ❤️
One of my Laravel ✨ best practices ✨ is only using the 7 "restful" methods in my controllers.
Controllers only have: index, show, create, store, edit, update, delete.
Think you need another method? You really need another controller. Built *all* of Vapor like this.
Sometimes you may have a complicated route group where only one route in the group doesn't need a given middleware. In tomorrow's release you can use a new "withoutMiddleware" method to remove the middleware from a specific route... 🤙
Laravel's CLI is now absolutely gorgeous thanks to
@jessarchercodes
work on Laravel Prompts.
Available today in the latest Laravel release. ❤️
We've also released a new major version of the Laravel installer with Laravel Prompts integration.
Auto-complete, drop downs,…
Thank you to everyone that supports Laravel development through Forge, Vapor, etc.
Laravel *would not* exist in its current form without your support. ❤️ Your support on those products is the only thing that allows me to continue to build this ecosystem full time.
The key to the success of the Laravel framework has been the continual stream of talented people that build cool stuff for it - or write books - or write blog posts - or do other awesome things for the ecosystem. ❤️
I’ve had to say this before and I’ll say it again. Laravel is for fun, positive people who want to do amazing things. 🔥
If you’re type to complain a lot on Twitter, especially about little open source contests, you are in the wrong ecosystem. 😅
Laravel Forever. ❤️
Every time a kid flags me down in the Lambo and asks me what I do for work I tell them I code in PHP the greatest programming language of all time 😂
That car has done so much PHP evangelism
Two weeks ago we launched Laravel Bootcamp, a "quick start" tutorial that walks you through building a Laravel application with Inertia powered Vue or React.
Today we're launching the Blade edition! 🔪
Thanks
@jessarchercodes
!
What better way to head into the weekend than with a beta release of Laravel Pulse? 💗
The first beta has been tagged and is now available on GitHub! We hope you love it.
Full documenation available on the Laravel website:
Introducing Context for Laravel. 📝
Add contextual data to the current request and it will be included in all log entires written by that request.
But, what's magical (in the best way) is that contextual data is also retained by any queued jobs dispatched by that request,…
Still thinking I will probably move the "lang" directory to the top level in Laravel 9. Leaving "resources" to be purely frontend stuff.
You can already do this in L8. It will look for the lang directory in both the "resources" directory and at the top level. Same in L9. 👍
I thought I could never use anything other than Bootstrap because I wasn’t smart enough for Tailwind. Turns out I’m actually not smart enough for Bootstrap and Tailwind is much simpler. Was an important realization. 🔑
Have a good idea of what I want to do this fall / winter … 😇 also: all educational materials (books or videos) or tools I make now until end of 2020 will be totally free and open source. 🥳
Alright. I have written a Laravel authentication ecosystem overview. This gives a high-level overview of all of Laravel's authentication features, their purpose, and when to use what. Please give it a read if you have time ❤️
It's come up a few times lately so I want to clarify something regarding Livewire "vs." Inertia - and a few things about Inertia in general.
Comparing Livewire to Inertia doesn't make sense. You should compare Livewire to Vue or React.
Why? Inertia isn't a frontend framework.…
Felt this every year since 2011.
Good to remember PHP was “not cool” even with I released Laravel back then.
Rails was cooler. Then Go. Then JS. Then Rust.
You keep grinding. I still 100% believe Laravel is years ahead of anything else in terms of full stack productivity. 🤷♂️
A few small treats in this week's Laravel release.
First, a new "use" Blade directive for quickly importing a PHP class into a Blade template without using raw PHP tags. 🔥
Today we're pumped to announce that new Laravel projects use Vite to bundle frontend assets. Breeze and Jetstream have been updated as well. 🔥
Experience lightning fast Hot Module Replacement when using the new Breeze / Vite stack with Inertia Vue or React. ⚡
Laravel 10.x (release in Feb 2023) will add type-hints and return types to all application skeleton methods. ✅
Property types are not being added due to that being a breaking change.
Yesterday we lost my Dad to complications of long-term alcoholism. He had some amazing traits but couldn’t shake this disease. Hopefully I’ll carry on the best ones.
Super pumped to announce some new additions to the Laravel team. 🔥
Tom Crary - COO
Andre Valentin -
@theandreval
- Director of Engineering
Chris Fidao -
@fideloper
- Infrastructure Engineer
Mohamed Said -
@themsaid
- Engineer + Infrastructure Support
Alyssa Mazzina -…
Surprise package release. When? Now! Laravel Breeze. If Jetstream overwhelmed you and you need something simpler for now. Blade + Tailwind only. Every route and controller exported directly to your application. Same beautiful Jetstream style UI. 🌴🌊🌴
When I start a new project I tackle the hardest features first. The features that I'm scared I may not be able to solve.
If the project is going to fail, I want it to fail fast. I would rather the project fail in the first week vs. fail three months from now. Time saved. ⌛
Been working on a fun, semi-social application I think people will enjoy.
The cool part is, if I finish it to my satisfaction, I plan to host the canonical version of it and also **open source the entire application** for your review and enjoyment. 😎
I try not to bash any tech or trends in tech (remote nomads, web3, serverless, DDD, new databases, new frontends)…
Goal is to see all living an amazing life fulfilled by what their doing and enjoying the tools they use to make it happen.
Soon we’re dead so for now I vibe. 🏄♂️
Sending peace and love to my brothers and sisters in Nigeria. I don’t know a lot about your situation but pray for your health, happiness, safety, and prosperity and thank you for the love you’ve shown me over the years. ☮️
We've integrated the code behind
@staudenmeir
's "eager load limit" package into Laravel 11.
That means in Laravel 11 this will actually work... retrieving users while eager loading only 5 posts per user... ❤️
Thanks
@staudenmeir
!
Announcing FrankenPHP support in Laravel Octane! 🚀
FrankenPHP is a modern PHP application server that supports early hints, automatic SSL certificate management, and more. And, when paired with Octane, it's really, really fast. 😏
Enjoy! 🫡
One thing I forgot to mention on this podcast. Only *you* can define what is "successful". Some people are only happy if they launch a Silicon Valley unicorn. Some people just want an extra $2,000 a month padding their income. Define success for yourself and go after it. ❤️
🚢 Today's Laravel 8.80.0 release includes support for defining a common group controller once for a route group, then only providing the methods to the route definitions.
Thanks
@LukeDowning19
!
I’m always so confused when some people say “Laravel makes you code the Laravel way”. No framework makes you code any certain way. Once you hit a controller or a route, the rest of the code is code you chose to write in any style you want using any components you want. ✌️
The Laravel ecosystem seems to have way better vibes than a lot of other ecosystems right now. Thankful. ❤️
And hope the other ecosystems find peaceful times ahead. 💪
💅 Something that has bugged me for a bit in Laravel is the incredibly verbose syntax of defining incrementing primary keys and foreign keys after switching to the "big integer" default...
So, I've built some new, cleaner syntax that will ship in the next major release.
Phew - the Laravel documentation was pretty good before but I'm trying to take it to a whole new level of polish. Going well so far. Lots of improvements. 🔥
We kicked off a new 5 week work cycle at
@laravelphp
today. I’m personally focusing on onboarding experience of Laravel. Web dev has gotten complex - must make sure we don’t leave people behind and Laravel is THE most accessible framework while remaining incredibly powerful. 👏
Working hard is key. Knowing *what* to actually work hard on is major key. 🔑
Working on trivial things can be procrastination when avoiding working on tougher, more valuable things.
Conversely, don’t get lost working hard on complex things when a simple solution has more ROI.
Today was a busy day but after a lot of work from
@driesvints
,
@GrahamJCampbell
, and myself we got Laravel 8 running on PHP 8 without any issues and all tests passing. 🥳
I have mentioned Laravel Cloud, an abandoned attempt to build a "Forge Pro", several times. This project was eventually replaced by Vapor. However, the entire backend was completely finished. I have opened the source here if anyone is interested:
I have it on my list to look into a "queue:pause" Artisan command that will pause a queue (after it finishes its current job) without having to put the whole application in maintenance mode. Can you "like" this tweet if you have ever actually needed this feature?
Today's Laravel release brings new "Number" helper methods, including methods to easily format monetary values, file sizes, and more.
Read more in the docs:
Initial benchmarks of "Hello World" request / response cycle for an application with 800 routes in Laravel 7.x + route:cache are *twice* as fast as Laravel 6.x + route:cache thanks to using
@symfony
's new more performant matcher. 🚀 Thanks to
@driesvints
for the work on this.
Laravel Precognition is ready to predict the future! 🧠
Easily add real-time validation to your JS + Inertia powered Laravel apps without duplicating your validation logic on the front-end.
If you're using Livewire this is already easy for you. 😛