Support the ongoing development of Laravel.io →
Installation Packages
Last updated 2 years ago.
0

what do you mean ? How did you try to install?

0

Edit composer.json, edit app.php in /config and then run composer update.

0

astroanu said:

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.

0

DeClaessens said:

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?

0

digitalformula said:

I can't currently install them via Composer for some reason.

What reason?

0

One simple reason, i have FTP, but dont have ssh... the only thing i can is update files and folders manually.

0

If SSH is the problem, you can use a GitHub Oauth token with composer...

0

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!

Last updated 8 years ago.
0
  1. Add the package to the vendor folder
  2. Add a reference in \vendor\composer\autoload_namespaces.php
  3. Add a reference in \vendor\composer\autoload_psr4.php

Should work automatically now when the vendor\autoloader.php is called

0

You could trying running composer commands from a browser, https://gist.github.com/dmouse/7532532

0

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

  • composer.json
  • composer.lock.

Go to your vendor folder and upload 5 folders given below.

  • bin
  • classpreloader
  • composer
  • laravel
  • laravel collective.

and at the end upload your package folder and other packages if composer installed it during installation of your package.

Last updated 7 years ago.
0

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.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.