Download the PHP package cloudframework-io/backend-core-php8 without Composer

On this page you can find all versions of the php package cloudframework-io/backend-core-php8. 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 backend-core-php8

CloudFramework Backend Core PHP8

A powerful and flexible PHP8+ framework for building scalable backend APIs and scripts, optimized for Google Cloud Platform (GCP) services including App Engine, Cloud Functions, Compute Engine, and Kubernetes.

License: MIT PHP Version

Overview

CloudFramework Backend Core is a comprehensive framework designed to accelerate backend development with built-in support for:

Requirements

Quick Links

Table of Contents

Installation

Basic Installation

Install the framework via Composer:

Initialize Project Structure

Run the installation script to create the basic project structure:

This command will create:

Quick Start

Launch Local Development Server

Start the built-in development server:

The server will start at http://localhost:8080/

Test Your First API

Open your browser and navigate to:

Example API Response

The response from http://localhost:8080/ will be a JSON:

Your First API

Simple API Structure

Create a simple API in api/your-endpoint.php:

Advanced API with Endpoints

Create an advanced API with multiple endpoints in api/your-service/index.php:

See the training examples in:

Running Scripts

Execute Scripts

Run background scripts using the CLI:

Script Structure

Create a script in scripts/your-script.php:

Configuration

Environment Setup

Configure your development environment (requires GCP SDK for GCP integration):

This interactive setup will configure:

Configuration File

Edit config.json to configure your project:

Service Account Credentials

For local development with GCP services, set up credentials:

macOS Development Environment

For macOS users with zsh, the setup script can configure helpful aliases:

GCP Setup

Prerequisites

  1. Install Google Cloud SDK
  2. Create a GCP project or use an existing one
  3. Enable required APIs:
    • Cloud Datastore API (optional)
    • Cloud Storage API (optional)
    • BigQuery API (optional)
    • Cloud SQL Admin API (optional)

Configure GCP Project

Run the interactive setup to configure GCP services:

The setup will prompt you for:

Deployment

Deploy to Google App Engine

  1. Ensure you have the correct GCP project selected:

  2. Deploy your application:

  3. Your application will be available at:

Deploy to Cloud Functions

Create a Cloud Function entry point and deploy:

Deploy to Cloud Run

Build and deploy as a container:

Core Features

RESTful API Framework

Data Integration

Security

Developer Tools

Documentation

Comprehensive documentation is available in the /docs directory:

Framework Architecture

The framework follows a modular architecture:

Available Classes

Core classes accessible via $this->core:

Extended functionality classes:

See the API Reference for detailed documentation.

Contributing

We welcome contributions! Please follow these guidelines:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Coding Standards

Support

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments


CloudFramework - Accelerating backend development since 2013


All versions of backend-core-php8 with dependencies

PHP Build Version
Package Version
Requires google/cloud-core Version ^1.68
google/cloud-datastore Version ^1.34
google/cloud-storage Version ^1.48
google/cloud-logging Version ^1.34
google/cloud-translate Version ^2.1
google/apiclient Version ^2.18
google/cloud-tasks Version ^2.1
google/cloud-bigquery Version ^1.34
google/cloud-secret-manager Version ^2.2
zbateson/mail-mime-parser Version ^3.0
google/cloud-pubsub Version ^2.16
google/cloud-kms Version ^2.5
google/cloud-iam Version ^1.2
mustache/mustache Version ^3.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 cloudframework-io/backend-core-php8 contains the following files

Loading the files please wait ...