Download the PHP package letkode/form-schema without Composer

On this page you can find all versions of the php package letkode/form-schema. 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 form-schema

letkode/form-schema

Symfony Bundle para formularios dinámicos configurables desde base de datos.

Modela formularios en una jerarquía Form → Section → Group → Field, con i18n dinámico, 22 tipos de campo predefinidos y extensibles, opciones desde catálogo interno o repositorios del proyecto, renders estructurales en 3 niveles y caché PSR-6 opt-in.

Requiere PHP 8.4 · Symfony 7.x · Doctrine ORM ^3.4


Documentación

Documento Contenido
Instalación Composer, bundle, mapeo de entidades, migraciones
Configuración Todas las opciones del bundle con valores por defecto
Resolver API del FormSchemaResolver, fluent builder, DTOs de salida
Tipos de campo Los 22 tipos built-in, atributos, parámetros UI y option.data
Fuentes de opciones general (catálogo BD), entity (repositorios del proyecto)
Renders Renders de Form, Section y Group disponibles y su configuración
Caché Activar caché PSR-6, invalidación automática y manual
Nombres de tabla Personalizar tablas con table_prefix y table_names
Extensibilidad Crear tipos de campo, fuentes y renders propios
Traducciones Estructura i18n, cómo se resuelve el locale activo

Inicio rápido

Mapea las entidades en tu Entity Manager (ver Instalación):

Resuelve el schema de un formulario:


Estructura del paquete

Jerarquía de entidades

Cada nivel puede tener parameters (JSON libre), traducciones y un type_render que controla su render estructural.

Renders en 3 niveles

Nivel Responsabilidad Tipos disponibles
FormRender Navegación entre secciones default, stepper, tabs
SectionRender Distribución de grupos dentro de una sección default, accordion, collapsible, tabs
GroupRender Distribución de campos dentro de un grupo default, fieldset, matrix, tabs

Contexto de acción (actions)

Los campos pueden configurar su visibilidad y atributos por contexto:

El resolver aplica withContext('create') para filtrar campos deshabilitados y sobrescribir required, readonly y otros atributos dinámicos.

Tipos de campo built-in

Categoría Tipos
Texto text, email, password, textarea, rich_text
Numérico number, range
Fecha date, datetime, time
Selección select, select-multiple, radio, checkbox, combobox, duallist, tree
Especiales file, switch, rating, pin

All versions of form-schema with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
ext-intl Version *
doctrine/orm Version ^3.4
doctrine/dbal Version ^4.0
doctrine/doctrine-bundle Version ^3.2.2
symfony/framework-bundle Version ^7.0
symfony/dependency-injection Version ^7.0
symfony/http-kernel Version ^7.0
symfony/uid Version ^7.0
symfony/cache Version ^7.0
psr/cache Version ^3.0
stof/doctrine-extensions-bundle Version ^1.12
gedmo/doctrine-extensions Version ^3.15
letkode/helpers Version ^1.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 letkode/form-schema contains the following files

Loading the files please wait ...