Download the PHP package mrpowerup/filament-sql-field without Composer
On this page you can find all versions of the php package mrpowerup/filament-sql-field. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mrpowerup/filament-sql-field
More information about mrpowerup/filament-sql-field
Files in mrpowerup/filament-sql-field
Package filament-sql-field
Short Description And a field to write SQL sentences using codemirror 5.
License MIT
Informations about the package filament-sql-field
filament-sql-field
Installation Filament v5.x
You can install the package via composer:
Installation Filament v4.x
You can install the package via composer:
Installation Filament v3.x
You can install the package via composer:
Or if you want to use 1.x version of the package you can use:
Or if you want to use 2.x version of the package you can use:
Usage
Configuration
You can publish the configuration file using:
This will create a config/filament-sql-field.php file where you can customize the available SQL dialects and add predefined templates.
Dialects
You can define which SQL dialects are available in the editor's "Change Meme" dropdown:
Templates
You can add predefined SQL templates that users can insert via the "Templates" dropdown:
MIME types defined
- text/x-sql
- text/x-mysql
- text/x-mariadb
- text/x-cassandra
- text/x-plsql
- text/x-mssql
- text/x-hive
- text/x-pgsql
- text/x-gql
- text/x-gpsql
- text/x-esper
- text/x-sqlite
- text/x-sparksql
- text/x-trino
If you need to update the editor value with dispatch here is an example:
Links
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-sql-field with dependencies
filament/forms Version ^5.0
spatie/laravel-package-tools Version ^1.15.0
phpoffice/phpspreadsheet Version ^5.1