Download the PHP package sulaimanmisri/easy-deploy without Composer

On this page you can find all versions of the php package sulaimanmisri/easy-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 easy-deploy

Easy Deploy for Laravel Application

Easy Deploy is a Laravel package that simplifies deployment automation. It combines common tasks like migrations, cache management, and queue restarts into a single Artisan command, ensuring smooth and efficient deployments with minimal effort

About the Author

Hi, I'm Sulaiman Misri. Currently I'm working as a Senior Full Stack Engineer at one of the Big Four Companies in Malaysia (Property). If you find this package useful, feel free to check out my portfolio for more information about me and my freelance services.

Table of Contents

Prerequisites

Compatibility

Laravel Testbench PHP
9.x ^7.0 8.1+
10.x ^8.0 8.1+
11.x ^9.0 8.1+
12.x ^10.0 8.1+
13.x ^11.0 8.3+

The package is tested against Laravel 12 and 13 on PHP 8.1–8.4 via a cross-version CI matrix (see .github/workflows/test.yml). The smoke test in tests/Feature/LaravelVersionSmokeTest.php runs against whichever Laravel version the environment resolves to, so a regression on any supported line fails fast.

Installation

  1. Install the package via Composer

  2. Run the installation wizard:

That's it for the installation. Your application is ready to run the script.

Usage

Run the deployment automation command:

Configuration

"What kind of command does this package run for me?"

Adding a custom command

To add a custom command, edit the commands array in the easy-deploy.php config file:

CI/CD Integration

Example Integration with CI/CD Pipelines

Simply add the command to your CI/CD pipeline script:

Testing

Running Tests

This package comes with comprehensive tests to ensure reliability. To run the tests:

Test Groups

Tests are organized into groups for better control:

Coverage Report

Generate a detailed coverage report to see test coverage:

Test Structure

The package includes:

Contributing Tests

When contributing to this package, please ensure:

  1. All new features have corresponding tests
  2. Tests follow the existing patterns using #[Test] attributes
  3. Feature tests are marked with #[Group('core')]
  4. Maintain 100% code coverage for new code

Testing Your Configuration

You can test your deployment configuration without running actual deployment:

Debugging Failed Tests

If tests fail in your environment:

  1. Check PHP version compatibility:

  2. Verify Composer dependencies:

  3. Run specific failing test:

  4. Clear any cached files:

Contributing

We welcome contributions to Easy Deploy! Here's how you can help:

Development Setup

  1. Fork and clone the repository:

  2. Install dependencies:

  3. Run tests to ensure everything works:

Making Changes

  1. Create a feature branch:

  2. Make your changes and add tests:

    • Add new features with corresponding tests
    • Update existing tests if needed
    • Ensure all tests pass
  3. Follow coding standards:

    • Use PSR-12 coding standard
    • Add proper DocBlocks
    • Use #[Test] attributes for test methods
    • Mark feature tests with #[Group('core')]
  4. Submit a pull request:
    • Provide a clear description of your changes
    • Include any relevant issue numbers
    • Make sure CI tests pass

Reporting Issues

If you find a bug or have a feature request:

  1. Check existing issues to avoid duplicates
  2. Provide detailed information:
    • Laravel version
    • PHP version
    • Steps to reproduce
    • Expected vs actual behavior
  3. Include relevant code samples if applicable

All versions of easy-deploy with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
laravel/framework Version ^9.0|^10.0|^11.0|^12.0|^13.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 sulaimanmisri/easy-deploy contains the following files

Loading the files please wait ...