定制 metricloop/laravel-transformer-maker 二次开发

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

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

metricloop/laravel-transformer-maker

最新稳定版本:v1.0.5

Composer 安装命令:

composer require metricloop/laravel-transformer-maker

包简介

A Laravel 5 package to create Fractal Transformers

README 文档

README

Latest Version Software License Build Status Total Downloads

This package gives you a quick way to create Transformers for your Eloquent models when using Fractal.

Installation And Usage

Issue the command:

composer require "metricloop/laravel-transformer-maker"

Then register the service provider:

// config/app.php

'providers' => [
    // ...
    MetricLoop\TransformerMaker\TransformerMakerServiceProvider::class,
];

Then just use it like any other Artisan make command:

php artisan make:transformer Person

And get the stubbed out PersonTransformer.php in App/Transformers!

Shout Out

To Phil Sturgeon and the team at the PHP League for Fractal. And if you haven't already, go check out Phil's book about building APIs: Build APIs You Won't Hate.

About Metric Loop

Metric Loop is an Austin based technology company that strives to create value by helping its clients reduce overhead, simplify their hardware procurement, and run their businesses more efficiently.

License

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-09-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固