Skip to content
A Vagrant box, customised for WHMCS development
C++ CSS JavaScript HTML Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
resources/provisioning
.gitignore
README.md
Vagrantfile
config.json
hz_bart_meme.jpg

README.md

drawing

drawing

WHMCS Development Vagrant Box

A Vagrant box, customised for WHMCS development, built on Ubuntu 18.04 LTS (Bionic Beaver). It sets up all the stuff you're dreading.

Features

  • PHP 7.2
  • MySQL 5.7
  • ionCube Loaders v10.3.5
  • Cron support (every 5 minutes)

Prerequisites

  • Vagrant
  • Virtualbox
  • A valid WHMCS license (development licenses are fine)
  • A copy of WHMCS

Installation

  1. Clone the repo to your local computer
  2. Move the WHMCS source code into the public/whmcs directory, which should contain an empty file.
  3. Edit the IP in Vagrantfile if you wish
  4. Run vagrant up
  5. Head to 192.168.13.37 (or the IP you changed it to)
  6. Follow the on-screen instructions
  7. Enjoy, we hope that's eased the development burden!

Additional options

Additional databases

You can create additional databases on first provision (or after a vagrant destroy and vagrant up). You can configure those in config.json. By default, only one database will be created, whmcs_default.

Use a hostname

You can create a line in your systems hosts file to use a hostname instead of the boxes IP address. A guide to edit your hosts file can be found here.

Create multiple WHMCS installations

The default installation path is /public/whmcs but you can move that, or create additional installations as you see fit.

Cron job

You can remove the cron or change it's frequency as you see fit, just vagrant-ssh into the box and run crontab -e to edit it.

Use a WHMCS helper library

Salmon for WHMCS extends many of the default models with extended functionality, making it easier to query the Eloquent models. It also contains an array of helper classes to make common tasks in WHMCS simpler and easier to do.

MIT License

Copyright 2019 Grizzlyware Ltd

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

You can’t perform that action at this time.