承接 quidphp/assert 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

quidphp/assert

Composer 安装命令:

composer require quidphp/assert

包简介

Application to run the QuidPHP testsuite

README 文档

README

Release License PHP Version Style CI Code Size

About

QuidPHP/Assert repository contains an application to run the testsuite. This testsuite contains roughly 15000 assertions which will thoroughly test your PHP setup. It also comes with some JavaScript tests.

License

QuidPHP/Assert is available as an open-source software under the MIT license.

Documentation

QuidPHP/Assert documentation is available at QuidPHP/Docs.

Installation

QuidPHP/Assert can be easily installed with Composer. It is available on Packagist.

$ composer create-project quidphp/assert --prefer-dist

Requirement

QuidPHP/Assert requires the following:

  • Apache or Nginx server (running on MacOs or Linux environment).
    • Works in Windows environment but there are known issues.
  • PHP 8.1
    • with these extensions:
      • ctype
      • curl
      • date
      • fileinfo
      • gd
      • iconv
      • json
      • mbstring
      • pcre
      • openssl
      • session
      • SimpleXML
      • zip
      • PDO
      • pdo_mysql
    • and these PHP INI directives
      • post_max_size must be at least 1MB
      • post_max_size must be larger than upload_max_filesize
      • memory_limit must be at least 128MB
  • Mysql (>= 8.0) or MariaDB (>= 10.4) database
  • Any modern browser (not Internet Explorer)

Dependency

QuidPHP/Assert has the following dependency:

  • quidphp/site - Quid\Site - Extended platform to build a website using the QuidPHP framework and LemurCMS

All dependencies will be resolved by using the Composer installation process.

Setup

Once the installation is complete, simply follow these steps:

  1. Make sure the main directory and all sub-directories are writable by your web server.
  2. Configure an Apache Virtual Host or Nginx Server Block in order to have a domain pointing to the public folder document root.
  3. Import db.sql within a new Mysql/MariaDB database.
  4. Duplicate the env-default.php file and rename it to env.php.
  5. Update the scheme hosts within the env.php file to reflect your server configuration.
  6. Update the database parameters within the env.php file.

Booting via HTTP

From your web browser, enter the URL to the public/index.php entry file.

Booting via CLI

Open the project folder in the Command Line. You may now submit a command in the following format:

php quid
php quid :prod/assert

Overview

QuidPHP/Assert contains 9 files. Here is an overview:

  • .gitignore - Standard .gitignore file for the testsuite
  • composer.json - File declaring all Composer PHP dependencies
  • db.sql - Sql database required for the QuidPHP testsuite
  • env-default.php - Declare environment data for the testsuite, copy this file and rename to env.php
  • LICENSE - MIT License file for the repository
  • quid - File for booting the testsuite via CLI
  • README.md - This readme file in markdown format
  • public/.htaccess - Simple apache directive file, requires mod_rewrite
  • public/index.php - Index file for booting the testsuite via an HTTP request

Known issues

  • The testsuite fails on Windows when using the Command Prompt.
  • On Windows, there are some problems related to creating symlinks.
  • On Windows, you will need to add lower_case_table_names = 2 in your database configuration file (my.cnf). The table and column names need to be stored in their natural case.
  • On some setup, you may need to add your domain to your system hosts file. If not, some assertions involving curl may fail.

quidphp/assert 适用场景与选型建议

quidphp/assert 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 9 次下载、GitHub Stars 达 2, 最近一次更新时间为 2022 年 03 月 30 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「testsuite」 「php-framework」 「quid」 「quidphp」 「php-cms」 「lemur-cms」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 quidphp/assert 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 quidphp/assert 我们能提供哪些服务?
定制开发 / 二次开发

基于 quidphp/assert 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-03-30