Download the PHP package uhin/laravel_api without Composer

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

laravel_api

Devs: To create a new release for composer you need to make your commit, add a tag (new version number), and then push the commit and the tag.

In PHPStorm: Commit, click on log, right click on commit and add tag, push (check push tags).

For development:

In a service using this library you will make two changes to the composer.json to do development.

First change the version of the require for this library to either: "dev-master", "1.x-dev", or "2.x-dev" - depending on which branch you are working on.

Second add this block of code to your composer.json (editing the path):

Run composer update from your project directory. This will create a symlink between the library and the project using this library.

Upgrade guides

Review these documents when upgrading versions.

V1 to V2 Upgrade Guide

V2 to V3 Upgrade Guide

Using Rabbit

Rabbit Builders

The constructor stubs out the configuration for the builder. Modify the constructor to suit your needs. In previous versions of the builder the changes were made in the builder method. This is no longer required but, if needs be, the builder can still be overridden.

Rabbit Sender

Single Messages

To send a message to RabbitMQ there are a few ways to do so. The most basic method uses the default exchange, and routing key from the .

Another method to send to RabbitMQ takes a RabbitBuilder as a parameter. The sender can now use the parameters of the builder to determine the exchange and routing key.

The properties of a sender can also be overridden.

Batch Sending

Same usage as single message sending. The method takes an array of messsages and send them in batch. Performance for larger quantities of messages is significantly better.

Rabbit Receiver

The receiver can also take a builder and fills the properties for connecting to RabbitMQ.

Starting/Stopping/Draining Workers

Starting

Stopping

Drain

Using Twilio SendGrid

First, make sure that you have specified the following config values. The SendGridTemplate class will use these configs:

Templates

Example of how to send an email using a SendGrid email template and the SendGridTemplate class:


All versions of laravel_api with dependencies

PHP Build Version
Package Version
Requires laravel/framework Version >=8.0
laravel/tinker Version >=2.5
php-amqplib/php-amqplib Version ^3.0
doctrine/dbal Version ^3.1
ramsey/uuid Version ^4.1
sendgrid/sendgrid Version ^7.9
ext-curl Version *
ext-json 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 uhin/laravel_api contains the following files

Loading the files please wait ....