Download the PHP package codesbytvt/smartmart360-sdk without Composer

On this page you can find all versions of the php package codesbytvt/smartmart360-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package smartmart360-sdk

SmartMart360 PHP SDK v2.7.0 (codesbytvt/smartmart360-sdk)

🔥 PHARMACY ENHANCED: Medicine Catalogue with Variants!

PHP SDK for integrating external applications (Hospital, Lab, Imaging, Insurance, Supplier Portal, etc.) with SmartMart360.

New in v2.5.0:

New in v2.4.0:

New in v2.3.0:

New in v2.7.0:

New in v2.6.0:

New in v2.5.0:

New in v2.4.0:

New in v2.3.0:

New in v2.2.0:

📦 Installation & Autoloading

Option 1: Install from Packagist (Recommended)

Option 2: Local Development Repository

If the SDK isn't published yet, add this to your composer.json:

Autoloading Verification

After installation, verify autoloading works:

🔧 Troubleshooting Autoloading Issues

If you get Class not found errors, try these solutions:

1. Regenerate Autoloader

2. Check Installation

3. Test Autoloading Manually

Create a test file:

4. Check PHP Include Path

5. Composer.json Configuration

Ensure your composer.json has:

6. Web Server Configuration

For Apache/Nginx, ensure vendor/ is accessible and the autoloader is loaded in your bootstrap file.

7. PHP Version Compatibility

Ensure you're using PHP 8.1+ as required by the SDK:

8. Run Autoloader Test

Use the included test script to diagnose issues:

This script will check:

Requirements

Installation

Autoloaded namespaces:

All classes are in separate files for proper autoloading:

Quick start

🔥 New Unified Items API

Get Items with Stock Filtering

The new getItems() method provides flexible inventory views:

Stock Filter Options

Filter Description Response Includes Stock Data
'all' Complete catalogue ❌ No
'in_stock' Items with stock > 0 ✅ Yes
'out_of_stock' Items with stock ≤ 0 ✅ Yes
'low_stock' Items needing restock ✅ Yes

Response Format

Legacy Methods (Still Supported)

📂 Categories API

Get Item Categories

Get the complete list of item categories for catalog management:

Response Structure:

Use Cases:

Request & response shape

Data contracts

🏥 Pharmacy Prescription Workflow

Medicine Catalogue & Prescription Creation

Example Response Structure

Display Name Generation:

Request & response shape

Using Document Type (RECOMMENDED - Primary Approach):

Using Transaction Type (Legacy - Only if needed):

Sample success response:

Common operations

Catalog & items

Parties (customers, suppliers, patients, doctors, etc.)

Transactions

Billing & payments

Reports

Reference values

Party types

Transaction types

Testing

Best practices


All versions of smartmart360-sdk with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
guzzlehttp/guzzle Version ^7.5
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package codesbytvt/smartmart360-sdk contains the following files

Loading the files please wait ...