JMSSerializer stand alone - Annotation does not exist, or cannot be auto-loaded

前端 未结 6 1505
遥遥无期
遥遥无期 2020-12-13 18:00

I am attempting to use JMSSerializer as a stand alone library to map JSON responses from an API to my model classes and am running into some issues.

Executing the fo

6条回答
  •  不思量自难忘°
    2020-12-13 18:32

    Here is the solution

    1.go to php directory then install composer php composer-setup.php 2. go to project sdk directory e.g.

    cd /Applications/XAMPP/xamppfiles/htdocs/streetreturn/adn_sdk-php-master

    update composer to install dependencies php /Users/zakir/composer.phar update

    *Note: /Users/zakir/composer.phar will be located when install composer in step 1

提交回复
热议问题