Download the PHP package pipo/raft without Composer

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

CodeIgniter Raft

CodeIgniter Raft is a lightweight, Docker-powered development environment for CodeIgniter 4 that simplifies local development workflows. Built with PHP-FPM and Apache2, it provides a ready-to-use containerized setup with zero configuration required.

CodeIgniter Raft

Introduction

CodeIgniter Raft provides a Docker-powered local development experience for CodeIgniter 4 that is compatible with macOS, Windows (WSL2), and Linux. Other than Docker, no software or libraries are required to be installed on your local computer before using Raft. Raft's simple CLI means you can start building your CodeIgniter application without any previous Docker experience.

Installation

You can install CodeIgniter Raft as a development dependency in your CodeIgniter project:

After installing CodeIgniter Raft, run the following command to set up the Raft configuration files in your project:

This command will copy the necessary Docker configuration files to your project's root directory.

Basic Usage

Starting & Stopping Raft

To start all of the Docker containers defined in your application's docker-compose.yml file:

To stop all of the Docker containers:

Executing Commands

You can execute commands inside the application container using the raft script:

PHP Commands

Composer Commands

CodeIgniter CLI Commands

Running Tests

Accessing MySQL

Opening a Shell

Configuring A Shell Alias

By default, Raft commands are invoked using the raft script that is included with your project:

However, instead of repeatedly typing ./raft to execute Raft commands, you may wish to configure a shell alias that allows you to execute Raft's commands more easily:

To make sure this is always available, you may add this to your shell configuration file in your home directory, such as ~/.zshrc or ~/.bashrc, and then restart your shell.

Once the shell alias has been configured, you may execute Raft commands by simply typing raft. The remainder of this documentation's examples will assume that you have configured this alias:

Available Services

By default, Raft includes the following services:

Customization

Environment Variables

The following environment variables can be added to your project's .env file to customize your Raft installation:

Adding Custom Services

You can add additional services to your application by creating a docker-compose.override.yml file in your project's root directory.

Requirements

License

CodeIgniter Raft is open-sourced software licensed under the MIT license.


All versions of raft with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.0
codeigniter4/framework Version ^4.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 pipo/raft contains the following files

Loading the files please wait ....