定制 bravedave/esse 二次开发

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

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

bravedave/esse

最新稳定版本:v22.12.02

Composer 安装命令:

composer require bravedave/esse

包简介

Essential Core Application

README 文档

README

MVC in PHP

Features

  • MVC Architecture
  • Supports MariaDB and SQLite
  • Simple Authentication
  • All licenses are MIT at the time of writing (Dec. 2022)

What

This is a PHP PSR-4 Framework - www.php-fig.org/psr/psr-4/

Why

To craft PHP applications you need this style of Framework

This is a Model-View-Controller Application in PHP

It:

  • Creates an entry point
  • Loads php scripts as required
  • Calls a Controller
    • Models data
    • Displays a View

foo

How

  1. Create a composer file
{
  "license": "MIT",
  "minimum-stability": "dev",
  "autoload": {
    "psr-4": {
      "": "src/app"
    }
  },
  "require": {
    "bravedave/esse": "dev-main"
  }
}
  1. update to install files
composer u
  1. install a sample application
mkdir src
cp -r vendor/bravedave/esse/src/app src/app
cp -r vendor/bravedave/esse/www .
  1. Run
cd www
php -S localhost:8080 _mvp.php

the program will run, but there are no users or database

  • a data folder was created in src/data
    1. rename the esse-defaults-sample.json to esse-defaults.json - activates SQLite as the database
    2. create a user in users with a password
    3. logoff
    4. authentication is now required

dive into the app folder and build your app ! etc .. etc..

Credits:

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固