I created a Laravel package to generate clean API modules

작성자

카테고리:

← 피드로
DEV Community · Hovik Ghambaryan · 2026-07-26 개발(SW)

Hovik Ghambaryan

Hi everyone,I just released my first package — strides/laravel-api-module.The idea was simple: stop copying the same boilerplate code every time you create a new API resource. So I made a generator that creates a clean module structure using the Action + Repository + Transformer pattern.What you get with one command:Action classes
Repository with interface
Transformer (using spatie/laravel-data)
Model and migration
Routes file

The package is well documented with examples.Would love to hear your feedback and suggestions!Links:Documentation: https://strides-hovo.github.io/Laravel-api-module/
GitHub: https://github.com/strides-hovo/Laravel-api-module
Packagist: https://packagist.org/packages/strides/laravel-api-module

원문에서 계속 ↗

코멘트

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다