What’s New in Laravel 10


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 #2: Fundamentals of Web Development A web application consists of the frontend and the backend. The frontend is the part of the application that the users can see through their browser. For example, when you type a URL in your browser and hit Enter, you will receive a webpage. That webpage is the frontend, created with HTML (Hypertext Markup Language) and CSS (Cascading Style Sheet). HTML defines the content and information displayed on the webpage, and CSS controls the appearance...

✉️ Issue #001: New JavaScript Course Published!! Hello Reader, We are thrilled to announce the launch of our brand-new web development course, hosted at TheDevSpace! This comprehensive course is designed to equip you with the skills and knowledge necessary to excel in the dynamic field of web development. Whether you're a beginner looking to start your coding journey or an experienced developer aiming to sharpen your skills, this course has something for everyone. 🚀 🎉 🚀 🎉 thedevspace.io 🚀...

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...