xupg
v1.0.6
Published
This is a cli tool that helps to upgrade your xampp PHP version to the latest version
Downloads
19
Readme
xUPG
WHat is xUPG
xUPG is a CLI TOOL that makes it easy to upgrade your xampp modules ( PHP, MYSQL, PHPMYADMIN ) using the ClI.
How does xUPG work ?
xUPG makes use of sourceforge API to manage and dowload updates
How to use xUPG To you xUPG you have to insatll it globally from npmjs
Prerequisites
How to Install
To install xUPG you have to run the following command in your terminal
npm i -g xupg
This command will install xUPG globally on your machine
How to use
Upgrading php version
xupg -p
OR
xupg --php
This command will upgrade your php version to the latest version available on sourceforge
Upgrading mysql version
xupg -ms
OR
xupg --mysql
This command will upgrade your mysql version to the latest version available on sourceforge and will also backup your database before upgrading
Upgrading phpmyadmin version
xupg -ph
OR
xupg --phpmyadmin
This command will upgrade your phpmyadmin version to the latest version available on sourceforge
Upgrading all modules
xupg -f
OR
xupg --full
This command will upgrade all your modules to the latest version available on sourceforge
HOW TO SET YOUR XAMPP INSTALLATION DIRECTORY
To set your xampp installation directory you have to run the following command in your terminal
xupg -p -d <path to your xampp installation directory>
OR
xupg -p --dir <path to your xampp installation directory>
This command will set your xampp installation directory to the path you specified
ALL FLAGS
| Flag | Description | | ------ | ------ | | -p, --php | Upgrade php version | | -ms, --mysql | Upgrade mysql version | | -ph, --phpmyadmin | Upgrade phpmyadmin version | | -f, --full | Upgrade all modules | | -d, --dir | Set xampp installation directory | | -h, --help | Show help |
upgradables xampp modules
- [x] PHP
- [ ] MYSQL
- [ ] PHPMYADMIN
OS SUPPORT
- [x] Windows
- [ ] Linux
- [ ] Mac
License
MIT
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Author
Built by codad5