For AI agents: visit https://laravel-admin-panel.readme.io/llms.txt for an index of all pages formatted in Markdown and endpoints in OpenAPI.
Jump to Content
Laravel Admin PanelGuidesHomeGithubDemo
HomeGuidesChangelog
GuidesHomeGithubDemoLog InLaravel Admin Panel
Guides
Log In
Custom column

GETTING STARTED

  • Welcome
  • Installation
    • Adding the Service Provider
  • Configurations

CORE CONCEPTS

  • Routing
  • File Manager
  • Menus
  • Form Designer
  • Database Manager
  • CRUD Generator
    • Field Options
    • Description
    • Validation
    • Generating Slugs
    • Relationships
    • Null Values
    • Display options
    • Cropper Images
    • Custom column
    • Filters
    • Ajax Lists
    • Change list
  • Settings
  • Compass
  • Roles and Permissions
  • Helper methods

CUSTOMIZATION

  • Overriding Views
  • Using custom HTTP controllers
  • Overriding Routes
  • Additional CSS And JS (Theming)
  • Enabling Soft-Delete
  • Overriding Copyright
  • CRUD
  • Model Validation
Powered by 

Custom column

Suggest Edits

You can also create your own column in your CRUD, for example number_products, and create an attribute in your model:

    public function getNumberProductsAttribute(){
        return Product::where('category_id', $this->id)->count();
    }