Download the PHP package ryangjchandler/forge-previewer without Composer

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

Forge Previewer

This CLI is designed to create "preview" environments for pull requests and branches using Laravel Forge.

It's intended for use inside of CI tools such as GitHub Actions to automatically create a site on Forge that is connected to your pull request branch, then once the pull request is merged the CLI can be used to cleanup too.

Prerequisites

Before using this tool, please make sure you have the following:

Installation

Install this package with Composer:

Usage

There are two commands in the command.

deploy

The deploy command is used to do the following things:

  1. Create a site on Forge.
  2. Generate an SSL certificate for the new site.
  3. Create a database for the new site.
  4. Enable quick deploy so all changes appear on the preview site automatically.
  5. Update the environment variables to point to the database.
  6. Deploy your site once.
  7. Run any additional commands provided.
  8. Create a scheduled job if required.

The command accepts the following flags:

Note: the deploy command can be run multiple times and will skip any steps that have already been run previously.

destroy

The destroy command simply reverses all of the things that the deploy command does. It checks for the existence of certain resources in Forge and removes them if they exist.

The command accepts the following flags:

Since Forge Previewer is convention based, we will try to detect resources based on the names we generate for them.

Example Workflow

TODO


All versions of forge-previewer with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
laravel-zero/framework Version ^9.0
laravel/forge-sdk Version ^3.13
nunomaduro/termwind Version ^1.3
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 ryangjchandler/forge-previewer contains the following files

Loading the files please wait ....