承接 monolyth/lodger 相关项目开发

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

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

monolyth/lodger

Composer 安装命令:

composer require monolyth/lodger

包简介

Codger recipes for Monolyth components

README 文档

README

Codger recipes for Monolyth components

Installation

Using Composer (recommended):

$ composer require --dev monolyth/lodger

Usage

See the Codger documentation for general usage.

Included recipes

lodger/module

Generates an entire Monolyth-style module. --skip-SOMETHING options are provided to skip certain components, e.g. --skip-model to not generate a model.

lodger/model

Generate a model. By default properties are added according to a corresponding database table; use --skip-prefill to skip this. Optionally specify --ornament to make the model Ornament-compatible.

lodger/repository

Generate a repository. Though not technically a part of Monolyth (since we don't want to dictate how you handle your data), in practice Monolyth projects tend to use repositories for all (database) storage operations - i.e., insert, update, delete and select.

Generated repositories hold basic common methods such as save, all and find. However, the implementation is up to you. If your repositories follow a common structure, we recommend extending a base class instead. For database-based storage, have a look at the DatabaseRepository in sensimedia\supporty. It plays very nicely with Monolyth, but does make some assumptions based on how Sensi Media (my company) builds its projects.

lodger/view

Generate a generic (page) view.

lodger/listing/view and lodger/listing/template

Generate a view and template for a "listing page". This contains basically the output of a repository's all() call, with clickable links.

lodger/detail/view and lodger/detail/template

Generate a view and template for a "detail view". This is where you end up when you click on one of the listing links ;)

lodger/controller

Generate a generic CRUD controller. The generated create, update and delete methods work out of the box with the corresponding repository, but of course do nothing yet since we aren't dictating how you should store your data (or handle permissions, for that matter).

lodger/form

Generate a Formulaic form to go with the module.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-12-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固