https://github.com/radtechdad/mybb-installer
A Command-Line Interface Installer for MyBB
https://github.com/radtechdad/mybb-installer
automation cli command-line command-line-tool composer forum installer installers mybb php
Last synced: 2 months ago
JSON representation
A Command-Line Interface Installer for MyBB
- Host: GitHub
- URL: https://github.com/radtechdad/mybb-installer
- Owner: RadTechDad
- License: mit
- Created: 2017-04-24T08:01:59.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2023-09-18T22:00:55.000Z (almost 3 years ago)
- Last Synced: 2025-06-09T21:02:36.695Z (about 1 year ago)
- Topics: automation, cli, command-line, command-line-tool, composer, forum, installer, installers, mybb, php
- Language: PHP
- Size: 50.8 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# MyBB-Installer
A Command-Line Interface Installer for MyBB
## Requirements
* You must have [Composer](http://www.getcomposer.org) installed
* You must be running PHP 5.6.30 or later (this may work with older versions of PHP, but I have not tried them out.)
## Known Issues
Currently, this utility relies on the [PclZip](http://www.phpconcept.net/pclzip/) library, however this library hasn't been updated for years. As of right now, this installer comes with a modified version of their library in order to get around a PHP Notice that pops up when using PHP 7. Eventually I would like to remove this dependency on [PclZip](http://www.phpconcept.net/pclzip/).
## Installation
The easiest (and recommended) way to install this is to run: `composer global require holycowzorz/mybb-installer`
This will install the MyBB installer into your global composer directory and make sure that the installer is accessible from anywhere on your system.
## Usage
`mybb install --dir `
By default, the installer will install into the current directory. Also by default, the newest version of MyBB will be installed.
You can specify which version of MyBB you would like to install. You can also change what directory you would like to install MyBB into by adding the `--dir` option.
## To Do:
~~- [ ] Remove dependency of PclZip~~ (Not worth the time since MyBB 2.0 will be the next major release.)
- [ ] Write documentation/comments for code
- [x] Add the ability to download and extract MyBB 2.0
- [ ] Allow users to configure/setup the MyBB installation
## Version History
See [Changelog]
## Special Thanks
Thanks to [@taylorotwell](https://github.com/taylorotwell) for creating the [Laravel installer](https://github.com/laravel/installer) which gave me the idea to create this MyBB installer.
I also used a little bit of code from the [Laravel installer](https://github.com/laravel/installer) to speed things up.
[Changelog]: https://github.com/HoLyCoWzOrZ/mybb-installer/blob/master/CHANGELOG.md