Download the PHP package acquia/acquia-sdk-php without Composer

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

NOTE: This repository is no longer actively maintained and has not been updated to support PHP 7.1

Instead, please upgrade to typhonius/acquia-php-sdk-v2.

Acquia SDK for PHP

Build Status Code Coverage HHVM Status Scrutinizer Code Quality Latest Stable Version License

The Acquia SDK for PHP allows developers to build applications on top of Acquia services.

Acquia provides open cloud hosting, developer tools and world-class support for Drupal, the open source content management platform that unifies content, community and commerce.

Installation

The SDK can be installed with Composer by adding this library as a dependency to your composer.json file.

After running php composer.phar update on the command line, include the autoloader in your PHP scripts so that the SDK classes are made available.

Take Only What You Need

Instead of downloading the entire SDK, it is recommended to take only what you need by requiring the individual components you intend to use. For example, the following code requires the Acquia Search component and it's dependencies.

The following components are available:

Usage

Basic usage examples for the SDK.

Cloud API

The Cloud API is a web service that that developers can use to extend, enhance, and customize Acquia Cloud.

Acquia Network

The Acquia Network is a comprehensive suite of tools to help you create and manage killer web sites, backed by the best Drupal support team in the world.

Acquia Search

Acquia Search is a fully managed enterprise site search solution built on Apache Solr and other open source technologies.

Refer to the PSolr project's documentation for more advanced usage examples.

Recommended: Use the Service Manager to store credentials so that you don't have to query the Acquia Network on every search request.

Acquia Cloud Database

The Database component allows developers to connect to the active master database when running applications on Acquia Cloud.

Local Development

The SDK facilitates code portability for developers who like to test their application locally. The following snippet shows how to connect to a local database.

Acquia Cloud Memcache

The Memcache component allows developers to connect to the Memcached caching system when running applications on Acquia Cloud.

Local Development

The SDK facilitates code portability for developers who like to test their application locally. The following snippet shows how to connect to a local memcache server.

Refer to the Memcache PECL project's documentation for more details.

The Acquia Service Manager

The Acquia Service Manager simplifies credential management and client instantiation. The credential management system is built using Guzzle's service builder subsystem, so the documentation and techniques can also apply here.

Saving Credentials

The following example saves the configurations for the client to JSON files in the specified directory. Note that the Acquia Search client is a service builder which is why we use the setBuilder method for it.

Instantiating Service Clients

Clients can now be instantiated from the service manager by passing the service group (e.g. "network", "search", etc.) and service name defined in the setClient() method. For Acquia Search, the service builder automatically names the clients after their index identifiers.

Contributing and Development

Submit changes using GitHub's standard pull request workflow.

All code should adhere to the following standards:

It is recommend to use the PHP Coding Standards Fixer tool to ensure that code adheres to the coding standards mentioned above.

Refer to PHP Project Starter's documentation for the Apache Ant targets supported by this project.


All versions of acquia-sdk-php with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
cpliakas/psolr Version >=0.4
guzzle/service Version ~3.0
lstrojny/fxmlrpc Version >=0.8,<0.9
pear/net_dns2 Version 1.3.2
symfony/filesystem Version ~2.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 acquia/acquia-sdk-php contains the following files

Loading the files please wait ....