Coder-Spirit/php-bignumbers

Class Decimal not found

Closed this issue · 2 comments

  1. Created a composer.json
  2. Grabbed the composer.phar
  3. Composer.phar install and the vendor directory is created
  4. Created a BasicUsage.php one directory level above vendor

php BasicUsage.php prompts Class Decimal not found.

Solved the issue.

Please insert "require_once the autoload.php" code in your sample code.

Thanks.

Thanks for your advice :) . I'll change the README.md as soon as possible.