Download the PHP package iperamuna/filament-ace-editor without Composer

On this page you can find all versions of the php package iperamuna/filament-ace-editor. 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-ace-editor

Filament Ace Editor (Supporting Filament v5)

Latest Version on Packagist Total Downloads License

A powerful Ace Editor implementation for Filament v5 Forms and Infolists with syntax highlighting, themes, autocompletion, and read-only mode support.

Requirements

Installation

You can install the package via composer:

The package will automatically detect your Filament version and work seamlessly with your installation.

Usage

Basic Form Field

Advanced Configuration

Infolist Entry

Key Features

🔒 Read-Only Mode Control

The defaultReadOnly() method helps prevent unwanted edits, especially useful when editing existing records. You can control it with a boolean or closure:

Example Use Case: When a form is in create mode, the editor automatically opens in edit mode. When viewing or editing an existing record, it starts in read-only mode to prevent accidental changes. Users can toggle to edit mode when needed.

🎨 Theme Support

Available themes include: monokai, github, tomorrow, twilight, solarized_light, solarized_dark, and many more.

🔧 Toggleable Edit Mode

Allow users to switch between read-only and edit modes:

📏 Flexible Sizing

🧩 Extensions Support

Configuration

Publish the configuration file to customize defaults:

This creates config/filament-ace-editor.php:

Available Methods

Method Description Default
mode(string) Set syntax highlighting mode 'sh'
theme(string) Set editor theme 'monokai'
minLines(int) Set minimum editor height 15
maxLines(int) Set maximum editor height 50
toggleable(bool) Enable edit/read-only toggle true
defaultReadOnly(bool\|Closure) Set initial read-only state true
addExtension(string) Add Ace extension []
options(array) Override editor options []

Supported Languages

Ace Editor supports over 110 programming languages and markup formats. Common modes include:

Programming Languages:

Web Technologies:

Data & Config:

Scripting:

Markup:

See the Ace Editor documentation for the complete list of supported modes.

Publishing

Publish the views for customization:

Publish the configuration:

Supported Features

This package supports most powerful features from Ace Editor:

Changelog

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

Credits

License

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


All versions of filament-ace-editor with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^12.0
filament/filament Version ^5.0
spatie/laravel-package-tools Version ^1.15.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 iperamuna/filament-ace-editor contains the following files

Loading the files please wait ...