Download the PHP package miladyousefi/whmcs without Composer

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

WHMCS Addon Module Framework (WAM)

WAM is a powerful framework designed to simplify the creation and management of WHMCS addon modules. It provides a structured approach with modern PHP practices and helpful CLI commands.

Installation

To create a new WHMCS addon module, use Composer:

This will create a new directory with your addon name and install all necessary dependencies.

Directory Structure

After installation, your project will have the following structure:

Available Commands

WAM comes with several CLI commands to help you build your addon module:

1. Create Addon Module

This command will:

Output:

2. Create Controller

Creates a new controller with basic structure and routing.

Output:

3. Create Model

Generates a new Eloquent model class.

Output:

4. Create Migration

Creates a new database migration file.

Output:

5. Create Environment File

Creates a .env file from .env.example if it doesn't exist.

Output:

Configuration

Environment Variables

The following environment variables can be configured in your .env file:

Routes

Define your routes in routes/web.php:

Views and Assets

Views

Place your view files in resource/views/. The BaseController provides a renderView method:

CSS and JavaScript

Helper Functions

The framework provides several helper functions in app/Helper/Helper.php:

Best Practices

  1. Always use the provided CLI commands to generate new files
  2. Follow PSR-4 autoloading standards
  3. Use migrations for database changes
  4. Keep controllers thin and move business logic to models
  5. Use environment variables for configuration
  6. Follow WHMCS security best practices

Requirements

Dependencies

The framework includes:

License

This project is licensed under the MIT License.


All versions of whmcs with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
miladyousefi/whmcs Version dev-main
symfony/console Version ^6.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 miladyousefi/whmcs contains the following files

Loading the files please wait ....