Download the PHP package pirabyte/erecht24-laravel without Composer

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

eRecht24 Laravel

Laravel integration for the erecht24/rechtstexte-sdk package.

This package is a thin service layer around the official SDK. It fetches supported legal texts and returns DTOs so your application can decide how to render, cache, store, or publish them.

Installation

Publish the configuration file:

Configuration

Set the required API key:

Optional configuration:

ERECHT24_PLUGIN_KEY may be left unset when you only have an API key. ERECHT24_CACHE_STORE and ERECHT24_CACHE_PREFIX are also available in the published config.

Usage

Use the service directly:

Or use the facade:

Available service methods:

Supported Documents

Only document types supported by erecht24/rechtstexte-sdk are exposed:

Terms of Service documents are not supported by this package because the SDK does not expose them.

Caching

Successful responses are cached when erecht24.cache.enabled is true. Cache keys use this format:

Use clearCache() to forget all supported document cache keys, or pass a LegalTextType to clear a single document type.

Disclaimer

Pirabyte is not affiliated with, endorsed by, or sponsored by eRecht24. eRecht24 is a trademark of its respective owner.

This package is technical integration software and is not legal advice. Users are responsible for validating their legal texts and their eRecht24 account/API setup.

License

This wrapper package is open-sourced software licensed under the MIT license.

It depends on erecht24/rechtstexte-sdk, which has its own license and terms.


All versions of erecht24-laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
erecht24/rechtstexte-sdk Version ^1.0
illuminate/support Version ^10.0|^11.0|^12.0|^13.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 pirabyte/erecht24-laravel contains the following files

Loading the files please wait ...