Jump to content
MakeWebGames

Recommended Posts

Posted (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 by Uridium
Posted
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.');
}

Posted
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.

Posted
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

Posted
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();

 

Posted
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

  • 5 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...