Download the PHP package chiragparekh/katana-php-sdk without Composer
On this page you can find all versions of the php package chiragparekh/katana-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package katana-php-sdk
Katana PHP SDK
A modern PHP SDK for the Katana MRP API. This SDK provides a clean, fluent interface for interacting with Katana's manufacturing resource planning system.
Installation
You can install the package via Composer:
Basic Usage
First, you need to initialize the Katana client with your API token:
Products Resource Example
The SDK provides a fluent interface for working with Katana resources. Here's how you can work with products:
List All Products
Get a Specific Product
Create a New Product
Update a Product
Delete a Product
Supported Resources
The Katana PHP SDK supports the following resources with full CRUD operations:
Core Resources
- Products - Manage your product catalog
- Materials - Handle raw materials and components
- Variants - Product variants and configurations
- Suppliers - Supplier management
- Customers - Customer information and addresses
- Locations - Warehouse and facility locations
Order Management
- Sales Orders - Customer sales orders and fulfillment
- Sales Order Rows - Individual line items in sales orders
- Purchase Orders - Supplier purchase orders
- Purchase Order Rows - Individual line items in purchase orders
Manufacturing
- Manufacturing Orders - Production orders and scheduling
- Manufacturing Order Operation Rows - Manufacturing operations and tasks
- Manufacturing Order Recipe Rows - Recipe ingredients and materials
- BOM Rows - Bill of Materials for products
Inventory & Operations
- Inventory - Current stock levels and inventory management
- Inventory Movements - Stock movements and transactions
- Webhooks - Event notifications and integrations
Working with Other Resources
All resources follow the same pattern as the Products example above. Here are some additional examples:
Sales Orders
Manufacturing Orders
Inventory Management
BOM (Bill of Materials)
Error Handling
The SDK will throw exceptions for API errors:
Pagination
Most list operations support pagination:
Data Transfer Objects (DTOs)
All responses are automatically converted to strongly-typed DTOs with proper type hints:
Requirements
- PHP 8.1 or higher
- Composer
- Guzzle HTTP client (automatically installed)
License
This package is open-sourced software licensed under the MIT license.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Support
For support, please open an issue on GitHub.
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
- Katana MRP for the amazing API
- Saloon PHP for the HTTP client foundation
- All contributors who have helped improve this package