├── .gitignore ├── .php_cs ├── .travis.yml ├── LICENSE ├── README.md ├── composer.json ├── phpunit.xml ├── src ├── Revaluable.php ├── RevaluationServiceProvider.php ├── Traits │ └── HasRevaluableAttributes.php ├── Valuators │ ├── RmbCent.php │ └── Valuator.php └── config.php └── tests ├── HasRevaluableAttributesTest.php ├── Order.php ├── OrderWithCustomPrefix.php ├── OrderWithReplaceToArray.php ├── OrderWithToArrayFalse.php └── stubs └── migrations └── 2017_01_09_132402_create_orders_table.php /.gitignore: -------------------------------------------------------------------------------- 1 | /vendor/ 2 | composer.lock 3 | .php_cs.cache -------------------------------------------------------------------------------- /.php_cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/overtrue/laravel-revaluation/HEAD/.php_cs -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/overtrue/laravel-revaluation/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/overtrue/laravel-revaluation/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/overtrue/laravel-revaluation/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/overtrue/laravel-revaluation/HEAD/composer.json -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/overtrue/laravel-revaluation/HEAD/phpunit.xml -------------------------------------------------------------------------------- /src/Revaluable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/overtrue/laravel-revaluation/HEAD/src/Revaluable.php -------------------------------------------------------------------------------- /src/RevaluationServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/overtrue/laravel-revaluation/HEAD/src/RevaluationServiceProvider.php -------------------------------------------------------------------------------- /src/Traits/HasRevaluableAttributes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/overtrue/laravel-revaluation/HEAD/src/Traits/HasRevaluableAttributes.php -------------------------------------------------------------------------------- /src/Valuators/RmbCent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/overtrue/laravel-revaluation/HEAD/src/Valuators/RmbCent.php -------------------------------------------------------------------------------- /src/Valuators/Valuator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/overtrue/laravel-revaluation/HEAD/src/Valuators/Valuator.php -------------------------------------------------------------------------------- /src/config.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/overtrue/laravel-revaluation/HEAD/src/config.php -------------------------------------------------------------------------------- /tests/HasRevaluableAttributesTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/overtrue/laravel-revaluation/HEAD/tests/HasRevaluableAttributesTest.php -------------------------------------------------------------------------------- /tests/Order.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/overtrue/laravel-revaluation/HEAD/tests/Order.php -------------------------------------------------------------------------------- /tests/OrderWithCustomPrefix.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/overtrue/laravel-revaluation/HEAD/tests/OrderWithCustomPrefix.php -------------------------------------------------------------------------------- /tests/OrderWithReplaceToArray.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/overtrue/laravel-revaluation/HEAD/tests/OrderWithReplaceToArray.php -------------------------------------------------------------------------------- /tests/OrderWithToArrayFalse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/overtrue/laravel-revaluation/HEAD/tests/OrderWithToArrayFalse.php -------------------------------------------------------------------------------- /tests/stubs/migrations/2017_01_09_132402_create_orders_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/overtrue/laravel-revaluation/HEAD/tests/stubs/migrations/2017_01_09_132402_create_orders_table.php --------------------------------------------------------------------------------