定制 phplang/xhp-lib 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

phplang/xhp-lib

最新稳定版本:0.0.1

Composer 安装命令:

composer require phplang/xhp-lib

包简介

XHP XHTML PHP library for xhp

README 文档

README

Forked from https://github.com/facebook/xhp-lib/tree/1205aad1045912c4ccb747b297f0093a4196c202 by Facebook Inc.

This is a community maintained fork of xhp-lib/php-lib focused on non-hack syntax. It is meant to be used with https://github.com/phplang/xhp on PHP. Users of HHVM should install the official xhp-lib at https://github.com/facebook/xhp-lib which has full hack type checker support.

Autoloading

xhp-lib ships with an ClassLoader implementation which can be used by projects in a composer autoload "files" include as follows:

In composer.json:

{
  "autoload": {
    "files": [
      "src/xhp-autoload.php"
    ]
  }
}

And in src/xhp-autoload.php:

<?php

(new PhpLang\XhpLib\ClassLoader([
  ':view' => __DIR__ . '/../view/',
])->register();

In the above example, tags like <view:card:foo/> will be autoloaded from view/card/foo.php in the package root.

统计信息

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

GitHub 信息

  • Stars: 6
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2016-08-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固