vasilgerginski/filament-accounting
最新稳定版本:v2.1.0
Composer 安装命令:
composer require vasilgerginski/filament-accounting
包简介
A Filament plugin for managing expenses, incomes and their types
README 文档
README
A Filament plugin for managing expenses, incomes, and their types in Laravel applications.
Requirements
| Version | Filament | Laravel | PHP |
|---|---|---|---|
| 2.x | ^4.0 | ^5.0 | ^11.28 | ^12.0 | ^8.2 |
| 1.x | ^3.0 | ^10.0 | ^11.0 | ^8.1 |
Features
- Expenses Management: Track expenses with CAPEX/OPEX categorization and amortization percentages
- Expense Types: Categorize your expenses with types
- Incomes Management: Track incomes with optional user/client association
- Income Types: Categorize your incomes with types
- Charts & Stats: Visual dashboards with pie charts and statistics widgets
- Date Range Filters: Filter data by date ranges
- Configurable: Customize currency, navigation group, and more
Installation
From Packagist (when published)
composer require vasilgerginski/filament-accounting
Local Development
Add the repository to your composer.json:
{
"repositories": [
{
"type": "path",
"url": "packages/vasilgerginski/filament-accounting"
}
]
}
Then require the package:
composer require vasilgerginski/filament-accounting:@dev
Setup
1. Publish and run migrations
php artisan vendor:publish --tag="filament-accounting-migrations"
php artisan migrate
2. Publish config (optional)
php artisan vendor:publish --tag="filament-accounting-config"
3. Register the plugin in your Filament Panel
In your AdminPanelProvider.php:
use VasilGerginski\FilamentAccounting\FilamentAccountingPlugin; public function panel(Panel $panel): Panel { return $panel // ... ->plugins([ FilamentAccountingPlugin::make(), ]); }
Configuration
The configuration file allows you to customize:
return [ // Navigation group name 'navigation_group' => 'Accounting', // Currency settings 'currency' => 'EUR', 'currency_symbol' => '€', 'currency_label' => 'EUR', // User relationship for incomes 'enable_user_relation' => true, 'user_model' => 'App\\Models\\User', 'user_label' => 'Client', 'user_role_filter' => null, // e.g., 'client' // Enable/disable specific resources 'resources' => [ 'expenses' => true, 'expense_types' => true, 'incomes' => true, 'income_types' => true, ], ];
Customizing Resources
You can enable/disable specific resources in the plugin:
FilamentAccountingPlugin::make() ->expenses(true) ->expenseTypes(true) ->incomes(true) ->incomeTypes(false), // Disable income types
License
MIT License. See LICENSE for more information.
vasilgerginski/filament-accounting 适用场景与选型建议
vasilgerginski/filament-accounting 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 61 次下载、GitHub Stars 达 1, 最近一次更新时间为 2025 年 12 月 03 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「Accounting」 「finance」 「filament」 「expenses」 「incomes」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 vasilgerginski/filament-accounting 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 vasilgerginski/filament-accounting 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 vasilgerginski/filament-accounting 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Sila PHP SDK for API Version 0.2
Simple OFX file parser
PHP SDK for Ledga.io - Programmatic double-entry ledgers for finance, gaming and multi-tenant SaaS
Access auditing middleware intended for use with Slim Framework applications
Accounting module for atmosphere and laravel
Library for working with monetary values, a BCMath library with rounding support.
统计信息
- 总下载量: 61
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 23
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-12-03