current location:Home>Technical Articles>Backend Development>PHP Tutorial

  • Session Handling with the PRG pattern and Flashing
    Session Handling with the PRG pattern and Flashing
    In our previous project, returning a view directly from the POST request when validation failed was not the best approach. The Problem When a user submits a login form with invalid data, the form displays error messages and redirects the
    PHP Tutorial 181 2024-07-18 21:46:21
  • Mastering Middleware in Laravel: An In-Depth Guide
    Mastering Middleware in Laravel: An In-Depth Guide
    As I navigated the labyrinth of web development, one feature consistently illuminated my path: Laravel's middleware system. Middleware doesn't just filter requests; it transforms applications, ensuring security, performance, and seamless user experie
    PHP Tutorial 419 2024-07-18 20:59:51
  • Tutorial Laravel Auth con Bootstrap
    Tutorial Laravel Auth con Bootstrap
    This is a practical tutorial. We will create a project with Laravel in version 11 and integrate the base auth verification. Requirements Basic knowledge of Laravel and PHP Composer installed on your computer Node.js and npm installed on e
    PHP Tutorial 562 2024-07-18 20:38:52
  • Intro to Middleware
    Intro to Middleware
    What is Middleware? Middleware is a software design pattern that enables seamless communication and data exchange between different systems, applications, or services. It plays a crucial role in facilitating interactions between disparate compo
    PHP Tutorial 436 2024-07-18 16:59:52
  • How to Create a Telegram Bot Using PHP
    How to Create a Telegram Bot Using PHP
    How to Create a Telegram Bot Using PHP (Bonus: Get Cheap Hosting on Hostinger for Unlimited Bandwidth) Creating a Telegram bot using PHP is a great way to automate interactions and build useful tools for your community. In this article, we'll g
    PHP Tutorial 787 2024-07-18 13:33:29
  • How to Use Laravel Blade Templating Engine with a Pure Vanilla PHP Project?
    How to Use Laravel Blade Templating Engine with a Pure Vanilla PHP Project?
    Today, I challenged myself to implement a Laravel MVC (Model, View, Controller) approach using pure vanilla PHP. To tackle this, I utilized the standard Laravel Blade templating engine for the view part of the project, but without installing Laravel
    PHP Tutorial 787 2024-07-18 11:30:48
  • Using Helper Functions to Convert Markdown to HTML in Laravel 11
    Using Helper Functions to Convert Markdown to HTML in Laravel 11
    In this tutorial, we'll create a helper function in a Laravel application to convert Markdown content to HTML using the league/commonmark library. We'll cover the steps to create a helper file, include it in our Laravel project, and use it in a Blade
    PHP Tutorial 292 2024-07-18 11:28:11
  • Why clean code matters
    Why clean code matters
    In various consultancy projects, I have noticed lately that the same thing keeps repeating itself: clustered code. What do I mean by that? Well, let me put it this way. When you code, you should think about clean code. Yes, I know, one more person ou
    PHP Tutorial 473 2024-07-18 11:27:38
  • Crawler Log Folder
    Crawler Log Folder
    1598. Crawler Log Folder Easy The Leetcode file system keeps a log each time some user performs a change folder operation. The operations are described below: "../" : Move to the parent folder of the current folder. (If you are alread
    PHP Tutorial 325 2024-07-18 10:20:06
  • Design Patterns in Laravel: Level Up Your Code with Reusable Solutions
    Design Patterns in Laravel: Level Up Your Code with Reusable Solutions
    If you're building applications with Laravel, chances are you might have come across people saying, "Design patterns are the way to go." But what, really, are design patterns? And more importantly, how can they make your Laravel application
    PHP Tutorial 670 2024-07-18 10:12:06
  • Find Center of Star Graph
    Find Center of Star Graph
    1791. Find Center of Star Graph Easy There is an undirected star graph consisting of n nodes labeled from 1 to n. A star graph is a graph where there is one center node and exactly n - 1 edges that connect the center node with every other node. Yo
    PHP Tutorial 249 2024-07-18 09:23:20
  • How to use eloquent when in laravel
    How to use eloquent when in laravel
    In this article, We are implementing laravel eloquent when condition. In the filter-out process, we use the if-else condition on request. Check the code below. if($request->filter_by == 'amount') { $query->where('amount', '>', request(
    PHP Tutorial 740 2024-07-18 08:16:59
  • . Most Profit Assigning Work
    . Most Profit Assigning Work
    826. Most Profit Assigning Work Medium You have n jobs and m workers. You are given three arrays: difficulty, profit, and worker where: difficulty[i] and profit[i] are the difficulty and the profit of the ith job, and worker[j] is the ability o
    PHP Tutorial 793 2024-07-18 06:44:44
  • PHP Version of console.log() for Laravel
    PHP Version of console.log() for Laravel
    Easily stream your Laravel application logs to the browser console tab (console.log) in real-time using server-sent event (SSE) Welcome to Laravel Console Log (LCL)! This package brings real-time logging to your Laravel application, allowing you to
    PHP Tutorial 923 2024-07-18 05:36:20
  • Average Waiting Time
    Average Waiting Time
    1701. Average Waiting Time Medium There is a restaurant with a single chef. You are given an array customers, where customers[i] = [arrivali, timei]: arrivali is the arrival time of the ith customer. The arrival times are sorted in non-decreasin
    PHP Tutorial 350 2024-07-18 05:08:19

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29
HTML5 MP3 music box playback effects

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.
HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29
jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29
Organic fruit and vegetable supplier web template Bootstrap5

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03
Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02
Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02
Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02
Cute summer elements vector material (EPS PNG)

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09
Four red 2023 graduation badges vector material (AI EPS PNG)

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29
Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29
Golden graduation cap vector material (EPS PNG)

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27
Home Decor Cleaning and Repair Service Company Website Template

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09
Fresh color personal resume guide page template

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29
Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28
Modern engineering construction company website template

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!