robinwongm / tjupt-to-unit3d
An artisan package to import a TJUPT database into UNIT3D.
v2.4.3
2020-02-25 14:58 UTC
Requires
- php: ^7.2
Requires (Dev)
- orchestra/testbench: ^3.8
- phpunit/phpunit: ^7.5 || ^8.0
README
An artisan package to import a TJUPT(NexusPHP) database into UNIT3D.
Install
Via Composer
$ composer require robinwongm/tjupt-to-unit3d --dev
To install, just:
- Require this package from your UNIT3D install.
- Add an empty
imports
entry to your database config.
Usage
It's recommended to use the package under a fresh installation of UNIT3D.
# Optional but recommended: Make sure a fresh installation php artisan migrate:fresh --seed # IMPORTANT: Run migrations from this package php artisan migrate --path=vendor/robinwongm/tjupt-to-unit3d/src/migrations/2020_02_10_054032_add_nexus_compatibility.php # Import php artisan unit3d:from-tjupt --host=<YOUR TJUPT DATABASE HOST> --database=<YOUR TJUPT DATABASE NAME> --username=<YOUR TJUPT DATABASE USERNAME> --password=<YOUR TJUPT DATABASE PASSWORD> # Optional: Remove temporarily-added columns php artisan migrate --path=vendor/robinwongm/tjupt-to-unit3d/src/migrations/2020_02_10_054032_add_nexus_compatibility.php
For other instructions on usage, run:
php artisan unit3d:from-tjupt --help
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Credits
- pxgamer - original author
- robinWongM - fork maintainer
- All Contributors
License
The MIT License (MIT). Please see License File for more information.