switchon@lavalamp.biz
+27(0) 83 419 4851 / +27(0) 21 036 1165
Application & software development
Get A Quote

    • Home
    • Services
      • Application & software development
      • Outsourced software development
      • Project based resourcing
      • Digital marketing & consulting
      • Graphic design & consulting
      • UI / UX design & consulting
      • Recruitment services
      • Lease an expert
    • About
      • How we work
      • NBConsult Group
      • Partners
      • Lightbox Digital
    • Blog
    • Join us
    • Contact

    • Home
    • Services
      • Application & software development
      • Outsourced software development
      • Project based resourcing
      • Digital marketing & consulting
      • Graphic design & consulting
      • UI / UX design & consulting
      • Recruitment services
      • Lease an expert
    • About
      • How we work
      • NBConsult Group
      • Partners
      • Lightbox Digital
    • Blog
    • Join us
    • Contact

    • Home
    • Services
      • Application & software development
      • Outsourced software development
      • Project based resourcing
      • Digital marketing & consulting
      • Graphic design & consulting
      • UI / UX design & consulting
      • Recruitment services
      • Lease an expert
    • About
      • How we work
      • NBConsult Group
      • Partners
      • Lightbox Digital
    • Blog
    • Join us
    • Contact

    • Home
    • Services
      • Application & software development
      • Outsourced software development
      • Project based resourcing
      • Digital marketing & consulting
      • Graphic design & consulting
      • UI / UX design & consulting
      • Recruitment services
      • Lease an expert
    • About
      • How we work
      • NBConsult Group
      • Partners
      • Lightbox Digital
    • Blog
    • Join us
    • Contact
    migration scripts
    Migration Scripts
    Mar 22, 2023
    clean code
    The Beauty Of Writing Clean Code: Why Refactoring And Optimising Is Essential
    Apr 3, 2023

    Hello, Laravel 10: An Overview Of The Framework’s 2023 Release

    laravel 10
    laravel 10

    Introduction


    Laravel is one of the most popular and widely used PHP web frameworks, known for its elegant, and expressive syntax, with a robust set of out of the box features. With each new release, Laravel expands its features and make further improvements, making it a great choice for developers looking to build modern web applications. Laravel 10 is the latest major release of the framework, and it comes with some significant changes.



    PHP 8.1.0 Required


    One of the most significant changes in Laravel 10 is that it now requires PHP 8.1.0 or greater. This means that if you're still using an older version of PHP, you'll need to upgrade before upgrading to Laravel 10.



    Composer 2.2.0 Required


    Laravel 10 now requires a minimum Composer version of 2.2.0 in addition to requiring PHP 8.1.0 or above. This ensures that you're using the latest version of Composer, which provides better performance and stability.



    Native Type Declarations in Laravel 10 Skeleton


    Laravel 10 includes native type declarations in the application skeleton code. This means that any code generated by the framework will have type-hints and return types. This can make the code more readable and easier to maintain, and it brings the latest PHP type-hinting features to the Laravel framework without breaking backward compatibility at the framework level.



    Invocable Validation Rules are the Default


    From Laravel 10, when you create a new validation rule via artisan, it will be an invocable rule by default. This is to simplify the validation code and make it easier to read and maintain.



    Process Layer for Laravel


    The Laravel Process service brings the Laravel developer experience to running CLI processes. It includes rich features out of the box, such as fluent process methods to build a process instance before running it, process output handling as it is received, asynchronous processes, process pools, rich testing features via the fake() function, and preventing stray processes during tests.



    Profile Option for Tests


    A new feature coming to Laravel 10 is a --profile option that will make it easy for you to identifying any slow tests in your application. This can help keep your tests fast and help you either fix the slow tests or to better group them to make it easier not to run them all the time.



    Laravel Pennant


    The Laravel team has introduced a package called "Laravel Pennant" with the release of Laravel 10, which offers feature flags for applications. Feature flags, also known as feature toggles, allow for gradual feature roll-outs, A/B testing of new features or UI modifications, aligns well with Continuous Deployment work-flows, and the ability to disable features in the event of an incident.



    New String Password Helper


    Laravel 10 includes a new String Password helper, which can generate a secure, random password of a given length. The password will consist of a combination of letters, numbers, symbols, and spaces, and by default, passwords are 32 characters long.



    Upgrading to Laravel 10


    If you're upgrading to Laravel 10, you'll need to update your dependencies, including Laravel framework ^10.0, Sanctum to ^3.2, DBAL to ^3.0, Ignition to ^2.0, and Passport to ^3.2. If you have to Sanctum 3.x from the 2.x release series, you should consult the Sanctum upgrade guide. Additionally, if you wish to use PHPUnit 10, you should delete the processUncoveredFiles attribute from the coverage section in your phpunit.xml configuration file.


    Laravel 10 is a significant release that brings exciting new features and improvements to the framework

    Contact us


      Related posts:

      rules for ux designersRules For UX Designers 7 design principles for web design7 Design Principles For Web Design dynamic doughnut graph using laravel vue componentDynamic Doughnut Graph Using Laravel Vue Component what's new in vueWhat’s New In Vue
      Share
      0
      Pieter van der Meijden
      Pieter van der Meijden

      Leave a Reply Cancel reply

      Your email address will not be published. Required fields are marked *

      Lava Lamp Lab


      Like technology, a lava lamp constantly changes form, producing new conditions with every passing moment



      lava lamp lab facebook   lava lamp lab twitter   lava lamp lab linkedin   lava lamp lab instgram

      Services


      Application & software development

      Outsourced software development

      Project based resourcing

      Digital marketing & consulting

      Graphic design & consulting

      UI / UX design & consulting

      Contact Us


      +27(0) 83 419 4851

      +27(0) 21 036 1165

      +61(0) 42 420 8911


      switchon@lavalamp.biz


      Unit 1 Monaco Square,
      14 Church Street,
      Durbanville,
      Cape Town, 7550

      NBConsult Group


      nbconsult
      designer needed
      © 2023 Lava Lamp Lab (Pty) Ltd | All Rights Reserved | Privacy Policy
      Contact us now

        Application & software development

          Outsourced software development

            Project based resourcing

              Digital marketing & consulting

                Graphic design & consulting

                  UI/UX design & consulting

                    Lease an expert

                      Recruitment services

                        We are using cookies to give you the best experience on our website.

                        You can find out more about which cookies we are using or switch them off in settings.

                        Lava Lamp Lab
                        Powered by  GDPR Cookie Compliance
                        Privacy Overview

                        This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

                        Strictly Necessary Cookies

                        Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.

                        If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.

                        3rd Party Cookies

                        This website uses Google Analytics to collect anonymous information such as the number of visitors to the site, and the most popular pages.

                        Keeping this cookie enabled helps us to improve our website.

                        Please enable Strictly Necessary Cookies first so that we can save your preferences!

                        Cookie Policy

                        More information about our Cookie Policy