定制 tobento/app-skeleton 二次开发

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

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

tobento/app-skeleton

最新稳定版本:2.0.1

Composer 安装命令:

composer require tobento/app-skeleton

包简介

PHP application skeleton.

README 文档

README

Use this app skeleton to quickly setup and start working on a new App project.

Table of Contents

Getting Started

Add the latest version of the app skeleton running this command.

composer create-project tobento/app-skeleton [my-app-name]

Requirements

  • PHP 8.4 or greater

Documentation

App

Check out the App to learn more about the app in general.

Directory Structure

The directories are set on the app.php file. You can freely change them as you prefer.

app/app.php

Check out the App Directories to learn more about directories in general.

Config

Some App Bundles have config files, which will be located as default at:

app/config/

Src

The app/src/ directory is the place to put your classes which is namespaced under App.

Register Boots

You may register boots on two places.

On the app.php config file

app/config/app.php
return [
    
    /*
    |--------------------------------------------------------------------------
    | Application Boots
    |--------------------------------------------------------------------------
    |
    | The application boots.
    |
    */
        
    'boots' => [
        \Tobento\App\Boot\ErrorHandling::class,
        
        // add more boots.
        AnyBoot::class,
    ],
    
];

On the app.php file

app/app.php
// Boot the app -----------------------------------------------------------
$app->boot(\Tobento\App\Boot\App::class);

// Add more boots here
$app->boot(AnyBoot::class);

App Testing

Unit Tests

Unit tests are designed to test small, isolated portions of code, often focusing on a single method.

See demo test file: tests/Unit/DemoTest.php

Feature Tests

Feature tests test the behavior of a complete application. They may make HTTP requests and test that the response is as expected.

See demo test file: tests/Feature/DemoTest.php

Furthermore, check out the App Testing bundle for more information.

App Bundles

List Of Available App Bundles

Credits

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-02-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固