Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installer without Composer #6

Open
sysmaya opened this issue Dec 16, 2023 · 1 comment
Open

Installer without Composer #6

sysmaya opened this issue Dec 16, 2023 · 1 comment

Comments

@sysmaya
Copy link

sysmaya commented Dec 16, 2023

There are still people who do not use composer, or whose shared hosting service does not allow shell commands.
It would be nice to be able to download the project as a folder ready to upload to the server.
Your project is the most complete and the only one that implements a translator (wow!!!).
I have looked at the competition, Ruby, PHP-ML, etc. And this is definitely the most complete project.
Ah beautiful times when include_once() worked!!

@yuichiis
Copy link
Member

Thank you for finding this project.

As you said, it is not possible to directly execute composer commands on the web server.

Generally, if you transfer the project directory created using composer on your PC to the server, it will run on the hosting service's web server.
There is no need to use composer commands on the web server.
This is common to all composer applications, not just rindow.

The composer command will download all the files under the "vendor" directory, and if you upload them all, the tapped application will work fine.

You can easily call the libraries and tools you have set up by simply writing the following at the top of your application.

require __DIR__.'/vendor/autoload.php';

We have tested it by actually running it on a shared web hosting service.

Thank you for praising Rindow-Neuralnetwork.
This library can be used for many models compared to other PHP AI projects.

I hope it's helpful to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants