Download the PHP package justbetter/laravel-exact-client without Composer

On this page you can find all versions of the php package justbetter/laravel-exact-client. 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 laravel-exact-client

Laravel Exact Client

Tests Coverage Analysis Total downloads

A client to communicate with Exact from your Laravel application.

Installation

Install the composer package.

Setup

Publish the configuration of the package.

Run the migrations.

Add the following keys to your .env file:

Out of the box, the connection is called default.

Middleware

By default, no middleware has been added to authorize with Exact. Update the middleware in your configuration to add proper authentication and authorization.

Exact Apps

You have to create a new app in Exact Online. Make sure your account has the necessary permissions, otherwise you will be redirected back to the login page.

  1. Open the login page.
  2. Click on the login button in the section "Exact Online App Store"
  3. Register a new app.

Make sure the redirect URL is the callback URL of the application. This must be an HTTPS address.

Divisions in the configuration file must be unique across all connections.

Initiate Authentication

In order to initiate the authentication process with Exact, open the following link.

After finishing the process, you can check your connection by requesting all available divisions.

Tokens are stored in the database.

Retaining Access

Making calls to Exact will make sure the tokens remain valid. The package automatically refreshes the tokens when required. If you are not regularly making calls to Exact, you should add the command below to your scheduler. Otherwise, the refresh token may expire and you'll have to authenticate with Exact again. A refresh token is valid for 30 days.

Rate Limits

Exact is known for their strict rate limiting. It's generally recommended to distribute a load over a longer period of time. To prevent unnessecary failures further, this package includes a RateLimitMiddleware which is a job middleware to automatically release jobs back on the queue if a rate limit has been exceeded.

Rate limits are stored in the database.

Quality

To ensure the quality of this package, run the following command:

This will execute three tasks:

  1. Makes sure all tests are passed
  2. Checks for any issues using static code analysis
  3. Checks if the code is correctly formatted

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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


All versions of laravel-exact-client with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
guzzlehttp/guzzle Version ^7.5
laravel/framework Version ^11.0|^12.0
spatie/laravel-activitylog Version ^4.9
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 justbetter/laravel-exact-client contains the following files

Loading the files please wait ....