定制 bedita/app 二次开发

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

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

bedita/app

Composer 安装命令:

composer require bedita/app

包简介

BEdita base WebApp

README 文档

README

Run tests Code Coverage

This is the BEdita skeleton web app.

Requirements

  1. PHP 7.4, 8.0, 8.1 or 8.2
  2. Download latest Composer or update via composer self-update.

Installation

Simply run

composer create-project bedita/app

In case you want to use a custom app dir name (e.g. /myapp/):

composer create-project bedita/app myapp

You can now either use your machine's webserver to view the default home page, or start up the built-in webserver with:

bin/cake server

Then visit http://localhost:8765 to see the welcome page.

Configuration

Read and edit the environment specific in config/.env in particular:

  • BEDITA_API and BEDITA_API_KEY to setup API endpoint
  • DEBUG set to "true" or "false"to activate/deactivate debug mode

Other environment agnostic settings can be changed in config/app.php.

You may then check http://localhost:8765/credits or http://localhost:8765/{folder} where {folder} is a folder uname on you BEdita4 project.

Layout

The app skeleton uses Milligram (v1.3) minimalist CSS framework by default. You can, however, replace it with any other library or custom styles.

I18n

Internationalization behavior is not enabled by default.

To activate:

  • in config/app.php uncomment I18n key and setup your wanted configuration
  • in src/Application.php uncomment lines to add I18nMiddleware in ::middleware() method
  • in config/routes.php ucomment lines with 'routeClass' => 'BEdita/I18n.I18nRoute' to enable routing rules

After that evey URL path will have a language prefix like /en automatically generated. Using I18nHelper methods you may then handle URLs or object properties accordingly.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: LGPL-3.0-or-later
  • 更新时间: 2020-02-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固