├── .gitignore ├── .travis.yml ├── README.md ├── composer.json ├── phpunit.xml.dist ├── src ├── Authenticable.php ├── ConfigGenerator.php ├── Field.php ├── FieldRules.php ├── FieldTypes.php ├── Generator.php ├── MigrationAnalyzer.php ├── MigrationCommand.php ├── MigrationGenerator.php ├── Model.php ├── ModelCommand.php ├── ModelGenerator.php ├── SmartModel.php └── SmartServiceProvider.php └── tests ├── AuthenticableTest.php ├── FieldLabelTest.php ├── FieldRulesTest.php ├── FieldTypesTest.php ├── GeneratorTest.php ├── MigrationGeneratorTest.php ├── ModelGeneratorTest.php ├── ModelTest.php ├── Models ├── BigBang.php ├── Duplicity.php ├── FieldCaching.php ├── OhRule.php ├── Product.php └── User.php ├── Snapshots ├── join-tree.txt ├── migration-1.txt ├── migration-2.txt └── model.txt └── TestCase.php /.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | composer.lock 3 | .phpunit.result.cache -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/.travis.yml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/composer.json -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /src/Authenticable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/src/Authenticable.php -------------------------------------------------------------------------------- /src/ConfigGenerator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/src/ConfigGenerator.php -------------------------------------------------------------------------------- /src/Field.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/src/Field.php -------------------------------------------------------------------------------- /src/FieldRules.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/src/FieldRules.php -------------------------------------------------------------------------------- /src/FieldTypes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/src/FieldTypes.php -------------------------------------------------------------------------------- /src/Generator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/src/Generator.php -------------------------------------------------------------------------------- /src/MigrationAnalyzer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/src/MigrationAnalyzer.php -------------------------------------------------------------------------------- /src/MigrationCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/src/MigrationCommand.php -------------------------------------------------------------------------------- /src/MigrationGenerator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/src/MigrationGenerator.php -------------------------------------------------------------------------------- /src/Model.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/src/Model.php -------------------------------------------------------------------------------- /src/ModelCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/src/ModelCommand.php -------------------------------------------------------------------------------- /src/ModelGenerator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/src/ModelGenerator.php -------------------------------------------------------------------------------- /src/SmartModel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/src/SmartModel.php -------------------------------------------------------------------------------- /src/SmartServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/src/SmartServiceProvider.php -------------------------------------------------------------------------------- /tests/AuthenticableTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/tests/AuthenticableTest.php -------------------------------------------------------------------------------- /tests/FieldLabelTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/tests/FieldLabelTest.php -------------------------------------------------------------------------------- /tests/FieldRulesTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/tests/FieldRulesTest.php -------------------------------------------------------------------------------- /tests/FieldTypesTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/tests/FieldTypesTest.php -------------------------------------------------------------------------------- /tests/GeneratorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/tests/GeneratorTest.php -------------------------------------------------------------------------------- /tests/MigrationGeneratorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/tests/MigrationGeneratorTest.php -------------------------------------------------------------------------------- /tests/ModelGeneratorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/tests/ModelGeneratorTest.php -------------------------------------------------------------------------------- /tests/ModelTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/tests/ModelTest.php -------------------------------------------------------------------------------- /tests/Models/BigBang.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/tests/Models/BigBang.php -------------------------------------------------------------------------------- /tests/Models/Duplicity.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/tests/Models/Duplicity.php -------------------------------------------------------------------------------- /tests/Models/FieldCaching.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/tests/Models/FieldCaching.php -------------------------------------------------------------------------------- /tests/Models/OhRule.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/tests/Models/OhRule.php -------------------------------------------------------------------------------- /tests/Models/Product.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/tests/Models/Product.php -------------------------------------------------------------------------------- /tests/Models/User.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/tests/Models/User.php -------------------------------------------------------------------------------- /tests/Snapshots/join-tree.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/tests/Snapshots/join-tree.txt -------------------------------------------------------------------------------- /tests/Snapshots/migration-1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/tests/Snapshots/migration-1.txt -------------------------------------------------------------------------------- /tests/Snapshots/migration-2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/tests/Snapshots/migration-2.txt -------------------------------------------------------------------------------- /tests/Snapshots/model.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/tests/Snapshots/model.txt -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/deiucanta/laravel-smart/HEAD/tests/TestCase.php --------------------------------------------------------------------------------