Lindevs
Programming tutorials, blogs & resources
Menu
  • Home ×
  • Tutorials
    • Programming Language
      • Python
      • PHP
      • Java
      • C
      • C++
      • JavaScript
      • Go (Golang)
    • Machine Learning
      • TensorFlow 2
      • PyTorch
    • Computer Vision
      • OpenCV
    • Embedded System
      • Raspberry Pi
      • Arduino
      • ESP8266
      • XIAO SAMD21
    • Home Automation
      • Tasmota
    • Mobile App Development
      • Android
      • Flutter
    • Game Development
      • Unity
    • Framework
      • Laravel
      • Symfony
    • Operating System
      • Linux
        • Ubuntu
      • Windows
    • Database
      • MySQL
    • DevOps
      • Command Line
      • Web Server
      • Grafana
      • Networking
      • Security
      • Containerization
  • Code Snippets
  • Electronics
    • Circuits
  • Questions
    • PHP
  • Contact
    • Sign In

PHP

Sort PHP Packages in Requirements Section using Composer

Sort PHP Packages in Requirements Section using Composer

  • May 15, 2026
  • PHP
  • 0 Comments
  • 138 Views
Maintaining a well-organized the composer.json file helps keep PHP projects easier to manage. Sorting packages alphabetically in the require and require-dev sections improves readability and reduces unnecessary merge conflicts when...
2 Methods to Run Vendored Script Installed with Composer

2 Methods to Run Vendored Script Installed with Composer

  • March 25, 2026
  • PHP
  • 0 Comments
  • 170 Views
Managing scripts from Composer-installed packages is a routine part of maintaining PHP projects. Many packages include executable scripts, such as testing frameworks, code analyzers, or build utilities, which are placed...
2 Methods to Get Extension Configuration in PHP

2 Methods to Get Extension Configuration in PHP

  • March 24, 2026
  • PHP
  • 0 Comments
  • 101 Views
PHP offers a flexible ecosystem where extensions expand the core functionality with additional features. In some cases, it is necessary to inspect the configuration details of a specific extension...
Get Licenses of PHP Packages using Composer

Get Licenses of PHP Packages using Composer

  • March 21, 2026
  • PHP
  • 0 Comments
  • 96 Views
Keeping track of software licenses is an important part of maintaining any PHP project. When working with third-party packages, it's essential to understand the licensing terms to ensure compliance and...
Function socket_set_timeout is Deprecated in PHP 8.5

Function socket_set_timeout is Deprecated in PHP 8.5

  • December 28, 2025
  • PHP
  • 0 Comments
  • 886 Views
PHP provides the socket_set_timeout function, which has historically been used to define read and write timeouts for stream resources such as network connections. This function is an alias of the...
Function xml_parser_free is Deprecated in PHP 8.5

Function xml_parser_free is Deprecated in PHP 8.5

  • December 25, 2025
  • PHP
  • 0 Comments
  • 803 Views
PHP provides a built-in XML parser extension that allows developers to process XML documents using event-based callbacks. Before PHP 8.0, XML parser was represented as a resource, and the xml_parser_free...
Function finfo_close is Deprecated in PHP 8.5

Function finfo_close is Deprecated in PHP 8.5

  • December 24, 2025
  • PHP
  • 0 Comments
  • 987 Views
PHP provides the Fileinfo extension for detecting MIME types and file information. Before PHP 8.1, the finfo_close function was used to release a file info resource created by finfo_open. Since...
Outputting From User Output Handler is Deprecated in PHP 8.5

Outputting From User Output Handler is Deprecated in PHP 8.5

  • December 23, 2025
  • PHP
  • 0 Comments
  • 1127 Views
PHP provides the ob_start function, which accepts an optional output buffer handler function. When provided, the handler function receives the buffered output just before it is sent to the client...
Use First-class Callable Syntax in Constant Expressions in PHP 8.5

Use First-class Callable Syntax in Constant Expressions in PHP 8.5

  • December 18, 2025
  • PHP
  • 0 Comments
  • 1216 Views
First-class callable syntax in PHP (introduced in PHP 8.1) allows us to create an anonymous function (Closure) using the expression CallableExpr(...). It is safer and more refactor-friendly than using string...
Use Closure in Constant Expressions in PHP 8.5

Use Closure in Constant Expressions in PHP 8.5

  • December 17, 2025
  • PHP
  • 0 Comments
  • 774 Views
Since PHP 8.5, static closures can be used in constant expressions. This includes default values of parameters and properties, constants, and attribute parameters. Suppose we have a function that takes...
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • …
  • 17
  • 18
  • »
Buy Me a Coffee

Recent Posts

  • Check .NET Version
  • Install witr on Ubuntu 26.04
  • Sort PHP Packages in Requirements Section using Composer
  • Run Hadolint Inside Docker Container on Linux
  • Run Ansible Lint Inside Docker Container on Linux

Archives

  • May 2026
  • April 2026
  • March 2026
  • February 2026
  • January 2026
  • December 2025
  • November 2025
  • October 2025
  • September 2025
  • August 2025
  • July 2025
  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
Copyright © 2020 - 2026 · lindevs.com · All Rights Reserved