igeek/utilities 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

igeek/utilities

最新稳定版本:v1.0.0

Composer 安装命令:

composer require igeek/utilities

包简介

Collection of utility code/libraries for use with WordPress plugins/themes.

README 文档

README

Introduction

igeek/utilities is a collection of utilities helpful when writing code for WordPress. It is a fork of the g3/utilities package that I wrote in 2022. The future of that package is uncertain (I have no visibility regarding that). Going forward igeek/utilities will be maintained by me. Pull Requests, bug reports, feature requests are always welcome.

On its own this package does not do anything; hence this is not available as a WordPress plugin. It is meant to be used as a support/utility library for existing/new WordPress code, be it theme or plugin.

License

This package is licensed under GPL v2.0-or-later. You are free to use this package however you like as long as you comply with the terms of the license.

Requirements

This composer package has following requirements for use:

  • PHP >= 8.2 : This package was written for PHP 8.2.x and uses some features which might not be available in lower versions.
  • WordPress : Some of the functionality in this package uses WordPress functions. This package is not meant to be used without WordPress and there are no plans of adding/supporting polyfills for those functions to make this package work without WordPress. If you want to use this package without WordPress, you are free to do so and add any polyfills you might need.

Installation

This is a composer package and to use it, you should install composer and fetch it through that. That way you would be able to easily have control over which version you use and composer would take care of any dependencies this package might have.

Once you have composer installed, run the following command in your project directory.

composer require igeek/utilities

Once the package is installed, put the following in your project code before you use any of the package API. If you are not adding this in a file which resides in the same directory as your composer.json file or vendor directory then adjust the path below accordingly.

require_once __DIR__ . '/vendor/autoload.php';

This will allow you to use this package's API (& that of any other composer package you install) without bothering about loading up package files.

统计信息

  • 总下载量: 8
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2024-06-30