Download the PHP package craftcms/cloud without Composer

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

Craft Cloud icon

Craft Cloud Extension

Welcome to Craft Cloud!

This repository contains source code for the craftcms/cloud Composer package, which is required to run a Craft project on our first-party hosting platform, Craft Cloud.

When installed, the extension automatically bootstraps itself and makes necessary application configuration changes for the detected environment:

:sparkles: To learn more about Cloud, check out our website—or dive right in with Craft Console. Interested in everything the extension does to get your app ready for Cloud? Read our Cloud extension deep-dive, in the knowledge base.

Installation

The Cloud extension can be installed in any existing Craft 4.6+ project by running php craft setup/cloud. Craft will add the craftcms/cloud package and run the extension’s own setup wizard.

[!TIP] This process includes the creation of a craft-cloud.yaml configuration file which helps Cloud understand your project’s structure and determines which versions of PHP and Node your project will use during builds and at runtime.

When you deploy a project to Cloud, the cloud/up command will run, wrapping Craft’s built-in up command and adding the cache and session tables (if they’re not already present).

Filesystem

When setting up your project’s assets, use the provided Craft Cloud filesystem type. Read more about managing assets in Cloud projects.

Developer Features

Template Helpers

artifactUrl()

Generates a URL to a resource that was uploaded to the CDN during the build and deployment process.

Read more about how to use artifact URLs.

isCraftCloud

true when the app detects it is running on Cloud infrastructure, false otherwise.

Aliases

The following aliases are available, in addition to those provided by Craft.

@web

On Cloud, the @web alias is guaranteed to be the correct environment URL for each HTTP context, whether that be a preview domain or custom domain.

@artifactBaseUrl

Equivalent to Project Config settings to take advantage of dynamic, build-specific CDN URLs.

Configuration

Most configuration (to Craft and the extension itself) is handled directly by Cloud infrastructure, through environment overrides. These options are provided strictly for reference, and have limited utility outside the platform.

Option Type Description
artifactBaseUrl string|null Directly set a fully-qualified URL to build artifacts.
s3ClientOptions array Additional settings to pass to the Aws\S3\S3Client instance when accessing storage APIs.
cdnBaseUrl string Used when building URLs to artifacts.
sqsUrl string Determines how Craft communicates with the underlying queue provider.
projectId string UUID of the current project.
environmentId string UUID of the current environment.
buildId string UUID of the current build.
accessKey string AWS access key, used for communicating with storage APIs.
accessSecret string AWS access secret, used in conjunction with the accessKey.
accessToken string AWS access token.
redisUrl string Connection string for the environment’s Redis instance.
signingKey string A secret value used to protect transform URLs against abuse.
useAssetBundleCdn boolean Whether or not to enable the CDN for asset bundles.
previewDomain string|null Set when accessing an environment from its preview domain.
useQueue boolean Whether or not to use Cloud’s SQS-backed queue driver.
region string The app region, chosen when creating the project.
useAssetCdn boolean Whether or not to enable the CDN for uploaded assets.
useArtifactCdn boolean Whether or not to enable the CDN for build artifacts and asset bundles.

These options can also be set via environment overrides beginning with CRAFT_CLOUD_.


All versions of cloud with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
bref/bref Version 2.1.9
bref/extra-php-extensions Version 1.3.2
craftcms/cms Version ^4.6
craftcms/flysystem Version ^1.0.0
league/flysystem-aws-s3-v3 Version ^3.15
league/uri Version ^7
league/uri-components Version ^7
yiisoft/yii2-redis Version ^2.0
yiisoft/yii2-queue Version ^2.3
phlak/semver Version ^4.1
99designs/http-signatures Version ^4.0
symfony/process Version ^6
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 craftcms/cloud contains the following files

Loading the files please wait ....