Package Details: php56-composer 1:1.9.0-2

Git Clone URL: https://aur.archlinux.org/php56-composer.git (read-only, click to copy)
Package Base: php56-composer
Description: Dependency Manager for PHP 5.6
Upstream URL: https://getcomposer.org/
Licenses: MIT
Submitter: tjbp
Maintainer: None
Last Packager: tjbp
Votes: 4
Popularity: 0.000020
First Submitted: 2016-04-12 01:38 (UTC)
Last Updated: 2020-09-22 11:55 (UTC)

Dependencies (2)

Required by (0)

Sources (3)

Latest Comments

1 2 Next › Last »

aiyion commented on 2023-06-07 22:02 (UTC)

Test phase fails if "master" is not the default git branch. Patching this appears to be feasible: https://github.com/composer/composer/pull/9378/files

Other than that php56 is not the only dependency, but several subpackages as well. Would a list help?

auguzanellato commented on 2020-09-19 11:47 (UTC)

php56.patch path is wrong, fixed in this diff

ISSOtm commented on 2020-08-26 01:26 (UTC)

I removed the need for patching the verification script, by calling it using php56 directly instead of relying on its shebang.

I also made the PKGBUILD mimic the official repo's more, especially by not executing the installer script, since it writes to $HOME/.config, and we don't want that.

The diff can be found here.

graphicmist commented on 2017-05-24 09:26 (UTC)

There was 1 error: 1) Composer\Test\Autoload\AutoloadGeneratorTest::testMainPackageAutoloadingWithTargetDir is_readable(): open_basedir restriction in effect. File(/lib) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/php56/pear/:/usr/share/webapps/) I commented the open_basedir in php.ini & it worked.

graphicmist commented on 2017-05-24 09:06 (UTC)

I enabled php extensions phar & openssl in php.ini Apologies

graphicmist commented on 2017-05-24 08:58 (UTC)

I am getting this error? ==> Starting prepare()... Some settings on your machine make Composer unable to work properly. Make sure that you fix the issues listed below and run this script again: The phar extension is missing. Install it or recompile php without --disable-phar The openssl extension is missing, which means that secure HTTPS transfers are impossible. If possible you should enable it or recompile php with --with-openssl ==> ERROR: A failure occurred in prepare(). Aborting... ==> ERROR: Makepkg was unable to build php56-composer.

krunsh commented on 2017-01-26 20:49 (UTC)

Workaround steps : 1. Open /etc/php56/php.ini 2. Find 'date.timezone' and set it to UTC this way: date.timezone = UTC

scottpidzarko commented on 2017-01-06 07:20 (UTC)

Hey I'm getting this error when I try to build the package (with pacaur) ... ==> Starting build()... patching file src/Composer/Compiler.php Hunk #1 succeeded at 187 (offset 4 lines). Hunk #2 succeeded at 228 (offset 4 lines). patching file bin/composer patching file bin/compile Failed to compile phar: [Exception] DateTime::__construct(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. at /home/scott/.cache/pacaur/php56-composer/src/php56-composer/src/Composer/Compiler.php:57 ==> ERROR: A failure occurred in build(). Aborting... :: failed to build php56-composer package(s) Is there a simple workaround for now?

tjbp commented on 2016-08-24 09:12 (UTC)

@pohl7589 Thanks, package updated.

pohl7589 commented on 2016-08-24 08:21 (UTC)

here is the correct link: http://pastebin.com/raw/NzZP8b8C