Download the PHP package sitepilot/flight without Composer

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

Flight ✈

Latest Version Total Downloads Build Status License

Introduction

Flight is a remote development tool that enables your existing local tools to work with code in remote environments. It helps you to manage your projects, execute remote commands, work with remote containers and enables real-time file synchronization using Mutagen.

Installation

Downloading the phar file is the recommended installation method for most users. Before installing Flight, please make sure your environment meets the minimum requirements:

Next, check the phar file to verify that it’s working:

To use Flight from the command line by typing flight, make the file executable and move it to somewhere in your PATH. For example:

Getting Started

Run flight init within a local project folder to create a Flight configuration file. The configuration will be stored in <project-root>/flight.yml.

Configuration

The table below contains a list of all configuration options supported by Flight.

Key Default Description
host - The remote SSH host
port 22 The remote SSH port
user root The remote SSH user
shell bash The remote SSH port
path - The remote project path
container.name - The remote container name
container.user root The remote container user
container.shell bash The remote container shell
database.ssh false Connect to the database via SSH
database.type mariadb The database type (e.g. mariadb, mysql, microsoftsqlserver)
database.host <env>.host The database host
database.port 3306 The database port
database.name - The database name
database.user - The database user
database.password - The database user
sync.ignore - A list of files and folders to ignore
links.* - A list of external project links (key-value)

Example

Commands

Command Description
flight init Initialize configuration
flight config Display the configuration
flight shell Start a remote shell
flight shell --host Start a remote shell to the host (when using a remote container)
flight folder Open project folder in explorer / finder
flight open {link} Open a project link in the default browser
flight db Open database in TablePlus
flight db --show Show database connection string (for import in TablePlus)
flight sync Start / resume file synchronization
flight sync:status Display file synchronization status
flight sync:pause Pause file synchronization
flight sync:terminate Terminate file synchronization
flight sync:list Display all file synchronization sessions
flight artisan {command} Run a Laravel Artisan command
flight wp {command} Run a WPCLI command
flight compose {command} Run a Docker Compose command
flight up {options} Alias for the docker compose up command
flight down {options} Alias for the docker compose down command

Updating

You can update Flight with sudo flight self-update, or by repeating the installation steps.


All versions of flight with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^10.3
illuminate/validation Version ^10.3
laravel-zero/framework Version ^10.0
laravel-zero/phar-updater Version ^1.3
nunomaduro/termwind Version ^1.15
symfony/yaml Version ^6.2
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 sitepilot/flight contains the following files

Loading the files please wait ....