Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Yii2 Bootstrap5 Laravel Package

yiisoft/yii2-bootstrap5

Bootstrap 5 integration for Yii 2 apps. Provides widgets, helpers, and asset bundles to render Bootstrap 5 components with Yii’s view and form APIs, enabling consistent styling and UI elements using Bootstrap 5 in Yii 2 projects.

View on GitHub
Deep Wiki
Context7

基本的な使用方法

Yii は bootstrap の基礎を PHP コードでラップすることをしていません。なぜなら、この場合の HTML コードがそれ自体として非常にシンプルだからです。 bootstrap の基礎を使用することに関する詳細は、bootstrap ドキュメント・ウェブ・サイト で見ることが出来ます。 それでも、Yii はあなたのページに bootstrap のアセットをインクルードするための便利な方法を提供しています。 [@app](https://github.com/app)/assets ディレクトリに配置されている AppAsset.php に一行を加えるだけで大丈夫です。

public $depends = [
    'yii\web\YiiAsset',
    'yii\bootstrap5\BootstrapAsset', // この行です
];

Yii のアセットマネージャによって bootstrap を使うと、必要に応じて、bootstrap のリソースを最小化したり、 あなた自身のリソースと結合したりすることが出来ます。

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle