Questions tagged as 'composer'

1
answer

Error using doctrine installed via composer

I installed Doctrine via composer: { "require": { "doctrine/common": "2.4.*", "doctrine/dbal": "2.4.*", "doctrine/orm": "2.4.*", "phpunit/phpunit": "3.7.*" } } When running unit tests, the location of the Arra...
asked by 11.04.2015 / 02:49
1
answer

Error in autoload when using HighchartsPHP

I'm including in my ghunti / highcharts-php composer: "~ 3.0" and after that my autoload stops working resulting in the fatal error below, what could it be? >    Fatal error: Call to undefined method   Composer \ Autoload \ ClassLoader :: se...
asked by 03.12.2014 / 12:18
1
answer

Using libraries downloaded by Composer in Zend Framework 1

What is the best way to use libraries downloaded by Composer along with Zend Framework 1? I saw the next link , explaining how to do this procedure however in a way that does not seem to be much correct. In a comment it is said to leave t...
asked by 21.10.2014 / 18:25
1
answer

Error installing composer

I'm trying to install the composer and it gives the following error: The Composer installer script was not successful [exit code 1]. OpenSSL failed with a 'certificate verify failed' error. This indicates a problem with the Certificate Author...
asked by 19.12.2018 / 13:15
0
answers

error when trying to execute npm commands in the terminal

I'm trying to use the node's nmp command to work with laravel, but I get the following error; Pc1@Fund-Sala2-pc1 MINGW64 /c/Laravel/teste $ npm install && npm run dev npm WARN deprecated [email protected]: Browserslist 2 could fail o...
asked by 07.12.2018 / 19:10
0
answers

Symfony error after composer update

When I ran the commands composer require symfony / filesystem composer update, the following error is occurring in my project, in whatever route I go. Could you help me? I'm using symfony 3.0 with MySQL database on the Apache server. Un...
asked by 10.09.2018 / 22:24
0
answers

require_once inside helper codeigniter

I installed the mpdf library via composer in codeigniter 2 and made a helper file where I call that library to generate the pdf. So inside that helper I call the autoload with require_once and it works perfectly locally. But when I went up in pr...
asked by 07.08.2018 / 22:11
2
answers

Laravel does not install

kalil@debian:~$ composer global require "laravel/installer" Changed current directory to /home/kalil/.config/composer Using version ^2.0 for laravel/installer ./composer.json has been created Loading composer repositories with package information...
asked by 12.07.2018 / 03:36
1
answer

What is a .lock file?

I'm using git to version a project and I noticed when checking for modifications that some .json files have a file with the same name but with different extensions and content. Example: composer.lock , yarn.lock . What are they? What...
asked by 08.02.2017 / 00:36
0
answers

Namespace: Connection Works but Query NOT

So when I get to Classe Plans below <?php   namespace CONTROLES;    class Planos {            private $conexao;            public function __construct ($_conexao) {                  $this->conexao = $_conexao;      }           ...
asked by 13.06.2018 / 14:36