定制 visio/mutabakat 二次开发

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

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

visio/mutabakat

Composer 安装命令:

composer require visio/mutabakat

包简介

A FilamentPHP 4 plugin for managing mutabakat records

README 文档

README

A FilamentPHP 4 plugin for managing mutabakat (reconciliation) records in Laravel applications.

Latest Version on Packagist Total Downloads

Features

  • Complete CRUD operations for mutabakat records
  • Integration with FilamentPHP 4
  • Support for Laravel 11 and 12
  • Soft deletes support
  • Comprehensive table structure for reconciliation tracking
  • Configurable status options
  • Multi-currency support

Requirements

  • PHP 8.3 or higher
  • Laravel 11.x or 12.x
  • FilamentPHP 4.x

Installation

You can install the package via composer:

composer require visiosoft/mutabakat

Run the migrations:

php artisan migrate

The migrations will be automatically loaded from the package.

Usage

Register the Plugin

Add the plugin to your Filament panel provider:

use Visiosoft\Mutabakat\MutabakatPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            MutabakatPlugin::make(),
        ]);
}

Database Structure

The plugin creates a mutabakat table with the following fields:

  • id - Primary key
  • park_id - Park identifier
  • row_hash - Unique hash for the row
  • provision_date - Date of provision
  • company - Company name
  • parking_name - Parking facility name
  • transaction_name - Transaction type name
  • transaction_count - Number of transactions
  • total_amount - Total transaction amount
  • commission_amount - Commission amount
  • net_transfer_amount - Net transfer amount
  • payment_date - Payment date
  • status - Record status (pending, completed, cancelled)
  • deleted_at - Soft delete timestamp
  • created_at - Creation timestamp
  • updated_at - Last update timestamp

Model Usage

You can use the Mutabakat model in your application:

use Visiosoft\Mutabakat\Models\Mutabakat;

// Create a new record
$mutabakat = Mutabakat::create([
    'park_id' => 1,
    'company' => 'Example Company',
    'parking_name' => 'Main Parking',
    'transaction_name' => 'Daily Settlement',
    'transaction_count' => 150,
    'total_amount' => 15000.00,
    'commission_amount' => 750.00,
    'net_transfer_amount' => 14250.00,
    'status' => 'pending',
]);

// Query records
$pending = Mutabakat::where('status', 'pending')->get();
$completed = Mutabakat::where('status', 'completed')->get();

Configuration

After installation, you can customize the configuration in config/mutabakat.php:

return [
    'enabled' => true,
    'currency' => 'TRY',
    'statuses' => [
        'pending' => 'Pending',
        'completed' => 'Completed',
        'cancelled' => 'Cancelled',
    ],
    'navigation' => [
        'icon' => 'heroicon-o-document-text',
        'sort' => 10,
        'group' => null,
    ],
];

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固