Questions tagged as 'composer'

0
answers

PDO class not found in namespace other than global

I am creating a class that uses PDO, but in a namespace other than global: namespace Classes\Config; use \PDO; class Connection { public static function getConnection() { $dbhost = "algumhost"; $dbuser = "algumuser";...
asked by 13.03.2017 / 19:52
0
answers

Problem with composer when sending to a server

I'm using composer to create a site in php OO, however, by sending the files from the site to the server (which in this case I'm using free service from atwebpages for external testing), the site simply does not work, trying to connect with mysq...
asked by 09.03.2017 / 14:26
1
answer

Composer init, creates file in different directories

I installed composer, git, github on partition C :, I have apache24 server and php7 installed on partition D :, I entered my htdocs / SBFC folder from my server site on the command line and made a composer init, everything went fine but run dir...
asked by 18.11.2016 / 14:32
1
answer

Can you define the required operating system in the composer?

I built a PHP package for composer deployment, however, it only works on Windows machines. Can composer.json be specified in this constraint?     
asked by 16.11.2016 / 18:48
0
answers

How does the installation of packages of the same vendor in the composer work?

I have a question, let's say I have two libraries (different packages) that can be installed via composer, name in the composer.json file, respectively: Company / Financial Company / teams The first one has autoload: "autoload": {...
asked by 14.11.2016 / 14:24
0
answers

Error in Composer when trying to create a CakePHP project

I'm using a Linux virtual machine (Ubuntu) to develop a CakePHP project. I have already installed everything it needs (Apache, PHP, MySQL, Curl, Git, INTL and Composer). So far, all right, until I try to create the CakePHP project with Compos...
asked by 27.10.2016 / 14:49
0
answers

Is it possible to install Koel on a simple php server?

I wondered if you could install Koel , on a simple PHP server, basic hosting. If yes, how can I install it correctly?     
asked by 01.07.2016 / 16:00
0
answers

MINGW32 composer: command not found - windows 8

Hello, I installed git on windows 8 and I have a problem with "cmd" the composer works and in Mingw32 that came in git the message "composer: command not found" does anyone know how I solve this? NOTE: I have already put the composer.bat path...
asked by 11.03.2016 / 12:30
1
answer

Respect \ rest does not work when trying to implement in my project

I'm testing a web application, but I need to implement the use of routing and I found it better to work with Respect \ rest. I followed all the instructions for using the class, but I can not print if I want a Hello world on the screen, what is...
asked by 21.04.2016 / 12:01
0
answers

Problems with Composer and Laravel 5.0 on Mac El Capitan

I'm having the following error, after running a command to install a versioned project. Script php artisan clear-compiled handling the pre-update-cmd event returned with an error [RuntimeException]   Error Output: PHP Fatal error: Class...
asked by 06.04.2016 / 14:45