visio / mutabakat
A FilamentPHP 3 plugin for managing mutabakat records
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/visio/mutabakat
Requires
- php: ^8.2
- filament/filament: ^3.0
- illuminate/contracts: ^11.0|^12.0
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- laravel/pint: ^1.13
This package is auto-updated.
Last update: 2025-12-16 09:47:46 UTC
README
A FilamentPHP 3 plugin for managing mutabakat (reconciliation) records in Laravel applications.
Features
- Complete CRUD operations for mutabakat records
- Integration with FilamentPHP 3
- Support for Laravel 11 and 12
- Soft deletes support
- Comprehensive table structure for reconciliation tracking
- Configurable status options
- Multi-currency support
Requirements
- PHP 8.2 or higher
- Laravel 11.x or 12.x
- FilamentPHP 3.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 keypark_id- Park identifierrow_hash- Unique hash for the rowprovision_date- Date of provisioncompany- Company nameparking_name- Parking facility nametransaction_name- Transaction type nametransaction_count- Number of transactionstotal_amount- Total transaction amountcommission_amount- Commission amountnet_transfer_amount- Net transfer amountpayment_date- Payment datestatus- Record status (pending, completed, cancelled)deleted_at- Soft delete timestampcreated_at- Creation timestampupdated_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.