mezon-router icon indicating copy to clipboard operation
mezon-router copied to clipboard

without composer

Open IRGC opened this issue 2 years ago • 7 comments

Is there anyway we can use this project without composer?

IRGC avatar Dec 18 '21 10:12 IRGC

Hi! Could you please describe your use-case? Will be *.phar file suitable for you?

alexdodonov avatar Dec 18 '21 17:12 alexdodonov

I want to use on shared hosting means just download from GitHub and upload to host using FTP. Yes I think .phar will also work.

IRGC avatar Dec 18 '21 18:12 IRGC

.phar file method of including this will have impact on performance?

IRGC avatar Dec 18 '21 18:12 IRGC

Looks like including .phar works up to two times slower than including .php files.

So the best way for you will be to include router files manually. This must work fine even without composer and autoloading.

alexdodonov avatar Dec 21 '21 05:12 alexdodonov

Do i have to include Tests and Types folder files also? https://github.com/alexdodonov/mezon-router/tree/master/Mezon/Router

IRGC avatar Dec 21 '21 11:12 IRGC

Do i have to include Tests

No

and Types folder files also?

Yes, they are necessery.

alexdodonov avatar Dec 21 '21 12:12 alexdodonov

@alexdodonov Hi! Is everything OK now?

alexdodonov avatar Jan 08 '22 12:01 alexdodonov