承接 vasilgerginski/filament-accounting 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

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.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-12-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固