Download the PHP package sirius/ui without Composer

On this page you can find all versions of the php package sirius/ui. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package ui

Sirius UI

Laravel Blade and Livewire UI components styled with Tailwind CSS. Use them in ordinary Blade forms or reactive Livewire views, with bundled widgets and light/dark themes.

See the documentation project for demos and component guides.

Table of Contents

Features

Enhanced widgets ship with the package. Richtext includes its React runtime; consumers do not need a separate Tiptap installation, React setup, CDN, or API key.

Requirements

Dependency Supported versions
PHP ^8.3
Laravel components ^12.61.1 or ^13.12.0
Livewire ^4.0

Blade Heroicons 2.7.0 is installed through Composer. JavaScript is required for enhanced widgets and interactive components.

Installation

Laravel discovers the service provider automatically. The default Blade namespace is x-sirius::; the default Livewire namespace is sirius.

Loading Assets

Choose one asset strategy and load the package assets once.

Vite

In resources/css/app.css:

In resources/js/app.js:

Load your application entries in the layout and build them:

Published Assets

For applications without a bundler:

Load the published files in your layout:

Republish assets after package upgrades. For Livewire views, keep Livewire's own assets enabled and use its bundled Alpine runtime.

Basic Usage

Blade

Define a projects.store route and handle validation and persistence in your application:

See each component's dedicated documentation page for detailed API and usage examples.

Livewire

Inside a Livewire component with a public $name property and a save() method:

See each component's dedicated documentation page for detailed API and usage examples.

Core Components

Group Components
Forms and fields Form, Field, Label, Input/password, Textarea, Checkbox, Radio, Switch, Currency, Datetime Picker, Phone, Select, File Upload, Richtext, Slider
Presentation Code, Link, Icon, Avatar, Badge, Button, Button Group, Message, Separator, Skeleton
Layout Card, Accordion, Tabs, Timeline
Navigation Breadcrumb, Menu, Dropdown
Overlays and notifications Dialog, Alert, Slideover, Toast, Popover, Tooltip
Livewire data components Table, Calendar, Chart

Menu supports titled menu.category sections and menu.item submenus with optional icons. Put nested items in <x-slot:submenu> to create collapsible sections, with open for initial/bound state and transition for opening animations; closing hides the submenu immediately. Submenu items use compact triggers and indented content with a vertical border by default. Components own the list markup.

Blade component names use kebab case, for example <x-sirius::datetime-picker>, <x-sirius::file-upload>, and <x-sirius::button-group>.

Extend Sirius\Ui\Livewire\Table and implement query() and columns(); add filters() when needed. Extend Sirius\Ui\Livewire\Calendar and implement events(). Mount the concrete Chart component in a Livewire view:

Table row/bulk buttons can open application-defined Dialogs, Alerts, or Slideovers, or link to pages. Your application owns authorization, queries, persistence, and Calendar actions. Upload endpoints and server-side Richtext sanitization also belong to your application.

Configuration and Translations

Publish only the resources you want to customize:

config/sirius-ui.php configures Blade/Livewire namespaces, locale, timezone, phone country, currency separators/precision, and Toast position/duration. Toast defaults to top-end and 5000 milliseconds; a duration of zero keeps it visible until closed.

Setting Fallback order
Locale Explicit setting → sirius-ui.locale → app.locale → app.fallback_locale → en
Timezone Explicit setting → sirius-ui.timezone → app.timezone → UTC
Phone country country prop → sirius-ui.phone_country → sirius-ui.locale → app.locale → app.fallback_locale → US

UI strings are grouped by component in lang/vendor/sirius/{locale}/sirius-ui.php. Validation rule messages use lang/vendor/sirius/{locale}/validation.php. English translations are included; add other locale directories for your application. Richtext uses translation strings and has no locale prop.

Add the dark class to your layout's root element for the dark theme. Add sir-scrollbar to html or a scroll container for the package's scrollbar styling. Load CSS overrides after Sirius CSS. Published views should be reviewed when upgrading.

Customize font sizes with --sir-font-size-xs (0.75rem), --sir-font-size-sm (0.875rem), --sir-font-size-base (1rem), --sir-font-size-lg (1.125rem), and --sir-font-size-xl (1.25rem). Set overrides on :root or a container; labels and native controls inherit their field size, while Code and Link inherit the surrounding text size. Richtext also exposes --sir-richtext-heading-font-size, --sir-richtext-badge-font-size, and --sir-richtext-large-button-font-size. Avatar text follows its dimensions and the --sir-avatar-font-scale ratio (0.35).

Customize font families with --sir-font-family for component text and --sir-font-family-mono for inline Code and Richtext code blocks. Set them on :root or a container. Their default initial leaves the application's existing fonts in effect, including Tailwind font utilities. Code's block mode still inherits its parent's font. --sir-richtext-shortcut-font-family overrides Richtext keyboard hints independently; otherwise they use the main token or their original system font stack. These tokens select font families; your application loads any custom font files.

AI Assistance

The bundled sirius-ui-development skill gives coding agents package-specific guidance and offline API references. It is a development aid, not an AI service running inside your application.

For project-local installation:

Use --dry-run to preview changes. Re-run the command after upgrading the package; customized skill files require confirmation before replacement.

If your project uses Laravel Boost, select sirius/ui under Agent Skills during php artisan boost:install, then use php artisan boost:update after upgrades. Use either Boost or standalone installation for a given skill directory.

Development

From a package checkout:

Commit generated changes in dist/ and resources/data/. Consumers use the compiled distribution and do not need the package's frontend build dependencies. See the issue tracker for bug reports.

License

Sirius UI is licensed under the MIT license. Bundled dependency notices are included in dist/third-party-notices.txt and published with the assets.


All versions of ui with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
blade-ui-kit/blade-heroicons Version 2.7.0
illuminate/support Version ^12.61.1 || ^13.12.0
illuminate/view Version ^12.61.1 || ^13.12.0
livewire/livewire Version ^4.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package sirius/ui contains the following files

Loading the files please wait ...