lagdo/ui-builder-bootstrap5 问题修复 & 功能扩展

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

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

lagdo/ui-builder-bootstrap5

最新稳定版本:v0.5.0

Composer 安装命令:

composer require lagdo/ui-builder-bootstrap5

包简介

UI Builder extensions for the Bootstrap 5 framework.

README 文档

README

Scrutinizer Code Quality StyleCI

Latest Stable Version Total Downloads License

Bootstrap 5 extension for the HTML UI builder

This package extends the HTML UI builder and implements functions to create UI components for Bootstrap 5.

Usage

See the HTML UI builder documentation.

Depending on the version of Bootstrap, a different class instance must provided where the Lagdo\UiBuilder\BuilderInterface is required.

For example, let say this View class is used to create HTML code.

use Lagdo\UiBuilder\BuilderInterface;

class View
{
    /**
     * @var BuilderInterface
     */
    protected $uiBuilder;

    /**
     * @param BuilderInterface
     */
    public function __construct(BuilderInterface $uiBuilder)
    {
        $this->uiBuilder = $uiBuilder;
    }
}

With the following example, the View class will generate HTML code for Bootstrap 3.

use Lagdo\UiBuilder\Bootstrap5\Builder;

$view = new View(new Builder());

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE.txt for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-07-21