Questions tagged as 'composer'

0
answers

Is it appropriate to migrate features common to more than one project to a stand-alone package?

I build two packages in PHP, each of which performs quite distinct functions, but both implement practically the same interfaces and abstract classes. Because of this I created a third package containing only the interfaces and abstract class...
asked by 22.11.2016 / 16:12
1
answer

How to avoid dependency dependencies in Composer?

I have a project A that has a dependency on project B which, in turn, has a dependency on project C. So, the dependency graph looks like this: A -> B -> C (ps: all projects are developed internally). However, in composer.json of...
asked by 04.09.2015 / 15:16
0
answers

Composer SSL3_GET_SERVER_CERTIFICATE: certificate verify failed

Work in a public agency and here the accesses are very restricted. I've been experiencing problems trying to run "composer install" or "composer update", this is also true for NPM or Bower. The details of the error when trying to run "compose...
asked by 24.07.2015 / 15:35
1
answer

How to create a project based on Laravel to be the basis of others?

My idea is to create a base administrative panel, where I can use the next sites, without having to copy and paste. In the base I have only the control of users and menus, the rest I am creating packages and require each new site only what is ne...
asked by 16.06.2016 / 14:31
3
answers

Error executing composer update when trying to install scafold package in Laravel 5.1

I'm trying to install the scafold package in Laravel 5.1 but when I run the composer update it shows me an error.    C: \ xampp \ htdocs \ sites \ inventory> composer update Loading composer   repositories with package information Updating de...
asked by 30.06.2015 / 17:32
1
answer

How to use a local directory as a dependency?

I am designing a relatively large project in my company that is composed of several packages in PHP. Some of these packages are standard packages and others are bundles of Symfony applications. When working with Composer, we usually point th...
asked by 19.02.2014 / 13:48
2
answers

Installation of Laravel

I followed the installation text of laravel that is on the official website and returned the following errors.   Warning: require (C: \ xampp \ htdocs \ first_app_laravel \ bootstrap /../ vendor / autoload.php): failed to open stream: No such...
asked by 11.10.2016 / 02:46
1
answer

Managing Dependencies Composer

Well, I started using the dependency manager for PHP Composer. I've already downloaded it and it's working. But I added a dependency on the file composer.json , and I need to do an update. How can I do this via command line? PS: I know...
asked by 13.04.2015 / 15:32
1
answer

Deploy Laravel project by Git

I need to deploy a Laravel project installed on a dev pc on a Linux server. After downloading everything via Git, some folders are ignored by .gitignore . How do I turn Composer to reinstall all dependencies? Do you have npm too?   ...
asked by 21.06.2016 / 00:03
1
answer

Composer returning memory allocation error

I just installed the composer and am trying to download some files from sendgrid, however it is returning me error regarding memory. Does anyone know what's causing this and how to solve it? Installing sendgrid/php-http-client (3.1.0): Loading...
asked by 01.07.2018 / 10:51