Download the PHP package devsquared/unitconvert-laravel without Composer

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

Convert/Compare Units of Measurement in Laravel

Latest Version GitHub license

With the UnitConvert.io wrapper for Laravel, you can quickly and easily compare and convert units of measurement programmatically.

This package was created and developer by DevSquared - a consultant and development agency located in Pittsburg, KS, USA. Check out our website to learn more information about us.

Installation

UnitConvert requires an API key to use this wrapper. You can sign up for a free account today and get started. This package can be installed through Composer.

composer require devsquared/unitconvert-laravel

In Laravel 5.5 and above, the package will autoregister the provider and the alias. For Laravel 5.4 and below, you must install the provider and the alias.

Next, you will need to add your API key to the config. You can add it to your .env file as

UNITCONVERT_API_KEY=

Optionally, you can publish the config file of this package with this command:

php artisan vendor:publish --provider="DevSquared\UnitConvert\UnitConvertServiceProvider"

Usage

The UnitConvert database contains variants as people use the system. Commonly misspellings, abbreviations, and full words are all excepted strings in addition to the measurement value. Below is an example of how to compare and convert a unit of measurement(s).

Here is an example use case for the convert function:

Changelog

Please see [the changelog]() for more information on what has changed recently.

Using this? Let us know!

We really enjoy seeing our work being used in production environments. If you decide to implement this wrapper, feel free to let us know and share your work. You can send us an email on our website: https://dev-squared.com

License

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


All versions of unitconvert-laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^7.0
laravel/framework Version ^5.4.29
guzzlehttp/guzzle Version ~6.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 devsquared/unitconvert-laravel contains the following files

Loading the files please wait ....