承接 theorx/autoloadermap 相关项目开发

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

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

theorx/autoloadermap

Composer 安装命令:

composer require theorx/autoloadermap

包简介

Library for fetching composer auto-loader map

README 文档

README

Build Status

Description

This library makes composer's auto-loader map accessible without having to manually find the files for inclusion. Main usage for this would be to build modularized applications which rely on composer's packages. Caching of the autoload values is currently not built in, but may get implemented in the future This library works on top of composer's autoloader map. This means, that in order for it to work you must use it from the vendor directory. In order to use it you must use composer dump-autoload -o "dash optimize ( -o ) is crucial".

Requirements

  • PHP >= 7
  • composer

Dev-requirements

  • phpunit

Usage

Require theorx/autoloadermap with composer. Example: composer require theorx/autoloadermap

<?php

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

$autoLoaderMap = new Theorx\AutoLoaderMap\AutoLoaderMap();

//get Classmap
$autoLoaderMap->getClassMap(); //Returns array of classes

//get namespaces
$autoLoaderMap->getNamespaces(); // Returns array of namespaces from autoload_namespaces.php

//get PSR-4 
$autoLoaderMap->getPSR4(); // Returns psr-4


Author

  • Lauri Orgla theorx@hotmail.com

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-06-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固