davellanedam / phalcon-micro-rest-api-skeleton

This is a basic API REST skeleton written on Phalcon PHP. Great For building an MVP for your frontend app (Vue, react, angular, or anything that can consume an API)
MIT License
57 stars 20 forks source link

Using this skeleton with Phalcon 4 #13

Open amsharma9 opened 2 years ago

amsharma9 commented 2 years ago

Hi,

I am unable to get this skeleton to work with Phalcon 4.1.0 on my 64bit Windows 10 machine using Wampserver. It shows me errors in most initialization files as given below:

Do I have to run composer to complete the installation? Do I need to update the composer.json file for newer versions of Phalcon. I assume I will to update it. What do I specify in the dependencies? composer update gives below errors on command prompt:

  Problem 1
    - phalcon/devtools[v3.2.0, ..., v3.2.13] require ext-phalcon ~3.1 -> it has the wrong version installed (4.1.0).
    - phalcon/devtools[v3.4.0, ..., v3.4.14] require ext-phalcon ~3.3 -> it has the wrong version installed (4.1.0).
    - Root composer.json requires phalcon/devtools ^3.2 -> satisfiable by phalcon/devtools[v3.2.0, ..., v3.4.14].

Phalcon 4.1.0. is installed and shown by phpinfo(). I am using Php 7.4.26 and Apache 2.4.51. TIA.

Regards Amal