Download the PHP package usamamuneerchaudhary/daftravel without Composer

On this page you can find all versions of the php package usamamuneerchaudhary/daftravel. 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 daftravel

Daftravel - Laravel Package for Daftra API

Latest Version on Packagist Scrutinizer Code Quality CodeFactor Build Status Code Intelligence Status Total Downloads Licence

A comprehensive Laravel package for integrating with the Daftra API. This package provides a clean, fluent interface for all Daftra API endpoints including products, customers, invoices, purchases, payments, and more.

Features

Installation

Install the package via Composer:

Publish the configuration file:

Configuration

Add your Daftra API credentials to your .env file:

Usage

Using the Facade

Using Dependency Injection

Available Services

All services support the following basic CRUD operations:

Note: Search functionality varies by endpoint. Some endpoints may support search via query parameters, while others may not. Check the official Daftra API documentation for endpoint-specific search capabilities.

Query Parameters

Common Parameters (Most Endpoints)

Path Parameters

Endpoint-Specific Parameters

Each endpoint may support additional parameters. Check the official Daftra API documentation for complete parameter lists.

Examples:

Note: The format parameter is automatically handled by the client for GET operations. All GET endpoints default to JSON format (.json). POST, PUT, and DELETE operations do not use the format parameter.

Supported Endpoints

The following endpoints are supported by this package. Each endpoint supports basic CRUD operations (all, find, create, update, delete):

Endpoint Service Method Common Parameters
/products products() limit, page
/clients customers() limit, page
/invoices invoices() limit, page
/categories categories() limit, page
/suppliers suppliers() limit, page
/stores stores() limit, page
/purchases purchases() limit, page
/payments payments() limit, page
/expenses expenses() limit, page
/reports reports() limit, page
/users users() limit, page
/taxes taxes() limit, page
/currencies currencies() limit, page
/price_lists priceLists() limit, page
/inventory inventory() limit, page
/transactions transactions() limit, page
/client_appointments appointments() limit, page
/follow_ups followUps() limit, page
/notes notes() limit, page
/time_tracking timeTracking() limit, page
/work_orders workOrders() limit, page
/credit_notes creditNotes() limit, page
/refund_receipts refundReceipts() limit, page
/client_payments clientPayments() limit, page
/journals journals() limit, page
/incomes incomes() limit, page
/purchase_refunds purchaseRefunds() limit, page
/stock_transactions stockTransactions() limit, page
/treasuries treasuries() limit, page
/client_attendance clientAttendance() limit, page
/site_info siteInfo() limit, page
/listing listings() limit, page

Important: Each endpoint may support additional parameters beyond the common ones listed above. Always check the official Daftra API documentation for the complete list of parameters supported by each endpoint.

Products

Customers

Invoices

Categories

Suppliers

Stores

Purchases

Payments

Expenses

Reports

Users

Taxes

Currencies

Price Lists

Inventory

Transactions

Appointments

Follow-ups

Notes

Time Tracking

Work Orders

Credit Notes

Refund Receipts

Client Payments

Journals

Incomes

Purchase Refunds

Stock Transactions

Treasuries

Client Attendance

Site Info

Listings

Error Handling

The package provides specific exception classes for different error scenarios:

Configuration Options

The package provides extensive configuration options:

Testing

Run the tests with:

Or run PHPUnit directly:

Requirements

License

The MIT License (MIT). Please see License File for more information.

Contributing

Please see CONTRIBUTING.md for details.

Security

If you discover any security related issues, please email the author instead of using the issue tracker.

Credits

Changelog

Please see CHANGELOG.md for more information on what has changed recently.


All versions of daftravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
illuminate/support Version ^12.0
illuminate/http Version ^12.0
guzzlehttp/guzzle Version ^7.0
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 usamamuneerchaudhary/daftravel contains the following files

Loading the files please wait ....