Best of LaravelNovember 2024

  1. 1
    Article
    Avatar of lnLaravel News·1y

    Solo for Laravel

    Solo for Laravel is a package that enhances local development by allowing multiple commands to be run simultaneously, each in its own terminal tab. It leverages Laravel Prompts to create innovative Text-based User Interfaces (TUIs). Installation involves requiring the package with Composer and installing the Solo Service Provider. Solo is customizable and supports both Light and Dark themes.

  2. 2
    Article
    Avatar of devtoDEV·1y

    PHP is a Single-Threaded Language, So How Does Laravel Handle Queue Jobs Asynchronously?

    PHP is a single-threaded language, but Laravel can handle queue jobs asynchronously using multiple workers. Each worker is a separate long-running PHP process that listens for and processes jobs from a queue backend like Redis or a database. Tools like Supervisor manage these workers in production, ensuring they run continuously. This design allows Laravel to handle tasks in parallel, improving performance and user experience.

  3. 3
    Article
    Avatar of communityCommunity Picks·1y

    Laravel Playground

    Laravel Playground is a web-based tool that allows users to try out PHP and Laravel straight from their browser. It provides access to all Laravel classes and many included Laravel packages. Users can also load their own Gists by appending the Gist ID to the URL. Example Use Cases include multiple views, form request validation, and using Livewire.

  4. 4
    Article
    Avatar of logrocketLogRocket·1y

    Building a real-time chat app using Laravel Reverb and Vue

    The guide covers building a real-time chat application using Laravel Reverb and Vue. It starts by setting up the development environment, including Laravel for the backend and Vue for the frontend. Key components like models, migrations, controllers, and frontend integration are implemented step-by-step. It also explains setting up WebSocket connections using Laravel Reverb for real-time message broadcasting and handling asynchronous tasks with Laravel's queue jobs.

  5. 5
    Article
    Avatar of lnLaravel News·1y

    Laravel Solr

    Laravel-Solr is a package developed by Haider Jabbar Abdullah to integrate Apache Solr with Laravel applications. It offers easy installation, comprehensive indexing and searching methods, and built-in support for common use cases. After setting it up, developers can create cores, define fields, add documents, and use the query builder for searching. Additional commands are available for updating and deleting cores and fields.

  6. 6
    Article
    Avatar of communityCommunity Picks·1y

    goravel/goravel: A Golang framework for web artisans. Tribute to Laravel.

    Goravel is a web application framework designed for Golang, offering a range of features and scalability similar to Laravel. It allows PHP developers to quickly adapt to Golang without learning a new framework. Key functionalities include routing, ORM, task scheduling, logging, caching, queues, and more. The project encourages contributions and is licensed under the MIT license.

  7. 7
    Article
    Avatar of communityCommunity Picks·1y

    Laravel Advanced Problem-Solving Quiz

    Challenge your Laravel development skills with an advanced quiz designed for senior developers and tech leads. This quiz covers crucial areas including performance optimization, scaling strategies, security best practices, and architectural patterns in enterprise Laravel applications.

  8. 8
    Article
    Avatar of communityCommunity Picks·1y

    Building Maintainable PHP Applications: Data Transfer Objects

    PHP developers often use arrays for handling data, but they fall short in complex scenarios due to lack of types and visibility. Data Transfer Objects (DTOs) offer a structured alternative, clearly defining data properties and their types, which improves code readability, maintainability, and IntelliSense support. DTOs are particularly useful when handling multiple data values, either from web requests, API responses, or other data sources.

  9. 9
    Article
    Avatar of communityCommunity Picks·1y

    Set Sail with your Laravel app on DigitalOcean

    LaraSail is a CLI tool that simplifies the process of deploying Laravel applications on DigitalOcean servers. It allows you to easily set up servers with various versions of PHP and databases like MySQL and MariaDB, as well as Redis. With commands for creating new projects, managing databases, and configuring Nginx, LaraSail helps streamline Laravel deployments. It supports creating new Laravel projects, adding Laravel Jetstream, and setting up web domains with SSL certificates.

  10. 10
    Article
    Avatar of lnLaravel News·1y

    Securing Laravel Applications with Stephen Rees-Carter

    Stephen Rees-Carter shares insights on Laravel security, covering topics such as security consulting, the significance of penetration testing, and common vulnerabilities in Laravel applications. Additional resources include his mailing list, a pentesting series, and a practical Laravel security course.

  11. 11
    Article
    Avatar of lnLaravel News·1y

    Efficient Large Dataset Handling in Laravel Using streamJson()

    When dealing with large datasets in Laravel applications, using the streamJson method enables incremental JSON data streaming, which improves performance and memory efficiency. This method is beneficial for progressively delivering large datasets to the client. The example provided demonstrates how to manage a large inventory dataset efficiently utilizing streamJson alongside eager loading and the cursor() method.

  12. 12
    Video
    Avatar of laraveldailyLaravel Daily·1y

    Laravel Sign In with QR Code using Livewire

    A comprehensive guide on implementing a QR code login system using Laravel and Livewire. The tutorial explains the typical use case for QR code logins, which involves logging in on a web application by scanning a QR code with a mobile device. The post delves into the database schema, models, and Livewire components used to create this feature, detailing each step from generating the QR code to verifying the login request and managing user sessions securely.

  13. 13
    Article
    Avatar of laravelLaravel·1y

    Vapor: PHP 8.4 Is Now Supported

    You can now deploy applications using PHP 8.4 on Vapor. Update the `vapor.yml` configuration file with the new runtime version. Docker runtimes can also use PHP 8.4 by updating the base image. Vapor supports Arm architecture for Docker runtimes. Laravel encourages users to try PHP 8.4 for a robust and developer-friendly experience.

  14. 14
    Article
    Avatar of lnLaravel News·1y

    Dynamic Cache, Database, and Mail Builders in Laravel 11.31

    Laravel 11.31 introduces several new features including dynamic cache, database, and mail builders, a cache token repository for password reset tokens, and a URL::forceHttps() method to enforce HTTPs. Additionally, features include backing enums for the onQueue() method, a method to remove deferred services, and appending/prepending middleware priorities. These updates aim to provide more flexibility and control to developers.

  15. 15
    Article
    Avatar of freekFREEK.DEV·1y

    Laravel Custom Query Builders Over Scopes

    Oh Dear is a comprehensive monitoring tool that checks website uptime, SSL certificates, broken links, and more. It offers a developer-friendly API, detailed documentation, and the ability to create a public status page in under a minute. The author also shares programming tips and tutorials, primarily focused on Laravel, via a monthly newsletter.

  16. 16
    Article
    Avatar of lnLaravel News·1y

    Build Your SaaS App in No Time with SaaSykit

    SaaSykit is a powerful Laravel-based SaaS starter kit designed to expedite the development of SaaS applications. It includes vital features such as payment integration, subscription management, user dashboards, and authentication, enabling developers to focus on building unique features. Boasting a wide array of tools and a special Black Friday discount, SaaSykit aims to simplify the SaaS development process.

  17. 17
    Article
    Avatar of freekFREEK.DEV·1y

    The magic behind Laravel's new defer() helper

    Oh Dear is an all-in-one monitoring tool for websites, offering features like uptime monitoring, SSL certificate checks, broken link detection, and scheduled task monitoring, with a user-friendly API and documentation. The post highlights the utility of Laravel’s new defer() helper and provides insight into the author's monthly newsletter, which includes programming tips, tricks, tutorials, and opinions with a focus on Laravel.

  18. 18
    Video
    Avatar of netninjaNet Ninja·1y

    Laravel for Beginners #6 - Components, Attributes & Props

    Learn how to create reusable components in Laravel Blade, including how to wrap content with components and reduce code duplication. The guide covers creating a card component and passing HTML attributes and custom props to components for dynamic content rendering.