承接 mcmatters/fqn-checker 相关项目开发

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

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

mcmatters/fqn-checker

最新稳定版本:v3.0.3

Composer 安装命令:

composer require mcmatters/fqn-checker

包简介

无描述信息

README 文档

README

Checks your php-code for the presence of un-imported functions and gives you information about where they are located.

Installation

composer require mcmatters/fqn-checker

Usage

<?php declare(strict_types=1); use McMatters\FqnChecker\FqnChecker; require 'vendor/autoload.php'; $checker = new FqnChecker(file_get_contents(__DIR__.'/Wrong.php')); print_r($checker->getNotImported()); print_r($checker->getImported());

Listing of Wrong.php

<?php declare(strict_types=1); namespace Acme; use function ucfirst; class Wrong { public function testArray() { return array_filter([], null); } public function testString() { return ucfirst('hello'); } }

Result

[ 'constants' => [ 'Acme' => [ 'null' => [ 13, ], ], ], 'functions' => [ 'Acme' => [ 'array_filter' => [ 13, ], ], ], ] [ 'constants' => [], 'functions' = [ 'Acme' => [ 'ucfirst' => true, ], ], ] 

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固