承接 alterfw/hero 相关项目开发

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

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

alterfw/hero

最新稳定版本:v0.2.19

Composer 安装命令:

composer require alterfw/hero

包简介

Alter's model binding

README 文档

README

Build Status

Hero is a library that allows you easily create Models to your WordPress theme or plugin and interact with them through a simple and beautiful API.

Instalation

composer require alterfw/hero

Require the composer autoload file into your functions.php:

require "vendor/autoload.php";

And Hero will be ready!

Documentation

You can read more about how Ampersand works in the documentation page.

Contributing

This project doesn't have an styleguide yet but you should follow the existing code. Before create any pull requests make sure that all tests are passing.

Development Environment

To setup de development environment first download Docker and create a virtual machine:

docker-machine create --driver virtualbox default
eval "$(docker-machine env default)"

Then run:

docker-compose up

This will create a WordPress and a theme with Hero installed as dependency.

If you want to modify the theme files, take a look at the test/fixtures directory. These files are copied during the docker-compose up command, so if you change anything in these files you need to terminate the process and run again.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-07-28