Best of LaravelSeptember 2024

  1. 1
    Article
    Avatar of communityCommunity Picks·2y

    vitodeploy/vito: The Ultimate Server Management Tool

    Vito is a self-hosted web application designed to streamline server management and deployment of PHP applications into production. It offers features like server provisioning, database management, firewall management, custom and LetsEncrypt SSL support, SSH key deployment, cron job management, and leverages Supervisor for queue handling. Ideal for deploying Laravel and other PHP applications.

  2. 2
    Article
    Avatar of medium_jsMedium·2y

    The 7 Levels of Laravel Optimization: From Rookie to Optimization Overlord — with Benchmark — 98% reduction

    This post guides you through seven levels of optimizing Laravel applications, from basic eager loading to advanced techniques like lazy collections and chunking. It details each step with code examples and benchmarks, showing significant resource savings at each level.

  3. 3
    Article
    Avatar of lnLaravel News·2y

    Generate Entity-Relationship Diagrams with Laravel

    The Laravel ERD package allows for automatic generation of Entity-Relationship Diagrams from Laravel models with ease and provides visually appealing results. It offers advanced instructions for excluding tables and generating SVG files. While still under development, users can find installation and usage instructions on GitHub.

  4. 4
    Article
    Avatar of communityCommunity Picks·2y

    TallStackUI

    TallStackUI offers over 30 ready-to-use Blade components to enhance the workflow of Livewire applications. It features easy installation, unique customization options, and continuous updates to keep the library current. Developers can expect a range of components such as alerts, badges, modals, and more, all designed to save development time and effort.

  5. 5
    Article
    Avatar of communityCommunity Picks·2y

    Laravel & Tailwind CSS UI Component Library

    Build elegant and responsive user interfaces effortlessly with the Turbine UI library. With 34 customizable Laravel Blade and Tailwind CSS components, Turbine UI saves you time and reduces code complexity. The library includes themeable styles and flexible customization options, enabling you to create unique designs without the hassle of extensive coding.

  6. 6
    Article
    Avatar of lnLaravel News·2y

    Pinkary is now fully open source

    Pinkary, an application built with Laravel, Livewire, and Tailwind, is now fully open source. It serves as a landing page for links and a community hub. With over 400 pull requests, it encourages open-source contributions and uses Pest 3 for testing. The project has quickly garnered over a thousand users and utilizes a SQLite database for its data management. Visit pinkary-project/pinkary.com on GitHub to learn and contribute.

  7. 7
    Article
    Avatar of bytesdevBytes by ui.dev·2y

    I like rusty JavaScript

    Rspack has emerged as a high-performance JavaScript bundler written in Rust, promising to be a faster and compatible alternative to webpack. ByteDance developers initiated it to solve performance issues with large monolithic apps. With features like lazy compilation and improved plugin compatibility, Rspack aims to simplify build processes and boost efficiency. QA Wolf offers a solution for faster and more reliable software testing by automating the process and speeding up test cycles.

  8. 8
    Article
    Avatar of communityCommunity Picks·2y

    Load Images Faster in Laravel and JavaScript

    Speeding up image loading on your website is crucial for user experience and SEO. Techniques for optimizing image loading in Laravel and JavaScript include compressing image files, using Laravel’s image caching and manipulation tools, implementing lazy loading, leveraging CDNs, converting images to WebP format, and deferring offscreen images. These strategies help reduce bandwidth usage and loading times, leading to improved overall website performance.

  9. 9
    Article
    Avatar of lnLaravel News·2y

    A Deep Dive into Sessions in Laravel

    Sessions in Laravel are crucial for persisting data across multiple requests, such as user authentication status and temporary data. Laravel offers various session drivers like cookies, databases, and cache stores. This post explores common pitfalls, such as typos in session keys, session key clashes, and unknown data types. It suggests using session classes for better session management, incorporating methods to generate session keys and adding type hints. Testing session data is vital, and both unit and feature tests are recommended to ensure correct functionality.

  10. 10
    Article
    Avatar of snykSnyk·2y

    What you should know about PHP security vulnerabilities

    PHP is a popular scripting language for web development, which makes it a target for hackers. Developers must understand PHP security risks like SQL Injection and code injection, and use practices like sanitizing inputs, using prepared statements, and regularly updating dependencies to mitigate these risks. Tools like Snyk can automate the process of identifying and fixing vulnerabilities in PHP applications, ensuring compliance and protecting against breaches.

  11. 11
    Article
    Avatar of communityCommunity Picks·2y

    Upload File in Laravel

    Learn how to upload files in Laravel using its unified API for various storage systems, including local disk and remote storage like AWS S3. The Storage Facade allows seamless interaction with different storage drivers via configurable 'disks'. The public disk setup is explained, along with example code for both request-based and Storage facade-based file uploads.

  12. 12
    Article
    Avatar of lnLaravel News·2y

    Laravel Config Checker Package

    The Laravel Config Checker package by Chris Di Carlo scans your codebase to verify if config keys are correctly defined in your config files. Running `php artisan config:check` identifies missing or undefined config errors, displaying them in a table with details on the location and missing references.

  13. 13
    Article
    Avatar of communityCommunity Picks·2y

    Laravel Livewire: What it is, and how to use it in your web app

    Livewire is a Composer package for Laravel that allows the development of reactive web applications without the need for a dedicated JavaScript framework like Vue or React. It works by having a PHP class and a Blade template per component, with interactions handled via AJAX calls to the server. Installation is straightforward, requiring just a few Blade directives and a single Composer command. The package enables seamless integration with other Laravel features, making it a valuable tool for Laravel developers looking to maintain a unified codebase.

  14. 14
    Article
    Avatar of phpdevPHP Dev·2y

    What is TALL Stack Development?

    The TALL stack is a modern web development solution that incorporates Tailwind CSS for utility-first styling, Alpine.js for minimal JavaScript interactions, Laravel as a robust PHP framework, and Livewire for seamless server-side rendering without extensive JavaScript.

  15. 15
    Article
    Avatar of lnLaravel News·2y

    Prepare your Laravel app for the cloud

    Learn how to prepare a Laravel app for cloud deployment by mimicking the production environment using Docker. The guide covers setting up a local PostgreSQL database, configuring Dockerfiles, and deploying to the cloud provider Sevalla. Key steps include handling environment variables, creating Docker images, and setting up database migrations.

  16. 16
    Article
    Avatar of lnLaravel News·2y

    Building Multiplayer Minesweeper with Laravel, Livewire and Reverb

    Jared Short recounts his experience building a multiplayer Minesweeper game using Laravel, Livewire, and Reverb, hosted on Fly.io. He emphasizes the ease of developing without extensive frontend JavaScript and highlights challenges like managing large payloads and navigating Laravel's ecosystem. Despite initial disorientation, Jared finds Laravel's capabilities impressive and acknowledges the potential for optimization in his project.

  17. 17
    Article
    Avatar of lnLaravel News·2y

    Laravel 11.24 Released

    Laravel version 11.24 introduces new features including shorthands for Process fakes, a nullOnUpdate() method for foreign key definitions, and support for retrying multiple batch jobs at once. Notably, there's a temporary workaround for issues with auto-discovery of console commands. Additional improvements include the ability to use backed enums with Route::can() and new methods for the View factory.

  18. 18
    Article
    Avatar of communityCommunity Picks·2y

    How to group array by date in PHP – Fast Tips

    Learn how to group arrays by date using PHP with the array_reduce function. The post also covers filtering and grouping in Laravel, using Controller and Blade templates to display the results. Additionally, it provides methods for grouping using Laravel Collection class efficiently.

  19. 19
    Article
    Avatar of lnLaravel News·2y

    Build Your Multi-Tenant SaaS App in Days with SaaSykit Tenancy

    SaaSykit Tenancy is a Laravel-based SaaS starter kit designed to ease the development of multi-tenant SaaS applications. It includes essential features like multi-tenant dashboards, seat-based and flat-rate subscriptions, user invitations, team management, and tenant roles & permissions. Additionally, it offers payment integration, stunning admin panels, invoicing, customizable landing pages, email templates, built-in blogs, and more. SaaSykit Tenancy is aimed at providing a robust foundation, allowing you to focus on your unique SaaS features rather than foundational components.

  20. 20
    Article
    Avatar of lnLaravel News·2y

    LangCountry launches v4

    Laravel LangCountry has launched version 4, adding support for Carbon Macros which allow for country-specific date formatting directly on Carbon instances. This package enhances Laravel's localization by considering both language and country, catering to variations in date format, localized country names, and currency symbols.