Download the PHP package parcelado-lara/payment-plan-php without Composer

On this page you can find all versions of the php package parcelado-lara/payment-plan-php. 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 payment-plan-php

Lara Payment Plan PHP SDK

This is the Lara Payment Plan SDK, the core of the Lara Credit Proposal System.

About

This SDK, like other Lara Payment Plan SDKs, is a wrapper around the Lara Payment Plan Rust library. Currently, the library is available for Linux and Windows. MacOS support is planned for the future.

Requirements

Installation

To install the Lara Payment Plan PHP SDK, you can use Composer:

The SDK needs to download the compiled Rust library, so you may need to allow the package manager to download it.

Usage

To use the Lara Payment Plan PHP SDK, you can import it into your project as follows:

calculate

Calculates a number of payment plans without down payment given a set of Params. Returns a Response[] consisting of plans from 1 installment up to the number of installments requested, so that you can choose the one that best fits your needs. If the installmentAmount of the plan is less than the minInstallmentAmount it will not be included in the response.

Parameters:

Errors:

calculateDownPayment

Calculates a number of payment plans with down payment given a set of DownPaymentParams. Returns a DownPaymentResponse[] with the payment plan details. This will be a plan for 1 installment up to the number of installments requested, so that you can choose the one that best fits your needs. If the installmentAmount of the plan is less than the minInstallmentAmount it will not be included in the response.

Parameters:

Errors:

disbursementDateRange

Calculates a start and end date for a disbursement period based on a baseDate and a numberOfDays.

Parameters:

getNonBusinessDaysBetween

Calculates the non-business (weekends and bank holidays) days between two dates, and returns an array of non-business days.

Parameters:

nextDisbursementDate

Calculates the next disbursement date based on a baseDate

Parameters:

Warning: As of now, if baseDate=today baseDate will be considered a invalid date, but this can change in the future.

Contributing

This repository is and the code in it is a carbon copy of the code on Parcelado Lara Payment Plan. So to contribute, you can contribute directly to the payment plan repository and the changes will be reflected here after a release.

License

This software is provided free of charge for personal or internal business use only. Modification, redistribution, sublicensing, or reverse engineering is not permitted. Copyright (c) 2025 SWEETPAY SOLUCOES FINANCEIRAS LTDA. All rights reserved.


All versions of payment-plan-php with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
ext-ffi Version *
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 parcelado-lara/payment-plan-php contains the following files

Loading the files please wait ...