Download the PHP package jalameta/jps-support without Composer

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

JPS Support

JPS Support is a set of tools that will improve your application development productivity. This package has 3 focus tools consider Bus, Database and Caching.

Requirements : Laravel or Lumen >= 5.6

Getting Started

Installing

composer require jalameta/jps-support

Features

1. Bus

JPS Support Bus providing the class for Laravel Job. Our guide is separate business logic from the controller. However, separating business logic into a Job can ease your application development process, it reduce the time consume on writing duplicated code. We encourage our developers to think the abstraction of business logic. One business logic can be breakdown into several use cases that could be used again in another business logic. How to use :

All you need is extends the BaseJob and implement the method run() stubs, then handle the job inside the run method. The method needs a boolean return type for indicating the job is running successfully.

Basic Usage

From the example above, you can access the request directly from the request attribute. The request attribute is from the original request combined with the array input in a class constructor.

Register callback

Available callbacks are onIdle, onRunning, onSuccess, and onFailed

Aborting Job

Occasionally you need to cancel the job before it finishes. You can register the onAbort callback and invoke $this->abort() method

2. Composite Key

It is a trait helper if you have a table with a composite key. Directly use HasCompositeKeys trait inside the Eloquent model. It reduces boilerplate when using a composite key for updating an Eloquent model.

Basic Usage

3. UUID as primary key

As the composite key, this is the trait helper too. This will set the UUID key automatically for you. Prequities you need is define the primary key of the table to the Eloquent model. Don't forget to use the `UuidAsPrimaryKey` trait into your Eloquent model.
Basic Usage

All versions of jps-support with dependencies

PHP Build Version
Package Version
Requires illuminate/support Version >=5.6
illuminate/database Version >=5.6
illuminate/http Version >=5.6
ramsey/uuid Version >=3.8
ext-json Version *
nesbot/carbon Version ^2.41
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 jalameta/jps-support contains the following files

Loading the files please wait ....