DEV Community

Rupadana
Rupadana

Posted on

FilamentApiService : Create a custom handler

Introduction

Today, filament-api-service version 1.0.2 already have CreateHandler by default to create a resource. And i'm adding a command to create a custom handler.

Installation

composer require rupadana/filament-api-service
Enter fullscreen mode Exit fullscreen mode

Usage

U can execute this command to create a custom handler.

php artisan make:filament-api-handler BlogResource
Enter fullscreen mode Exit fullscreen mode

By default i'm using CreateHandler method inside custom handler. U need to update it manualy.

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs