Download the PHP package blackcube/yii-bleet without Composer
On this page you can find all versions of the php package blackcube/yii-bleet. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download blackcube/yii-bleet
More information about blackcube/yii-bleet
Files in blackcube/yii-bleet
Package yii-bleet
Short Description Blackcube UIKit for Yii framework
License BSD-3-Clause
Homepage https://github.com/blackcubeio/yii-bleet
Informations about the package yii-bleet
Blackcube Bleet
UIKit for Yii — PHP widgets + Aurelia 2 components.
Installation
The Aurelia 2 companion package:
Requirements
- Yii (view, html, widget, router, form-model)
- blackcube/yii-form — the form fields, without styling
- blackcube/icons — Heroicons and the SVG renderer
- Aurelia 2 (for interactive components: modal, drawer, ajaxify, toaster, upload, quill)
Where the fields come from
Bleet inherits every field from blackcube/yii-form and only adds the
styling: classes, colors, sizes — plus what is not native, such as the icon
inside a field, the password toggle, the drawn checkmark, the switch, the
searchable dropdown and the resumable upload dropzone.
A project that wants the fields without Bleet's look uses yii-form
directly and overrides the same extension points.
What it is
A fluent PHP API that generates HTML. You never write raw HTML in views.
Aurelia 2 handles interactivity client-side: AJAX loading, drawers, modals, toasts, rich text, file uploads.
7 colors (primary, secondary, success, danger, warning, info, accent), 5 sizes (xs, sm, md, lg, xl).
Quick Start
Buttons
Form fields
Upload
Elastic fields (auto-render from JSON Schema)
Cards
Layout
Feedback
Modal and Drawer (AJAX)
Ajaxify
Widgets
Layout
| Widget | Factory | Description |
|---|---|---|
| Header | Bleet::header() |
Sticky header |
| Footer | Bleet::footer() |
Page footer |
| Sidebar | Bleet::sidebar() |
Navigation sidebar |
| SidebarItem | Bleet::sidebarItem() |
Sidebar entry |
| Breadcrumb | Bleet::breadcrumb() |
Breadcrumb trail |
Forms
| Widget | Factory | Description |
|---|---|---|
| Input | Bleet::input() |
Text input |
| Textarea | Bleet::textarea() |
Multiline input |
| Select | Bleet::select() |
Select with custom display (searchable(), multiple(), withTags()) |
| Checkbox | Bleet::checkbox() |
Single checkbox |
| CheckboxList | Bleet::checkboxList() |
Checkbox group |
| Radio | Bleet::radio() |
Single radio |
| RadioList | Bleet::radioList() |
Radio group |
| Toggle | Bleet::toggle() |
Toggle switch |
| Upload | Bleet::upload() |
File upload (Resumable.js) |
| Elastic | Bleet::elastic() |
Auto-render from JSON Schema |
| Label | Bleet::label() |
Form label |
Feedback
| Widget | Factory | Description |
|---|---|---|
| Alert | Bleet::alert() |
Alert message (dismissible) |
| Toast | Bleet::toast() |
Toast notification |
| Toaster | Bleet::toaster() |
Toast container |
| Modal | Bleet::modal() |
AJAX modal dialog |
| Drawer | Bleet::drawer() |
AJAX side panel |
| Ajaxify | Bleet::ajaxify() |
AJAX zone and triggers |
Content
| Widget | Factory | Description |
|---|---|---|
| Card | Bleet::card() |
Container card |
| CardHeader | Bleet::cardHeader() |
Colored card header with icon |
| Badge | Bleet::badge() |
Inline badge |
| Button | Bleet::button() |
Action button |
| ButtonGroup | Bleet::buttonGroup() |
Grouped action buttons |
| StatCard | Bleet::statCard() |
Dashboard stat card with trend |
| ShortcutCard | Bleet::shortcutCard() |
Clickable shortcut card |
| ActivityFeed | Bleet::activityFeed() |
Activity timeline |
| EmptyState | Bleet::emptyState() |
Placeholder with CTA |
| Progress | Bleet::progress() |
Progress bar |
| Step | Bleet::step() |
Stepper / progress steps |
| Pager | Bleet::pagination() |
Pagination |
| Profile | Bleet::profile() |
User profile widget |
Typography
| Widget | Factory | Description |
|---|---|---|
| H1–H6 | Bleet::h1() … Bleet::h6() |
Headings |
| Hr | Bleet::hr('Section') |
Separator with label |
| Paragraph | Bleet::p() |
Paragraph |
| Anchor | Bleet::a() |
Link |
| Strong | Bleet::strong() |
Bold |
| Em | Bleet::em() |
Italic |
| Code | Bleet::code() |
Inline code |
| Pre | Bleet::pre() |
Code block |
| Blockquote | Bleet::blockquote() |
Blockquote |
| Mark | Bleet::mark() |
Highlight |
| Small | Bleet::small() |
Small text |
| Del / Ins | Bleet::del() / Bleet::ins() |
Deleted / inserted text |
| Abbr | Bleet::abbr() |
Abbreviation |
| Lists | Bleet::ul() / Bleet::ol() / Bleet::dl() |
Unordered, ordered, description lists |
| Img | Bleet::img() |
Image |
| Figure | Bleet::figure() |
Image with caption |
| Svg | Bleet::svg() / Bleet::icon() |
Heroicons / custom SVG |
Aurelia 2 Components
Interactive components live in @blackcube/aurelia2-bleet. They are driven by the PHP widgets — you rarely instantiate them directly.
Custom elements
| Component | Element | Description |
|---|---|---|
| Ajaxify | <bleet-ajaxify> |
AJAX content zone |
| Drawer | <bleet-drawer> |
Side panel |
| Modal | <bleet-modal> |
Centered dialog |
| Toaster | <bleet-toaster> |
Toast container |
| Toast | <bleet-toast> |
Toast notification |
| Quill | <bleet-quilljs> |
Rich text editor |
Custom attributes
| Attribute | Description |
|---|---|
bleet-ajaxify-trigger |
Triggers AJAX load |
bleet-drawer-trigger |
Opens a drawer |
bleet-modal-trigger |
Opens a modal |
bleet-toaster-trigger |
Triggers a toast |
bleet-alert |
Alert behavior |
bleet-badge |
Badge behavior |
bleet-burger |
Burger menu toggle |
bleet-dropdown |
Advanced dropdown |
bleet-select |
Custom select |
bleet-menu |
Menu behavior |
bleet-pager |
Pagination behavior |
bleet-password |
Password visibility toggle |
bleet-profile |
Profile widget behavior |
bleet-tabs |
Tab switching |
bleet-upload |
File upload (Resumable.js) |
Let's be honest
This is an admin UIKit, not a design system.
Bleet is built for Blackcube's back-office. It generates consistent, functional HTML. It is not a general-purpose component library.
Aurelia 2 is required for interactivity.
Modals, drawers, toasts, uploads, rich text — all need the Aurelia 2 companion package. Static widgets (buttons, cards, typography) work without it.
Tight coupling with Yii.
Widgets use FormModelInterface, UrlGeneratorInterface, Html from Yii. This is not framework-agnostic.
License
BSD-3-Clause. See LICENSE.md.
Copyright (c) 2026 Blackcube — Philippe Gaultier.
Author
Philippe Gaultier [email protected]
All versions of yii-bleet with dependencies
blackcube/icons Version ^1.0
blackcube/yii-bridge-model Version ^1.0
blackcube/yii-form Version ^1.0
psr/http-message Version ^2.0
yiisoft/aliases Version ^3.1
yiisoft/data Version ^2.0
yiisoft/data-response Version ^2.2
yiisoft/form-model Version ^1.1
yiisoft/html Version ^4.2
yiisoft/http Version ^1.3
yiisoft/json Version ^1.1
yiisoft/router Version ^4.0
yiisoft/widget Version ^2.2