Download the PHP package ahmedessam/microservice-installer without Composer

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

Laravel Microservice Installer

Latest Version on Packagist Total Downloads License

An advanced, professional CLI tool to create Laravel microservices from the laravel-microservice-template repository.

Similar to Laravel/Symfony CLI with interactive wizards, dry-run mode, system diagnostics, and service management features.

Features

Core Features (V1)

Advanced Features (V2)

Requirements

Installation

Global Installation (Recommended)

Install globally via Composer:

Make sure your global Composer bin directory is in your system's PATH:

Local Installation

Or install locally in your project:

Then use it with:

Usage

Quick Start

Interactive Mode

Omit the service name to enter interactive wizard:

Dry Run Mode

Preview all changes before creating files:

Output:

Available Commands

microservice new [name]

Create a new microservice.

Options:

Examples:

microservice doctor

Check system requirements and configuration.

Output shows:

microservice list

List all microservices in current directory.

Shows table with:

microservice open <service>

Open a service in VSCode or file explorer.

microservice update

Update the installer to the latest version.

Configuration File

Create ~/.microservice-config to customize defaults:

Complete Workflow Example

What Gets Configured

The installer automatically configures the following:

1. Service Identity

2. Application Settings

3. Database Configuration

4. Cache & Queue

5. Docker Setup

6. Composer Package

7. JWT Keys

Service Naming Rules

Service names must:

✅ Valid names:

❌ Invalid names:

Port Management

Recommended port allocation strategy:

Service Port
Auth Service 8000
User Service 8001
Payment Service 8002
Order Service 8003
Notification Service 8004
... ...

Or use incremental base (e.g., 8100, 8101, 8102...)

Architecture

The installer follows clean architecture principles:

Design Principles

Troubleshooting

"Failed to clone template repository"

Ensure you have:

"Failed to generate private key"

Ensure:

"Port must be between 1024 and 65535"

Use a valid port number:

"Directory already exists"

The service directory already exists. Choose a different name or remove the existing directory:

Next Steps After Creation

  1. Install Dependencies

  2. Generate Application Key

  3. Start Docker Containers

  4. Run Migrations

  5. Access API Documentation

  6. Check Health Endpoint

Template Repository

This installer uses the official template:

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This installer is open-source software licensed under the MIT license.

Credits

Support

For issues, questions, or contributions:


Made with ❤️ for Laravel Microservices


All versions of microservice-installer with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
symfony/console Version ^6.0|^7.0
symfony/process Version ^6.0|^7.0
symfony/yaml Version ^6.0|^7.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 ahmedessam/microservice-installer contains the following files

Loading the files please wait ...