New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

jobmetric/laravel-custom-field

This is a custom field management package for Laravel that you can use in your projects.
1,103 5

Larablocks Analysis

jobmetric/laravel-custom-field works with Laravel 9 to 13 (latest release 2.3.1, Sep 28, 2026).

Promising: maintained and up to date, meets 2 of 4 checks; not yet widely used.

  • Works with Laravel 13, the current version
  • Released in the last 12 months (Sep 28, 2026)
  • 701 downloads a month (needs 10,000)
  • 5 GitHub stars (needs 100)

State

Actively maintained
  • Last stable release: Sep 28, 2026.
  • 4 releases in the last 12 months.
  • First released: Nov 29, 2024.
  • Monthly downloads: 701.
  • 1 open issue on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 3, 2026.

Install
composer require jobmetric/laravel-custom-field
Latest Version:2.3.1
PHP:>=8.0.1
Laravel:9 – 13
License:MIT
Last Updated:Sep 28, 2026
Links: GitHub  ·  Packagist
Maintainer: majidmohammadian

Contributors Forks Stargazers MIT License LinkedIn

Laravel Custom Field

Build Forms. Beautifully and Consistently.

Laravel Custom Field simplifies form field creation and rendering in Laravel applications. Stop writing HTML manually and start building forms programmatically with confidence. It provides a fluent builder API to define, render, and serialize form fields with consistent HTML output—perfect for building dynamic forms, admin panels, and API-driven form builders. This is where powerful form building meets developer-friendly simplicity—giving you complete control over form fields without the complexity.

Why Laravel Custom Field?

Fluent Builder API

Laravel Custom Field provides a clean, chainable API for building form fields. Set attributes, properties, options, and data attributes in a single fluent chain—no more scattered HTML or inconsistent form rendering.

Consistent HTML Output

All fields render with consistent HTML structure, making it easy to style and maintain forms across your application. The package handles all the boilerplate, so you focus on your business logic.

Extensible Architecture

Create custom field types by extending the base classes. The package uses a registry system that makes it easy to add new field types and customize existing ones.

Asset Management

Fields can include their own JavaScript and CSS assets. The package automatically collects and provides asset paths, making it easy to include field-specific functionality.

What is Custom Field Management?

Custom field management is the process of programmatically creating, configuring, and rendering form fields. Traditional approaches often involve:

  • Writing HTML manually (error-prone, inconsistent)
  • Using form builders (limited flexibility)
  • Creating custom components (time-consuming)

Laravel Custom Field solves these challenges by providing:

  • Fluent API: Chain methods to build fields
  • Type Safety: Strongly-typed field classes
  • Consistent Output: Standardized HTML structure
  • Extensibility: Easy to create custom field types
  • Asset Management: Automatic script/style collection
  • Template System: Customizable blade templates

Consider a dynamic form builder where administrators can create forms with different field types. With Laravel Custom Field, you can build fields programmatically, render them consistently, and serialize them for storage or API responses. The power of custom field management lies not only in flexible field creation but also in making it easy to extend, customize, and maintain throughout your application.

What Awaits You?

By adopting Laravel Custom Field, you will:

  • Build dynamic forms - Create forms programmatically from database configurations
  • Simplify form rendering - Consistent HTML output across all fields
  • Improve maintainability - Fluent API reduces code complexity
  • Enable extensibility - Create custom field types easily
  • Manage assets automatically - Scripts and styles collected automatically
  • Maintain clean code - Simple, intuitive API that follows Laravel conventions

Quick Start

Install Laravel Custom Field via Composer:

composer require jobmetric/laravel-custom-field

Documentation

Ready to transform your Laravel applications? Our comprehensive documentation is your gateway to mastering Laravel Custom Field:

📚 Read Full Documentation →

The documentation includes:

  • Getting Started - Quick introduction and installation guide
  • CustomFieldBuilder - Fluent API for building fields
  • Field Types - All supported HTML input types
  • Attributes & Properties - Configure field attributes and properties
  • Options Builder - Build select, radio, and checkbox options
  • Data Attributes - Add data attributes for JavaScript integration
  • Registry & Factory - Extend and customize field types
  • Commands - Generate custom fields and IDE helpers
  • Real-World Examples - See how it works in practice

Contributing

Thank you for participating in laravel-custom-field. A contribution guide can be found here.

License

The laravel-custom-field is open-sourced software licensed under the MIT license. See License File for more information.

Related Packages

jobmetric/laravel-star

This is a star rating management package for any object in Laravel that you can...

1,721 7
jobmetric/laravel-event-system

This is a event system management package for Laravel that you can use in your p...

1,695 7
jobmetric/laravel-package-core

It is a standard package of different components of Laravel that helps you write...

4,131 11
samuelterra22/laravel-users-online

This package will provide an online users management.

1,908 3
laragear/meta

A Laravel Package helper for Laravel Packages

1,478,913 7

Version History

Version Released PHP Laravel License
2.3.1 >=8.0.1 >=9.19 MIT
2.2.1 >=8.0.1 >=9.19 MIT
2.2.0 >=8.0.1 >=9.19 MIT
2.1.1 >=8.0.1 >=9.19 MIT
2.1.0 >=8.0.1 >=9.19 MIT