PHPackages                             lastdino/matex - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. lastdino/matex

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

lastdino/matex
==============

Matex base package for procurement workflows.

v0.1.9.1(1mo ago)087MITBladePHP ^8.3

Since Feb 20Pushed 2mo agoCompare

[ Source](https://github.com/lastdino/matex)[ Packagist](https://packagist.org/packages/lastdino/matex)[ RSS](/packages/lastdino-matex/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (12)Versions (25)Used By (0)

Matex (Procurement Workflow Package)
====================================

[](#matex-procurement-workflow-package)

`lastdino/matex` は、Laravel 12 用の調達・在庫管理ワークフローパッケージです。 発注管理、入荷管理、在庫移動、化学物質管理（SDS）などの機能を提供します。

主な機能
----

[](#主な機能)

- **発注管理 (Purchase Orders)**: 発注書の作成、PDF出力、承認フロー連携。
- **入荷管理 (Receiving)**: 発注済商品の入荷処理、検品、在庫への自動反映。
- **在庫管理 (Inventory)**: 現在庫の把握、在庫移動の記録、入出庫履歴。
- **資材管理 (Materials)**: SKU管理、再発注点（最小/最大在庫）設定。
- **化学物質管理**: SDS（安全データシート）の管理、GHSラベル表示、リスクアセスメント連携。
- **サプライヤー管理**: 仕入先情報の管理。
- **設定**: 消費税（期間指定可能）、通貨表示、PDFレイアウト、承認フローIDの設定。

インストール
------

[](#インストール)

### 1. Composer でインストール

[](#1-composer-でインストール)

```
composer require lastdino/matex
```

### 2. マイグレーションの実行

[](#2-マイグレーションの実行)

データベーステーブルを作成します。

```
php artisan migrate
```

### 3. フロントエンド依存パッケージのインストール

[](#3-フロントエンド依存パッケージのインストール)

QRコードのスキャン機能を使用するには、`jsqr` をインストールし、ビルドする必要があります。

```
npm install jsqr
npm run build
```

### 4. アセットの公開（オプション）

[](#4-アセットの公開オプション)

設定ファイルやビューをカスタマイズしたい場合に公開します。

```
# 設定ファイルの公開 (config/matex.php)
php artisan vendor:publish --tag=matex-config

# ビューの公開 (resources/views/vendor/matex)
php artisan vendor:publish --tag=matex-views

# 言語ファイルの公開 (lang/vendor/matex)
php artisan vendor:publish --tag=matex-lang
```

基本設定
----

[](#基本設定)

`config/matex.php` にて以下の設定が可能です。

- `route_prefix`: 画面URLのプレフィックス（デフォルト: `matex`）
- `middleware`: 画面アクセスのミドルウェア（デフォルト: `['web', 'auth']`）
- `table_prefix`: データベーステーブルのプレフィックス（デフォルト: `matex_`）
- `api_key`: 外部連携用APIキー
- `monox`: MonoXとの連携設定

使い方
---

[](#使い方)

インストール後、ブラウザで `/matex`（デフォルト設定の場合）にアクセスするとダッシュボードが表示されます。

### 主なルート

[](#主なルート)

- ダッシュボード: `/matex`
- 発注一覧: `/matex/purchase-orders`
- 入荷待ち一覧: `/matex/pending-receiving`
- 資材管理: `/matex/materials`
- 設定画面: `/matex/settings/options`

依存パッケージ
-------

[](#依存パッケージ)

- `laravel/framework` (^12.0)
- `livewire/livewire` (^4.0)
- `livewire/flux` (^2.0)
- `lastdino/approval-flow`: 承認ワークフロー
- `lastdino/chrome-laravel`: PDF生成
- `spatie/laravel-medialibrary`: SDS等のファイル管理
- `jsqr`: QRコードスキャン機能（フロントエンド）

ライセンス
-----

[](#ライセンス)

MIT License.

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance87

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

24

Last Release

55d ago

PHP version history (2 changes)v0.1PHP ^8.0

v0.1.9PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/2a91f54a5ec14785c7b8531214937c76ec0ec0874736a709c2bd973fdb9e619b?d=identicon)[lastdino](/maintainers/lastdino)

---

Top Contributors

[![lastdino](https://avatars.githubusercontent.com/u/87484368?v=4)](https://github.com/lastdino "lastdino (49 commits)")

### Embed Badge

![Health badge](/badges/lastdino-matex/health.svg)

```
[![Health](https://phpackages.com/badges/lastdino-matex/health.svg)](https://phpackages.com/packages/lastdino-matex)
```

###  Alternatives

[illuminate/pipeline

The Illuminate Pipeline package.

9346.6M213](/packages/illuminate-pipeline)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

116.6k](/packages/tomshaw-electricgrid)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
