I've got some Laravel packages from @Cartalyst (I have a subscription). I've downloaded the packages as I can't currently install them via Composer for some reason.
Is there a way I can integrate them into Laravel manually? I've put the relevant files into vendor/cartalyst but not sure what to do next.
Any suggestions would be appreciated. :)
what do you mean ? How did you try to install?
I mean install Composer packages without running Composer. I've got the packages as ZIP files and have extracted them into vendor/<vendor name/<package name> but wanted to know which file to edit so that when I run 'composer update' the app will know about those packages.
Edit composer.json, edit app.php in /config and then run composer update.
Doesn't that still try and pull the packages from Packagist, though?
One simple reason, i have FTP, but dont have ssh... the only thing i can is update files and folders manually.
I have a similar problem. I currently can't access an internal repo for network security issues, but I do have the contents in a zip file. If anyone can provide a solution to OP's question, it would be greatly appreciated!
Should work automatically now when the vendor\autoloader.php is called
During installation of your package first you need to check in the terminal that which other packages composer are installing with your package because you also need that files or folders along with your package.
Files and folders which you have to upload to the server are given below.
Go to your project root and upload below files to the server
Go to your vendor folder and upload 5 folders given below.
and at the end upload your package folder and other packages if composer installed it during installation of your package.
In my case laravel (5.5.35) I copied github zip in vendor folder then updated providers in config/app.php then I updated composer.json and composer update followed by composer vendor publish.That's it.
Sign in to participate in this thread!