定制 jeffersongoncalves/filament-erp-stock 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jeffersongoncalves/filament-erp-stock

Composer 安装命令:

composer require jeffersongoncalves/filament-erp-stock

包简介

Filament v5 panel resources for the Laravel ERP stock module — items, warehouses, stock entries and the perpetual inventory ledger.

README 文档

README

Filament v5 panel resources for the Laravel ERP stock module — items, warehouses, stock entries and the perpetual inventory ledger.

This package is the UI layer for the jeffersongoncalves/laravel-erp-stock domain package (namespace JeffersonGoncalves\Erp\Stock\). It mirrors the reference jeffersongoncalves/filament-erp-accounting package.

Installation

composer require jeffersongoncalves/filament-erp-stock

TODO (temporary): Until the domain packages are published on Packagist, the dependency chain is resolved from local path repositories declared in composer.json. Path repos are not transitive, so the stock, accounting and core packages are all listed:

"repositories": [
    { "type": "path", "url": "../../laravel/laravel-erp-stock", "options": { "symlink": false } },
    { "type": "path", "url": "../../laravel/laravel-erp-accounting", "options": { "symlink": false } },
    { "type": "path", "url": "../../laravel/laravel-erp-core", "options": { "symlink": false } }
]

Remove this repositories entry once the domain packages are available on Packagist.

Usage

Register the plugin on a Filament panel:

use JeffersonGoncalves\FilamentErp\Stock\FilamentErpStockPlugin;

$panel->plugin(
    FilamentErpStockPlugin::make()
        ->navigationGroup('ERP — Stock'),
);

Resources

Resource Purpose
ItemResource Items (UOM, valuation method, batch/serial flags, default warehouse, brand)
WarehouseResource Warehouses (tree via parent, inventory GL account)
PriceListResource Price lists (selling/buying)
ItemPriceResource Item prices
BatchResource Batches
SerialNoResource Serial numbers
StockEntryResource Stock entries (+ Details RM, Submit/Cancel)
MaterialRequestResource Material requests (+ Items RM, Submit/Cancel — no ledger)
DeliveryNoteResource Delivery notes (+ Items RM, Submit/Cancel — outbound + COGS)
PurchaseReceiptResource Purchase receipts (+ Items RM, Submit/Cancel — inbound)
StockReconciliationResource Stock reconciliations (+ Items RM, Submit/Cancel)
StockLedgerEntryResource Read-only perpetual inventory ledger viewer
BinResource Read-only live stock balance (per item/warehouse)

Transaction resources expose Submit and Cancel record actions that drive the domain document lifecycle. Ledger-posting documents collect the offsetting (counter) GL account in the submit modal; submitting writes the stock ledger entries, updates the bins and posts the balanced general-ledger impact, while cancelling reverses all three.

Widgets

Widget Purpose
StockBalanceWidget Total stock value and number of items in stock
LowStockWidget Count of bins at or below the reorder threshold

Testing

composer test

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-06-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固