petrelli/live-statics-addons 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

petrelli/live-statics-addons

Composer 安装命令:

composer require petrelli/live-statics-addons

包简介

Addons to extend petrelli/live-statics with new functionalities

README 文档

README

Live-Statics is an open source Laravel package that will help you quickly build prototypes and static pages facilitating data injection into real views. Because all mocked objects will behave as the real ones you won't have to spend any time with integration tasks.

This package provides new Classes, Traits, Faker providers and Modules for you to use.

Install

  1. Include the package

You can run the command:

composer require petrelli/live-statics-addons

Or directly add it to your composer.json

"petrelli/live-statics-addons": "^0.0.1@alpha"

And run composer update.

  1. Publish configuration files and the Service Provider
php artisan vendor:publish --provider="Petrelli\LiveStaticsAddons\BaseServiceProvider"

Usage

Classes

use \Petrelli\LiveStaticsAddons\BaseMock;

class BookMock extends BaseMock implements BookInterface
{
    #...
}

Traits

Let's include the HasImages to emulate images from Twill as an example.

use \Petrelli\LiveStatics\BaseMock;
use \Petrelli\LiveStaticsAddons\Traits\Twill\HasImages;

class BookMock extends BaseMock implements BookInterface
{
    use HasImages;

    #...
}

TODO

Documentation:

  • Interface Mapper
  • Twill Blocks
  • Twill Images

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-02-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固