namesonic/simple-site-framework 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

namesonic/simple-site-framework

最新稳定版本:v0.1.6

Composer 安装命令:

composer require namesonic/simple-site-framework

包简介

Simple Site Framework

README 文档

README

Use this to scaffold a simple html template project using a lightweight MVC structure.

Features

  • Lightweight MVC Structure (sans M)
  • Multiple Layouts
  • No CSS/js dependency
  • Simple variable replacement handling for templates
  • Configuration Handling
  • Exception Handling

Requires

  • PHP 8.1 or greater

Installation

Exchange my-site-name below with the folder name that will contain your new website.

composer create-project namesonic/simple-site my-site-name

Configuration

Your webserver should be configured to point the document root to the my-site-name/public folder.

Development

app\
    Http\
        Controllers\
            Add new pages to the website here
        Exceptions\
            Add custom code exception handlers here
config\
    Store configuration files here
public\
    This is the public facing folder for the application
    js\
    css\
    img\
resources\
    errordocs\
        Website errordocuments are served from this folder <404.php>
    layouts\
        Global template layouts are stored here <layoutname.php>
    views\
        Individual page layouts are stored here <pagename.php>

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: proprietary
  • 更新时间: 2023-12-10