定制 borschphp/borsch-skeleton 二次开发

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

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

borschphp/borsch-skeleton

Composer 安装命令:

composer require borschphp/borsch-skeleton

包简介

A Borsch Framework skeleton application to kick start development.

README 文档

README

Logo

Borsch Skeleton

Keep it simple.

Version Version License


About Borsch Skeleton

Sometimes, you don't need an overkill solution like Laravel or Symfony.

Borsch is a simple and efficient PSR-15 micro framework made to kick start your web app or API development by using the tools you prefer, and provides minimal structure and facilities to ease your development.

It natively features :

Can be enriched with :

  • ORM
  • Templating
  • Anything else you want

The framework is built around a PSR-11 Container, therefore everything is made around interfaces.
If something is not at your taste, you can implement your own logic without having to modify everything.

Get started

Via composer :
composer create-project borschphp/borsch-skeleton [your-app-name]

Web servers

Instructions below will start a server on http://0.0.0.0:8080.

PHP Built-in web server

After installation, you can run the application in development with the command :

php -S 0.0.0.0:8080 -t ./public/ ./public/server.php
# or use the shortcut
composer serve

FrankenPHP

You can spin up a FrankenPHP docker container of the app with :

docker run \
    -v $PWD:/app \
    -p 80:8080 -p 443:443 -p 443:443/udp \
    dunglas/frankenphp

Worker

A script is available at public/worker.php to run the app with a FrankenPHP worker :

docker run \
    -e FRANKENPHP_CONFIG="worker ./public/worker.php" \
    -v $PWD:/app \
    -p 80:8080 -p 443:443 -p 443:443/udp \
    dunglas/frankenphp

Documentation

An extended documentation is available here.

Notes

Borsch Framework is heavily inspired by Mezzio and Laravel, only it is a much simpler and lightweight implementation.

Do not hesitate to check Mezzio and Laravel out 😉 .

License

The package is licensed under the MIT license. See License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-05-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固