Download the PHP package albertoarena/laravel-netsons-deploy without Composer

On this page you can find all versions of the php package albertoarena/laravel-netsons-deploy. 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 laravel-netsons-deploy

Laravel Netsons Deploy

Docs

Deploy Laravel applications to Netsons shared hosting (cPanel, SSD plans) via GitHub Actions, supporting both FTP upload and SSH/git-clone strategies.

Features

Quick Start

1. Install the package

2. Run the installer

This will:

3. Configure environment variables

Add secret-backed variables (e.g., DB_PASSWORD), static values (e.g., SESSION_DRIVER=database), or build variables (e.g., VITE_APP_NAME).

4. Configure GitHub Secrets

Add the required secrets to your GitHub repository (Settings > Secrets and variables > Actions). See GitHub Secrets Reference.

5. Deploy

Trigger the workflow from GitHub Actions > Deploy to Netsons > Run workflow.

Strategy Comparison

Feature FTP Git
How it works Builds locally, uploads via FTP Clones repo on server via SSH
PHP/Composer On runner (uploaded with app) On server (runner skips PHP/Composer)
Node/Assets On runner (uploaded with app) On runner, uploaded via SCP
Requires on server FTP access Git + SSH access (SSD 30+ plans)
Transfer method Incremental FTP sync git clone --depth 1
Speed Slower (full upload first time) Faster (shallow clone)
Best for Any Netsons plan SSD 30+ plans with git
Private repos Supported (uploaded from runner) Supported via HTTPS + token

Private repos with Git strategy: Set GIT_REPO to the HTTPS URL and configure GIT_TOKEN. For same-repo deploys, use ${{ github.token }}. See Private Repository Setup.

Usage as a Reusable GitHub Action

You can also use this as a reusable action in your workflow:

See action.yml for all available inputs.

Artisan Commands

netsons:install

Interactive setup wizard. Publishes config and deploy workflow, shows required secrets/variables.

netsons:check

Shows your local configuration, checks that the workflow file exists, and lists required GitHub Secrets/Variables.

netsons:env

Manage custom environment variables for deployment without editing the workflow manually.

Variable types:

After adding/removing variables, regenerate the workflow:

The installer will prompt you to overwrite the existing workflow. Use --force to skip confirmation prompts.

Configuration

The config file config/netsons-deploy.php covers:

The netsons-deploy.json file manages:

See Configuration Reference for details.

Documentation

Requirements

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/my-feature)
  3. Write tests for your changes
  4. Ensure all tests pass (composer test)
  5. Commit your changes
  6. Push to the branch
  7. Open a pull request

License

MIT License. See LICENSE for details.


All versions of laravel-netsons-deploy with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/console Version ^10.0|^11.0|^12.0|^13.0
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
laravel/prompts Version ^0.1.6|^0.2.0|^0.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 albertoarena/laravel-netsons-deploy contains the following files

Loading the files please wait ...