Download the PHP package mma/customapi without Composer

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




About

Magento 2 add custom rest api endpoints

Cagegory tree with image attribute

{base_url}/rest/default/V1/mma/categories

Get Braintree client token

{base_url}/rest/default/V1/mma/braintree/token

Get Vault for client

{base_url}/rest/default/V1/mma/me/vault/items

Get nonce for braintree vault

{base_url}/rest/default/V1/mma/me/vault/nonce

Get paypal security token for quote

{base_url}/rest/default/V1/mma/paypal/transparent/securityToken/:quote_id

Get Magento version

{base_url}/rest/default/V1/mma/magento/version

Get Magento most viewed products

{base_url}/rest/default/V1/mma/products/most-viewed/:limit

Get Magento best seller products

{base_url}/rest/default/V1/mma/products/best-seller/:limit

Get Magento top rated products

{base_url}/rest/default/V1/mma/products/top-rated/:limit

Get Magento new products

{base_url}/rest/default/V1/mma/products/new/:limit

Get product reviews

{base_url}/rest/default/V1/mma/review/reviews/:productId

Get product ratings

{base_url}/rest/default/V1/mma/rating/ratings/:store_id

Post product review from authorized customer

{base_url}/rest/default/V1/mma/review/mine/post

Post product review from guest customer

{base_url}/rest/default/V1/mma/review/guest/post

Post contact form

{base_url}/rest/default/V1/mma/contact/post

Install

composer require mma/customapi
php bin/magento setup:upgrade
php bin/magento cache:clean

Compatibility

Tested on Magento Commerce 2.2.5

Learning

Check my videos about Magento 2 Rest API development basics https://www.youtube.com/playlist?list=PL97fL9DAn9Qy5kCQfPVrfh9pGNYeG0vmS


All versions of customapi with dependencies

PHP Build Version
Package Version
No informations.
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 mma/customapi contains the following files

Loading the files please wait ....