定制 michael-orenda/fiscal 二次开发

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

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

michael-orenda/fiscal

最新稳定版本:v1.0.0

Composer 安装命令:

composer require michael-orenda/fiscal

包简介

A Laravel 12 fiscal management module providing fiscal years, periods, closing rules, period locking, and API endpoints for accounting systems.

README 文档

README

michael-orenda/fiscal is a lightweight Laravel 12 package for managing fiscal years, fiscal periods, and date validation for financial systems. It is designed as a reusable module for accounting, microfinance, ERP, and SACCO applications.

This package focuses on:

  • Generating fiscal years
  • Generating fiscal periods (Monthly, Quarterly, 4-4-5, or fully custom)
  • Opening, closing, and locking periods
  • Validating dates against fiscal rules
  • Providing clean API endpoints

Installation

composer require michael-orenda/fiscal

Configuration

php artisan vendor:publish --provider="MichaelOrenda\Fiscal\Providers\FiscalServiceProvider"

Database Migrations

Creates fiscal_years and fiscal_periods.

Usage Example

$fiscal = app(MichaelOrenda\Fiscal\Services\FiscalService::class);
$year = $fiscal->createYear('2025-01-01', 'monthly');

API Endpoints

  • GET /api/orenda/fiscal/years
  • POST /api/orenda/fiscal/years
  • GET /api/orenda/fiscal/years/{id}
  • POST /api/orenda/fiscal/periods/{id}/close
  • POST /api/orenda/fiscal/periods/{id}/lock
  • POST /api/orenda/fiscal/periods/{id}/open
  • POST /api/orenda/fiscal/validate-date

统计信息

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

GitHub 信息

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

其他信息

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