Uridium Posted March 21 Posted March 21 (edited) How do you install this engine i've uploaded all gRPG files to host downloaded something called composer what do i do with the composer part ??? Edited March 21 by Uridium Quote
CrazyElk Posted March 21 Posted March 21 Composer is a dependency manager for PHP, you have downloaded it, but have you installed it? Quote
Magictallguy Posted March 21 Posted March 21 Instructions are available at https://getcomposer.org/ Quote
Uridium Posted March 21 Author Posted March 21 5 minutes ago, Magictallguy said: Instructions are available at https://getcomposer.org/ thank ya 🙂 Have I got a different copy to everyone else of the gRPG there mention of another file that doesnt exist $composer = dirname(__DIR__) . '/vendor/autoload.php'; if (!file_exists($composer)) { exit('Composer required.'); } Quote
CrazyElk Posted March 22 Posted March 22 7 hours ago, Uridium said: thank ya 🙂 Have I got a different copy to everyone else of the gRPG there mention of another file that doesnt exist $composer = dirname(__DIR__) . '/vendor/autoload.php'; if (!file_exists($composer)) { exit('Composer required.'); } You can download it here ... autoload.php · GitHub. Quote
Uridium Posted March 24 Author Posted March 24 On 3/21/2025 at 12:04 PM, CrazyElk said: Composer is a dependency manager for PHP, you have downloaded it, but have you installed it? Yep installed on windows 11 laptop opened CMD typed in the composer command and was greeted with the Compser is installed but im not sure where i go from there Quote
Magictallguy Posted March 24 Posted March 24 The autoload file is generated after running `composer install` in the project's root directory. Quote
Uridium Posted March 24 Author Posted March 24 16 minutes ago, Magictallguy said: The autoload file is generated after running `composer install` in the project's root directory. it created 3 files folder called composer inside that composer, composer.bat, composer.phar no autoload file just to add to this in my PHPMYADMIN folder there is a folder called vendor and in there their is the file called autoload.php <?php // autoload.php @generated by Composer require_once __DIR__ . '/composer/autoload_real.php'; return ComposerAutoloaderInit5a360facea79a6ba3440ba7eaed9051a::getLoader(); Quote
Magictallguy Posted March 27 Posted March 27 On 3/24/2025 at 10:36 AM, Uridium said: it created 3 files folder called composer inside that composer, composer.bat, composer.phar no autoload file That's the installation of Composer itself. You now need to run `composer install` on the command line in the project's root to grab the 3rd-party dependencies. A future release will factor out the Composer reliance. But for now, that's the way Quote
SwiftGameR Posted September 5 Posted September 5 https://getcomposer.org/doc/00-intro.md#installation-linux-unix-macos Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.