Download the PHP package webrium/console without Composer

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

Webrium Console

The Webrium Console Commands include tools for generating files, calling methods, and managing databases. Below is a list of available commands and how to use them.

Generate a Model

The make:model command creates a new model file in the models directory. You can create either a simple model or a database-connected model.

Usage

Example

Or instead of that

This creates a User.php model file in the models directory, linked to the users table.

Controller operation

Generate a Controller

The make:controller command creates a new controller file in the controllers directory.

Usage

ControllerName: The name of the controller (e.g., User). The suffix Controller is automatically added if not included.

Example

This creates a UserController.php file in the controllers directory with the namespace App\Controllers.

Call a Controller or Model Method

The call command allows you to execute a method on a controller or model, passing optional parameters.

Usage

Example

This calls the getUsers method on App\Controllers\UserController with the parameters [1, "active"].


Manage Databases

The db command provides tools to manage databases, including listing databases, viewing tables, creating databases, and deleting databases.

Usage

Examples

List all databases:

List tables in a specific database:

Create a new database:

Delete a database (with confirmation):


Manage Tables

The table command allows you to manage database tables, including viewing column details and deleting tables.

Usage

Examples

View columns of a table:

Delete a table (with confirmation):


Logs

Display the list of log files

Show the latest logs

Display logs based on log file name



All versions of console with dependencies

PHP Build Version
Package Version
Requires symfony/console Version ^5.2@dev
webrium/core Version ^2.0.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 webrium/console contains the following files

Loading the files please wait ....