profile

Join my newsletter

What’s New in Laravel 10

Published about 1 year ago • 3 min read

What’s New in Laravel 10

Laravel 10 is the latest version of the popular PHP framework that was released in February 2023. It comes with several new features and improvements that make web development easier and more enjoyable. In this newsletter, we will highlight some of the most notable changes and additions in Laravel 10.

  • PHP 8.1 support: Laravel 10 fully supports PHP 8.1, which introduces new features such as enums, readonly properties, fibers, and more. Laravel 10 also leverages the native enums feature to provide a more elegant and expressive way of defining custom enum classes. You can use enums to represent various states, types, or options in your application logic.
  • Octane 2.0: Laravel Octane is a high-performance server that allows you to run your Laravel application using Swoole or RoadRunner. Octane 2.0 brings several improvements and enhancements, such as better compatibility with Laravel packages, automatic reloading of modified files, improved error handling, and more. Octane 2.0 also supports running multiple workers per CPU core, which can boost the performance and scalability of your application.
  • Pest integration: Pest is a testing framework that focuses on simplicity and elegance. It offers a minimal and intuitive syntax that makes writing tests a breeze. Laravel 10 integrates Pest as the default testing framework, replacing PHPUnit. You can still use PHPUnit if you prefer, but Pest offers some advantages such as faster execution, better error reporting, and native support for higher-order tests and expectations.
  • Sanctum 3.0: Laravel Sanctum is a package that provides a simple and secure way of authenticating your API and SPA (single-page application) users. Sanctum 3.0 introduces a new feature called device tokens, which allows you to issue long-lived tokens for specific devices or clients. This way, you can have more control and visibility over the devices that access your application. You can also revoke or refresh device tokens as needed.
  • Jetstream 4.0: Laravel Jetstream is a package that provides a starting point for building modern web applications with features such as authentication, team management, profile management, and more. Jetstream 4.0 adds support for two new front-end stacks: React and Vue 3. You can now choose between Livewire, Inertia, React, or Vue 3 as your front-end framework when creating a new Jetstream project.

These are just some of the new features and improvements that Laravel 10 offers. You can learn more about Laravel 10 by visiting the official documentation. Laravel 10 is a major upgrade that will make your web development experience even better.


113 Cherry St #92768, Seattle, WA 98104-2205
Unsubscribe · Preferences

Join my newsletter

✅ News and tutorials every other Monday ✅ Unsubscribe anytime ✅ No spam. Always free.

Read more from Join my newsletter

Issue #4 November 20th, 2023 ✉️ Creating an Image Slider with HTML, CSS, and JavaScript In this article, we are going to discuss how to build an image slider using HTML, CSS, and JavaScript. I will demonstrate two different ways to create the slider, one opacity based and the other transform based. 🚀 🎉 🚀 🎉 Creating an Image Slider with HTML, CSS, and JavaScript A Crush Course in DNS (Domain Name System) DNS is a crucial service that translates domain names into IP addresses, allowing users to...

6 months ago • 1 min read

✉️ Issue #3: 3 Different Ways to Center A Div in CSS When it comes to designing a webpage, one of the most common problems we face is how to center or align different elements. In this article, we will explore three different methods that could help you center an element using CSS. 🚀 🎉 🚀 🎉 3 Different Ways to Center A Div in CSS 📝 Articles of the Week 3 Different Ways to Center A Div in CSS When it comes to designing a webpage, one of the most common problems we face is how to center or align...

7 months ago • 2 min read

✉️ Issue #2: How to Optimize Your Website You’ve put weeks of hard work into building your website, and now it’s finally ready to go live! However, to ensure your website performs at its best, there are a few things you need to take care of. In this article, we will explore various ways to optimize your website for better user experience and faster loading times, which leads to higher search engine rankings. 🚀 🎉 🚀 🎉 How to Optimize Your Website 📝 Articles of the Week How to Optimize Your...

7 months ago • 1 min read
Share this post