Best of PHPJune 2023

  1. 1
    Article
    Avatar of medium_jsMedium·3y

    20 PHP Features You Should Know in 2023

    PHP is always evolving, and it's important to stay up-to-date with the latest features and improvements. This article introduces 20 PHP features you should know as of 2023, each illustrated with a handy code example. PHP 8 introduces two JIT compilation engines, Tracing JIT and Function JIT.

  2. 2
    Article
    Avatar of communityCommunity Picks·3y

    Mastering Modern PHP: Top 18 Features to Elevate Your Code in 2023

    The Just-In-Time (JIT) compiler improves PHP’s performance by compiling parts of the code at runtime. Union Types: Allows specifying multiple types for a single variable or function parameter. Union Type System: Better type checking and support for mixed, static, and never types.

  3. 3
    Article
    Avatar of laravelbytesLaravel Bytes·3y

    FilamentPHP: a first look

    Filament has been built to be an admin panel, but I'll color outside of the lines and use Filament for the whole app. It'll have a model for every machine that's in your app, with a relation to a model that specifies where that machine is running. Filament v3 will support this idea even better.

  4. 4
    Article
    Avatar of planetscalePlanetScale·3y

    Build a library app with Laravel 10 and MySQL

    Laravel is arguably the most popular PHP framework available today. It provides tooling that enables developers to implement complex application features, such as authentication and rate limiting. The app will have two features: authentication and loan management. The loan management feature enables logged-in users to borrow and return as many books as possible.

  5. 5
    Article
    Avatar of lnLaravel News·3y

    Laravel 10.14 Released

    Laravel team released v10.14 with a new validation rule, define custom Gate denial response, global HTTP client middleware, HTTP client convenience methods, and more. The validation rule provides a way to authorize an ability for a given form field. This allows you to move some authorization logic from the controller and into the form request.

  6. 6
    Article
    Avatar of javacodegeeksJava Code Geeks·3y

    PHP Development in Internet Of Things

    PHP Development in Internet Of Things - Java Code Geeks - 2023 Internet of Things (IoT) is a concept that refers to the interconnection of everyday objects and devices to the internet. These objects can include a wide range of physical devices, sensors, appliances, vehicles, and more.

  7. 7
    Article
    Avatar of codemotionCodemotion·3y

    Laravel: Celebrating 12 Years of Powering PHP Development

    Laravel is an open-source PHP framework that has gained immense popularity among developers worldwide. It was created by Taylor Otwell, a software developer from the United States, and was first released in June 2011. Laravel empowers developers to quickly and securely implement user management functionality without needing to build it from scratch.

  8. 8
    Article
    Avatar of freecodecampfreeCodeCamp·3y

    How to Create a Simple HTML and PHP Form

    In the HTML world, the best tool for recording the answers to questions is the simple HTML form. In this guide, I'm going to show you how that's done using basic HTML and just a dash of PHP. The HTML you'll need to present a form is, in fact, pretty straightforward. But that'll only solve half of your problem.

  9. 9
    Article
    Avatar of lnLaravel News·3y

    Raw Query Output With Bindings is Coming to Laravel 10

    Raw Query Output With Bindings is coming to Laravel 10.13. This feature will be part of the next tagged release, which usually happens weekly. There is some prior art before, and there's a method you can use as well: The feature is nice, and gives you everything you need.

  10. 10
    Article
    Avatar of jetbrainsJetBrains·3y

    PHP Annotated – June 2023

    PHP is making a comeback in trends with its ‘just works’ reputation. The language has evolved, becoming faster, more secure, and enjoyable to use. The first alpha has been released, kicking off the PHP 8.3 release process. The final release is expected around November 23.

  11. 11
    Article
    Avatar of lnLaravel News·3y

    Add Strict Typing to Inline Variables in PHP With Strictus

    Strict Typing to Inline Variables in PHP With Strictus is a package that brings strict typing to inline variables for PHP. You can learn more about this package, get full installation instructions, and view the source code on GitHub.

  12. 12
    Article
    Avatar of honeybadgerHoneybadger·3y

    Memoization in PHP

    Memoization is an important optimization technique in software development. It involves boosting the performance of an application or software by caching the results. This ensures that the next time a function runs, it utilizes the cached information rather than running a fresh computation. When implemented accurately, memoization reduces the number of resources that an application consumes.

  13. 13
    Article
    Avatar of lnLaravel News·3y

    Generate Code in Laravel with Synth

    Synth uses the power of OpenAI's GPT language model to provide an interactive and intelligent development experience. This package works by starting the command, which then lets you interactively work with ChatGPT and run tasks. You can also create custom modules to extend Synth using the provided interface in the package.

  14. 14
    Article
    Avatar of lnLaravel News·3y

    Laravel Tailwind Merge

    Laravel Tailwind Merge is a package that automatically resolves Tailwind CSS class conflicts in Laravel. This allows you to merge multiple Tailwind classes and resolves conflicts. You can learn more about this package, get full installation instructions, and view the source code on GitHub.

  15. 15
    Article
    Avatar of tshThe Software House·3y

    High traffic web app optimization – stress testing, refactoring and more

    High traffic web app optimization - stress testing, refactoring and more. We’ve recently completed the optimization of a high-traffic app and we have achieved a total success with some interesting numbers to be shown. You’re going to learn how the app looked before the optimization effort started and how we measured its performance.

  16. 16
    Article
    Avatar of communityCommunity Picks·3y

    How 10 Engineers Deliver Exactly What the Browser Wants with Qwik

    How 10 Engineers Deliver Exactly What the Browser Wants with Qwik - by Tobias Zimmermann. How to find the right (meta-)framework for successful hiring. Getting started with React and using JavaScript for successful hires. How 10 engineers deliver exactly what the browser Wants and the project reasons for considering a switch.

  17. 17
    Article
    Avatar of lnLaravel News·3y

    Restore Database Backups in Laravel

    Restore Database Backups in Laravel. v1 should be tagged by mid June.

  18. 18
    Article
    Avatar of lnLaravel News·3y

    🔥 Define Casts in a Query

    Laravel allows you to define casts at the model level to handle casting values to their native types. You can use the method to define a cast at query time, giving you the power of complex queries yet still using casts. If you'd like to learn more about casts, check out Eloquent Attribute Casting and Elquent Custom Casts.

  19. 19
    Article
    Avatar of phplibPHP LibHunt·3y

    Awesome PHP Weekly - Issue 370, Jun 22, 2023

    Awesome PHP Weekly is a weekly overview of the most popular PHP news, articles and libraries. Use the Daily Discussion to help you understand today's featured news stories. Follow us on Twitter @phpLibHunt and @LibHunt for the latest news and articles.