Download the PHP package assegaiphp/console without Composer

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

Assegai Logo

Latest release Tests PHP 8.4+ License Status active

Assegai Console

Requirements

Description

The Assegai Console is the framework CLI for:

It also supports custom schematics so teams can teach assegai generate about their own company-specific features.

Contribution workflow

For commit and pull request conventions in this repo, see:

Installation

Install the Assegai Console globally using Composer:

Then make sure Composer's global bin directory is on your PATH:

If the printed directory is not already on your PATH, add it in your shell profile. For example:

Refer to the official Composer documentation if your global Composer home is configured differently.

Usage

Get Started

To create a new Assegai project, run the following command:

This command will create a new Assegai project in the my-app directory.

The scaffold flow can also:

Development

After creating a new project, you can start the development server to preview your application in the browser.

To start the development server, navigate to the project directory and run the following command:

OpenSwoole runtime

If you want to try the long-lived runtime path instead of the default PHP development server, install the OpenSwoole extension first and then run:

You can also persist that choice in assegai.json:

If the extension is not installed, the CLI now stops early with a direct setup message instead of falling into a runtime bootstrap failure.

The current OpenSwoole path is still experimental. It is intended for careful testing and advanced runtime work, not as a blanket replacement for the default php runtime in every project.

Upgrading existing projects

Use the update command to move an existing workspace onto the current supported framework line:

The CLI now upgrades installed first-party packages more deliberately and is aware of the active framework release line.

Generating code

Use assegai generate (or assegai g) to scaffold framework artifacts:

Useful options include:

Database-aware commands also support MySQL, MariaDB, PostgreSQL, SQLite, and MSSQL where applicable.

Custom schematics

You can extend the generator without forking the CLI.

The default local convention is:

Start with a declarative starter:

Or scaffold a PHP-backed starter when generation needs real logic:

Inspect what the CLI discovered:

Run a custom schematic through the normal generate workflow:

For reusable team schematics, package manifests can be exposed through composer.json:

Learn more in the official documentation.

Stay in touch

License

Assegai Console is MIT Licensed


All versions of console with dependencies

PHP Build Version
Package Version
Requires php Version >=8.4
ext-pdo Version *
atatusoft-ltd/plural Version ^1.2
assegaiphp/common Version ^0.9.0
symfony/console Version ^8.0
laravel/prompts Version ^0.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 assegaiphp/console contains the following files

Loading the files please wait ...