aceraven777 / laravel-paymaya

Integration of PayMaya to Laravel
MIT License
17 stars 7 forks source link

Failed Installation #20

Closed BruhG0d closed 2 years ago

BruhG0d commented 2 years ago

Your requirements could not be resolved to an installable set of packages.

Problem 1

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

aceraven777 commented 2 years ago

Hi @BruhG0d may I know what laravel version are you using?

BruhG0d commented 2 years ago

"laravel/framework": "^9.19",

Composer version 2.4.1

BruhG0d commented 2 years ago

All other packages installed in my project:

bacon/bacon-qr-code 2.0.7 BaconQrCode is a QR code generator for PHP. brick/math 0.10.2 Arbitrary-precision arithmetic library dasprid/enum 1.0.3 PHP 7.1 enum implementation dflydev/dot-access-data v3.0.1 Given a deep data structure, access data by dot notation. doctrine/inflector 2.0.4 PHP Doctrine Inflector is a small library that can perform string manipulations with regar...
doctrine/instantiator 1.4.1 A small, lightweight utility to instantiate objects in PHP without invoking their construc...
doctrine/lexer 1.2.3 PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.
dragonmantank/cron-expression v3.3.1 CRON for PHP: Calculate the next or previous run date and determine if a CRON expression i...
egulias/email-validator 3.2.1 A library for validating emails against several RFCs facade/ignition-contracts 1.0.2 Solution contracts for Ignition fakerphp/faker v1.20.0 Faker is a PHP library that generates fake data for you. filp/whoops 2.14.5 php error handling for cool kids fruitcake/php-cors v1.2.0 Cross-origin resource sharing library for the Symfony HttpFoundation graham-campbell/result-type v1.1.0 An Implementation Of The Result Type guzzlehttp/guzzle 7.5.0 Guzzle is a PHP HTTP client library guzzlehttp/promises 1.5.1 Guzzle promises library guzzlehttp/psr7 2.4.0 PSR-7 message implementation that also provides common utility methods hamcrest/hamcrest-php v2.0.1 This is the PHP port of Hamcrest Matchers jaybizzle/crawler-detect v1.2.111 CrawlerDetect is a PHP class for detecting bots/crawlers/spiders via the user agent jenssegers/agent v2.6.4 Desktop/mobile user agent parser with support for Laravel, based on Mobiledetect laravel/fortify v1.13.3 Backend controllers and scaffolding for Laravel authentication. laravel/framework v9.26.1 The Laravel Framework. laravel/jetstream v2.11.2 Tailwind scaffolding for the Laravel framework. laravel/pint v1.1.1 An opinionated code formatter for PHP. laravel/sail v1.15.4 Docker files for running a basic Laravel application. laravel/sanctum v3.0.1 Laravel Sanctum provides a featherweight authentication system for SPAs and simple APIs.
laravel/serializable-closure v1.2.0 Laravel Serializable Closure provides an easy and secure way to serialize closures in PHP.
laravel/tinker v2.7.2 Powerful REPL for the Laravel framework. league/commonmark 2.3.5 Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-...
league/config v1.1.1 Define configuration arrays with strict schemas and access values with dot notation league/flysystem 3.2.1 File storage abstraction for PHP league/mime-type-detection 1.11.0 Mime-type detection for Flysystem livewire/livewire v2.10.7 A front-end framework for Laravel. mobiledetect/mobiledetectlib 2.8.39 Mobile_Detect is a lightweight PHP class for detecting mobile devices. It uses the User-Ag...
mockery/mockery 1.5.0 Mockery is a simple yet flexible PHP mock object framework monolog/monolog 2.8.0 Sends your logs to files, sockets, inboxes, databases and various web services myclabs/deep-copy 1.11.0 Create deep copies (clones) of your objects nesbot/carbon 2.61.0 An API extension for DateTime that supports 281 different languages. nette/schema v1.2.2 📐 Nette Schema: validating data structures against a given Schema. nette/utils v3.2.7 🛠 Nette Utils: lightweight utilities for string & array manipulation, image handling, ...
nikic/php-parser v4.14.0 A PHP parser written in PHP nunomaduro/collision v6.2.1 Cli error handling for console/command-line PHP applications. nunomaduro/termwind v1.14.0 Its like Tailwind CSS, but for the console. paragonie/constant_timeencoding v2.6.3 Constant-time Implementations of RFC 4648 Encoding (Base-64, Base-32, Base-16) paymaya/paymaya-sdk 0.0.2 PHP SDK for PayMaya APIs. Accept credit and debit card payments on your web app. phar-io/manifest 2.0.3 Component for reading phar.io manifest information from a PHP Archive (PHAR) phar-io/version 3.2.1 Library for handling version information and constraints phpoption/phpoption 1.9.0 Option Type for PHP phpunit/php-code-coverage 9.2.16 Library that provides collection, processing, and rendering functionality for PHP code cov...
phpunit/php-file-iterator 3.0.6 FilterIterator implementation that filters files based on a list of suffixes. phpunit/php-invoker 3.1.1 Invoke callables with a timeout phpunit/php-text-template 2.0.4 Simple template engine. phpunit/php-timer 5.0.3 Utility class for timing phpunit/phpunit 9.5.23 The PHP Unit Testing framework. pragmarx/google2fa v8.0.1 A One Time Password Authentication package, compatible with Google Authenticator. psr/container 2.0.2 Common Container Interface (PHP FIG PSR-11) psr/event-dispatcher 1.0.0 Standard interfaces for event handling. psr/http-client 1.0.1 Common interface for HTTP clients psr/http-factory 1.0.1 Common interfaces for PSR-7 HTTP message factories psr/http-message 1.0.1 Common interface for HTTP messages psr/log 1.0.2 Common interface for logging libraries psr/simple-cache 3.0.0 Common interfaces for simple caching psy/psysh v0.11.8 An interactive shell for modern PHP. ralouphie/getallheaders 3.0.3 A polyfill for getallheaders. ramsey/collection 1.2.2 A PHP library for representing and manipulating collections. ramsey/uuid 4.4.0 A PHP library for generating and working with universally unique identifiers (UUIDs). sebastian/cli-parser 1.0.1 Library for parsing CLI options sebastian/code-unit 1.0.8 Collection of value objects that represent the PHP code units sebastian/code-unit-reverse-lookup 2.0.3 Looks up which function or method a line of code belongs to sebastian/comparator 4.0.6 Provides the functionality to compare PHP values for equality sebastian/complexity 2.0.2 Library for calculating the complexity of PHP code units sebastian/diff 4.0.4 Diff implementation sebastian/environment 5.1.4 Provides functionality to handle HHVM/PHP environments sebastian/exporter 4.0.4 Provides the functionality to export PHP variables for visualization sebastian/global-state 5.0.5 Snapshotting of global state sebastian/lines-of-code 1.0.3 Library for counting the lines of code in PHP source code sebastian/object-enumerator 4.0.4 Traverses array structures and object graphs to enumerate all referenced objects sebastian/object-reflector 2.0.4 Allows reflection of object attributes, including inherited and non-public ones sebastian/recursion-context 4.0.4 Provides functionality to recursively process PHP variables sebastian/resource-operations 3.0.3 Provides a list of PHP built-in functions that operate on resources sebastian/type 3.0.0 Collection of value objects that represent the types of the PHP type system sebastian/version 3.0.2 Library that helps with managing the version number of Git-hosted PHP projects spatie/backtrace 1.2.1 A better backtrace spatie/flare-client-php 1.3.0 Send PHP errors to Flare spatie/ignition 1.3.1 A beautiful error page for PHP applications. spatie/laravel-ignition 1.3.1 A beautiful error page for Laravel applications. stripe/stripe-php v9.3.0 Stripe PHP Library symfony/console v6.1.3 Eases the creation of beautiful and testable command line interfaces symfony/css-selector v6.1.3 Converts CSS selectors to XPath expressions symfony/deprecation-contracts v3.1.1 A generic function and convention to trigger deprecation notices symfony/error-handler v6.1.3 Provides tools to manage errors and ease debugging PHP code symfony/event-dispatcher v6.1.0 Provides tools that allow your application components to communicate with each other by di...
symfony/event-dispatcher-contracts v3.1.1 Generic abstractions related to dispatching event symfony/finder v6.1.3 Finds files and directories via an intuitive fluent interface symfony/http-foundation v6.1.3 Defines an object-oriented layer for the HTTP specification symfony/http-kernel v6.1.3 Provides a structured process for converting a Request into a Response symfony/mailer v6.1.3 Helps sending emails symfony/mime v6.1.3 Allows manipulating MIME messages symfony/polyfill-ctype v1.26.0 Symfony polyfill for ctype functions symfony/polyfill-intl-grapheme v1.26.0 Symfony polyfill for intl's grapheme
* functions symfony/polyfill-intl-idn v1.26.0 Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions symfony/polyfill-intl-normalizer v1.26.0 Symfony polyfill for intl's Normalizer class and related functions symfony/polyfill-mbstring v1.26.0 Symfony polyfill for the Mbstring extension symfony/polyfill-php72 v1.26.0 Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions symfony/polyfill-php80 v1.26.0 Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions symfony/polyfill-php81 v1.26.0 Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions symfony/process v6.1.3 Executes commands in sub-processes symfony/routing v6.1.3 Maps an HTTP request to a set of configuration variables symfony/service-contracts v3.1.1 Generic abstractions related to writing services symfony/string v6.1.3 Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and gra...
symfony/translation v6.1.3 Provides tools to internationalize your application symfony/translation-contracts v3.1.1 Generic abstractions related to translation symfony/var-dumper v6.1.3 Provides mechanisms for walking through any arbitrary PHP variable theseer/tokenizer 1.2.1 A small library for converting tokenized PHP source code into XML and potentially other fo...
tijsverkoyen/css-to-inline-styles 2.2.4 CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/...
vlucas/phpdotenv v5.4.1 Loads environment variables from .env to getenv(), $_ENV and $_SERVER automagically.
voku/portable-ascii 2.0.1 Portable ASCII library - performance optimized (ascii) string functions for php. webmozart/assert 1.11.0 Assertions to validate method input/output with nice error messages.

aceraven777 commented 2 years ago

@BruhG0d I pushed a commit ee16278428af9ee8bebd0fd326c5b637ac7ce32f

Kindly reinstall aceraven777/paymaya. It should use v1.1.3.

BruhG0d commented 2 years ago

composer require aceraven777/laravel-paymaya "~1.1.3"

gives me this error

Your requirements could not be resolved to an installable set of packages.

Problem 1

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

BruhG0d commented 2 years ago

composer require aceraven777/laravel-paymaya "~1.1"

Your requirements could not be resolved to an installable set of packages.

Problem 1

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

BruhG0d commented 2 years ago

composer diagnose

Checking composer.json: WARNING require.paymaya/paymaya-sdk : unbound version constraints (*) should be avoided Checking platform settings: OK Checking git settings: OK git version 2.37.2 Checking http connectivity to packagist: FAIL [Composer\Downloader\TransportException] curl error 28 while downloading http://repo.packagist.org/packages.json: Connection timed out after 10000 milliseconds Checking https connectivity to packagist: FAIL [Composer\Downloader\TransportException] curl error 28 while downloading https://repo.packagist.org/packages.json: Connection timed out after 10007 milliseconds Checking HTTP proxy: FAIL [Composer\Downloader\TransportException] curl error 28 while downloading https://repo.packagist.org/packages.json: Connection timed out after 10010 milliseconds Checking github.com rate limit: FAIL [Composer\Downloader\TransportException] curl error 28 while downloading https://api.github.com/rate_limit: Connection timed out after 10003 milliseconds Checking disk free space: OK Checking pubkeys: Tags Public Key Fingerprint: 57815BA2 7E54DC31 7ECC7CC5 573090D0 87719BA6 8F3BB723 4E5D42D0 84A14642 Dev Public Key Fingerprint: 4AC45767 E5EC2265 2F0C1167 CBBB8A2B 0C708369 153E328C AD90147D AFE50952 OK Checking composer version: FAIL [Composer\Downloader\TransportException] curl error 28 while downloading https://getcomposer.org/versions: Connection timed out after 10008 milliseconds Composer version: 2.4.1 PHP version: 8.1.6 PHP binary path: C:\xampp\php\php.exe OpenSSL version: OpenSSL 1.1.1n 15 Mar 2022 cURL version: 7.77.0 libz 1.2.12 ssl OpenSSL/1.1.1n zip: extension present, unzip not available, 7-Zip not available

BruhG0d commented 2 years ago

laravel paymaya sdk composer error

composer require aceraven777/laravel-paymaya:*

aceraven777 commented 2 years ago

Hi, apologies for the late reply, I have a full-time job. I will accommodate any request when I'm free.

Anyway, you're nearly there. Based on your last reply you just need to read and follow those instructions. Go to the link there - https://github.com/settings/tokens/....

BruhG0d commented 2 years ago

Hi, I have been generating personal access tokens and I don't know what to do next.

BruhG0d commented 2 years ago

It appears that I have problems connecting to packagist.org on my composer.

Resolved my issue by following this stack overflow solution.

run CLI on project directory SET HTTP_PROXY=http://username:password@proxy.yourdomain.com:8080 && php composer.phar install

https://stackoverflow.com/questions/15268093/composer-cannot-download-files