Download the PHP package qalainau/filament-univer-sheet without Composer

On this page you can find all versions of the php package qalainau/filament-univer-sheet. 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 filament-univer-sheet

Filament Univer Sheet

Latest Version on Packagist GitHub Tests Action Status Total Downloads

A Filament plugin that integrates Univer Sheet — a powerful, modern spreadsheet engine — as form fields, infolist entries, and table columns.

Table of Contents

Features

Requirements

Installation

Install the package via Composer:

Publish the Filament assets:

Register the plugin in your panel provider:

Optionally, publish the config file:

Usage

Form Field

Use SpreadsheetField to add a full spreadsheet editor to your forms:

You may customize the appearance:

Infolist Entry

Use SpreadsheetEntry to display spreadsheet data in a read-only view. Editing and selection are automatically disabled:

[!NOTE] By default, SpreadsheetEntry hides the toolbar and formula bar. You may re-enable them with ->showToolbar() and ->showFormulaBar().

Table Column

Use SpreadsheetColumn to show a compact spreadsheet preview in your table:

The preview renders as a mini spreadsheet with row numbers, header styling, and right-aligned numbers.

Database Setup

Store spreadsheet data in a longText or json column:

[!WARNING] Do not use dehydrateStateUsing(fn ($state) => json_encode($state)). Eloquent's JSON cast handles serialization automatically — double-encoding will corrupt the data.

Configuration

Plugin Configuration

Configure defaults via the plugin instance in your panel provider:

Config File

After publishing, you may edit config/univer-sheet.php:

API Reference

SpreadsheetField

Method Default Description
height(string\|Closure\|null) null (60vh) Fixed height of the spreadsheet
minHeight(string\|Closure) '400px' Minimum height
showToolbar(bool\|Closure) true Show/hide the toolbar
showFormulaBar(bool\|Closure) true Show/hide the formula bar
showSheetTabs(bool\|Closure) true Show/hide sheet tabs at the bottom
showHeaderBar(bool\|Closure) true Show/hide the header bar (ribbon tabs, toolbar, formula bar area)
showContextMenu(bool\|Closure) true Show/hide the right-click context menu
ribbonType(string\|Closure\|null) null Ribbon display style: 'collapsed', 'simple', or 'classic'

SpreadsheetEntry

Method Default Description
height(string\|Closure) '300px' Height of the spreadsheet
showToolbar(bool\|Closure) false Show/hide the toolbar
showFormulaBar(bool\|Closure) false Show/hide the formula bar
showSheetTabs(bool\|Closure) true Show/hide sheet tabs
showHeaderBar(bool\|Closure) false Show/hide the header bar
showContextMenu(bool\|Closure) false Show/hide the right-click context menu
ribbonType(string\|Closure\|null) null Ribbon display style

SpreadsheetColumn

Method Default Description
previewRows(int\|Closure) 4 Number of rows to display
previewColumns(int\|Closure) 4 Number of columns to display
previewHeight(string\|Closure\|null) null (auto) Max height of the preview

Development

Building JS Assets

The plugin bundles Univer Sheet via esbuild. To rebuild:

Then publish the assets from the project root:

Watch Mode

Testing

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.

This package bundles Univer which is licensed under the Apache License 2.0. See NOTICE for details of bundled third-party dependencies.


All versions of filament-univer-sheet with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
filament/filament Version ^5.0
spatie/laravel-package-tools Version ^1.15 || ^2.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 qalainau/filament-univer-sheet contains the following files

Loading the files please wait ...