class Cloud (View source)

Methods

static void
bootstrapperBootstrapping(Application $app, string $bootstrapper)

Handle a bootstrapper that is bootstrapping.

static void
bootstrapperBootstrapped(Application $app, string $bootstrapper)

Handle a bootstrapper that has bootstrapped.

static void
configureDisks(Application $app)

Configure the Laravel Cloud disks if applicable.

static void
configureUnpooledPostgresConnection(Application $app)

Configure the unpooled Laravel Postgres connection if applicable.

static void
ensureMigrationsUseUnpooledConnection(Application $app)

Ensure that migrations use the unpooled Postgres connection if applicable.

static void
configureManagedQueues(Application $app)

Configure managed queues if applicable.

static void
bootManagedQueues(Application $app)

Boot managed queues if applicable.

static void
configureCloudLogging(Application $app)

Configure the Laravel Cloud log channels.

static string
socket()

The cloud socket address.

Details

static void bootstrapperBootstrapping(Application $app, string $bootstrapper)

Handle a bootstrapper that is bootstrapping.

Parameters

Application $app
string $bootstrapper

Return Value

void

static void bootstrapperBootstrapped(Application $app, string $bootstrapper)

Handle a bootstrapper that has bootstrapped.

Parameters

Application $app
string $bootstrapper

Return Value

void

static void configureDisks(Application $app)

Configure the Laravel Cloud disks if applicable.

Parameters

Application $app

Return Value

void

static void configureUnpooledPostgresConnection(Application $app)

Configure the unpooled Laravel Postgres connection if applicable.

Parameters

Application $app

Return Value

void

static void ensureMigrationsUseUnpooledConnection(Application $app)

Ensure that migrations use the unpooled Postgres connection if applicable.

Parameters

Application $app

Return Value

void

static void configureManagedQueues(Application $app)

Configure managed queues if applicable.

Parameters

Application $app

Return Value

void

static void bootManagedQueues(Application $app)

Boot managed queues if applicable.

Parameters

Application $app

Return Value

void

static void configureCloudLogging(Application $app)

Configure the Laravel Cloud log channels.

Parameters

Application $app

Return Value

void

static protected string socket()

The cloud socket address.

Return Value

string

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.