├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── composer.json ├── config └── config.php ├── database └── migrations │ ├── 2020_01_01_000001_create_attributes_table.php │ ├── 2020_01_01_000002_create_attribute_text_values_table.php │ ├── 2020_01_01_000003_create_attribute_boolean_values_table.php │ ├── 2020_01_01_000004_create_attribute_datetime_values_table.php │ ├── 2020_01_01_000005_create_attribute_integer_values_table.php │ ├── 2020_01_01_000006_create_attribute_varchar_values_table.php │ ├── 2020_01_01_000007_create_attribute_entity_table.php │ └── 2020_10_14_000001_add_attribute_value_indexes.php ├── phpstan.neon.dist └── src ├── Console └── Commands │ ├── MigrateCommand.php │ ├── PublishCommand.php │ └── RollbackCommand.php ├── Events ├── EntityWasDeleted.php └── EntityWasSaved.php ├── Models ├── Attribute.php ├── AttributeEntity.php ├── Type │ ├── Boolean.php │ ├── Datetime.php │ ├── Integer.php │ ├── Text.php │ └── Varchar.php └── Value.php ├── Providers └── AttributesServiceProvider.php ├── Scopes └── EagerLoadScope.php ├── Support └── ValueCollection.php └── Traits └── Attributable.php /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/composer.json -------------------------------------------------------------------------------- /config/config.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/config/config.php -------------------------------------------------------------------------------- /database/migrations/2020_01_01_000001_create_attributes_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/database/migrations/2020_01_01_000001_create_attributes_table.php -------------------------------------------------------------------------------- /database/migrations/2020_01_01_000002_create_attribute_text_values_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/database/migrations/2020_01_01_000002_create_attribute_text_values_table.php -------------------------------------------------------------------------------- /database/migrations/2020_01_01_000003_create_attribute_boolean_values_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/database/migrations/2020_01_01_000003_create_attribute_boolean_values_table.php -------------------------------------------------------------------------------- /database/migrations/2020_01_01_000004_create_attribute_datetime_values_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/database/migrations/2020_01_01_000004_create_attribute_datetime_values_table.php -------------------------------------------------------------------------------- /database/migrations/2020_01_01_000005_create_attribute_integer_values_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/database/migrations/2020_01_01_000005_create_attribute_integer_values_table.php -------------------------------------------------------------------------------- /database/migrations/2020_01_01_000006_create_attribute_varchar_values_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/database/migrations/2020_01_01_000006_create_attribute_varchar_values_table.php -------------------------------------------------------------------------------- /database/migrations/2020_01_01_000007_create_attribute_entity_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/database/migrations/2020_01_01_000007_create_attribute_entity_table.php -------------------------------------------------------------------------------- /database/migrations/2020_10_14_000001_add_attribute_value_indexes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/database/migrations/2020_10_14_000001_add_attribute_value_indexes.php -------------------------------------------------------------------------------- /phpstan.neon.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/phpstan.neon.dist -------------------------------------------------------------------------------- /src/Console/Commands/MigrateCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/src/Console/Commands/MigrateCommand.php -------------------------------------------------------------------------------- /src/Console/Commands/PublishCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/src/Console/Commands/PublishCommand.php -------------------------------------------------------------------------------- /src/Console/Commands/RollbackCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/src/Console/Commands/RollbackCommand.php -------------------------------------------------------------------------------- /src/Events/EntityWasDeleted.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/src/Events/EntityWasDeleted.php -------------------------------------------------------------------------------- /src/Events/EntityWasSaved.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/src/Events/EntityWasSaved.php -------------------------------------------------------------------------------- /src/Models/Attribute.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/src/Models/Attribute.php -------------------------------------------------------------------------------- /src/Models/AttributeEntity.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/src/Models/AttributeEntity.php -------------------------------------------------------------------------------- /src/Models/Type/Boolean.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/src/Models/Type/Boolean.php -------------------------------------------------------------------------------- /src/Models/Type/Datetime.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/src/Models/Type/Datetime.php -------------------------------------------------------------------------------- /src/Models/Type/Integer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/src/Models/Type/Integer.php -------------------------------------------------------------------------------- /src/Models/Type/Text.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/src/Models/Type/Text.php -------------------------------------------------------------------------------- /src/Models/Type/Varchar.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/src/Models/Type/Varchar.php -------------------------------------------------------------------------------- /src/Models/Value.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/src/Models/Value.php -------------------------------------------------------------------------------- /src/Providers/AttributesServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/src/Providers/AttributesServiceProvider.php -------------------------------------------------------------------------------- /src/Scopes/EagerLoadScope.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/src/Scopes/EagerLoadScope.php -------------------------------------------------------------------------------- /src/Support/ValueCollection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/src/Support/ValueCollection.php -------------------------------------------------------------------------------- /src/Traits/Attributable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rinvex/laravel-attributes/HEAD/src/Traits/Attributable.php --------------------------------------------------------------------------------