├── .gitignore ├── .scrutinizer.yml ├── .travis.yml ├── LICENSE ├── README.md ├── composer.json ├── phpunit.xml ├── src ├── Commands │ ├── PbagCommand.php │ ├── PublishRulesFile.php │ └── PublishSettingsConfig.php ├── Exceptions │ ├── InvalidSettingsRule.php │ ├── InvalidSettingsValue.php │ └── ResourceNotFound.php ├── Helpers │ └── NameResolver.php ├── Migrations │ └── 2016_09_19_000000_create_property_bag_table.php ├── ServiceProvider.php ├── Settings │ ├── HasSettings.php │ ├── PropertyBag.php │ ├── ResourceConfig.php │ ├── Rules │ │ ├── RuleValidator.php │ │ └── Rules.php │ └── Settings.php └── Stubs │ ├── ResourceConfig.php │ └── Rules.php └── tests ├── Classes ├── Admin.php ├── Comment.php ├── CommentConfig.php ├── Group.php ├── GroupConfig.php ├── Post.php ├── PostConfig.php ├── Rules.php ├── User.php └── UserConfig.php ├── Functional └── PropertyBagTest.php ├── Migrations ├── CreateCommentsTable.php ├── CreateGroupsTable.php ├── CreatePostsTable.php └── CreateUsersTable.php ├── TestCase.php └── Unit ├── CommandTest.php ├── HasSettingsTest.php ├── RuleTest.php ├── SettingsTest.php └── TypeTest.php /.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | .env 3 | composer.lock 4 | .idea 5 | -------------------------------------------------------------------------------- /.scrutinizer.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/.scrutinizer.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/composer.json -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/phpunit.xml -------------------------------------------------------------------------------- /src/Commands/PbagCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/src/Commands/PbagCommand.php -------------------------------------------------------------------------------- /src/Commands/PublishRulesFile.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/src/Commands/PublishRulesFile.php -------------------------------------------------------------------------------- /src/Commands/PublishSettingsConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/src/Commands/PublishSettingsConfig.php -------------------------------------------------------------------------------- /src/Exceptions/InvalidSettingsRule.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/src/Exceptions/InvalidSettingsRule.php -------------------------------------------------------------------------------- /src/Exceptions/InvalidSettingsValue.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/src/Exceptions/InvalidSettingsValue.php -------------------------------------------------------------------------------- /src/Exceptions/ResourceNotFound.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/src/Exceptions/ResourceNotFound.php -------------------------------------------------------------------------------- /src/Helpers/NameResolver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/src/Helpers/NameResolver.php -------------------------------------------------------------------------------- /src/Migrations/2016_09_19_000000_create_property_bag_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/src/Migrations/2016_09_19_000000_create_property_bag_table.php -------------------------------------------------------------------------------- /src/ServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/src/ServiceProvider.php -------------------------------------------------------------------------------- /src/Settings/HasSettings.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/src/Settings/HasSettings.php -------------------------------------------------------------------------------- /src/Settings/PropertyBag.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/src/Settings/PropertyBag.php -------------------------------------------------------------------------------- /src/Settings/ResourceConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/src/Settings/ResourceConfig.php -------------------------------------------------------------------------------- /src/Settings/Rules/RuleValidator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/src/Settings/Rules/RuleValidator.php -------------------------------------------------------------------------------- /src/Settings/Rules/Rules.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/src/Settings/Rules/Rules.php -------------------------------------------------------------------------------- /src/Settings/Settings.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/src/Settings/Settings.php -------------------------------------------------------------------------------- /src/Stubs/ResourceConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/src/Stubs/ResourceConfig.php -------------------------------------------------------------------------------- /src/Stubs/Rules.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/src/Stubs/Rules.php -------------------------------------------------------------------------------- /tests/Classes/Admin.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/tests/Classes/Admin.php -------------------------------------------------------------------------------- /tests/Classes/Comment.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/tests/Classes/Comment.php -------------------------------------------------------------------------------- /tests/Classes/CommentConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/tests/Classes/CommentConfig.php -------------------------------------------------------------------------------- /tests/Classes/Group.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/tests/Classes/Group.php -------------------------------------------------------------------------------- /tests/Classes/GroupConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/tests/Classes/GroupConfig.php -------------------------------------------------------------------------------- /tests/Classes/Post.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/tests/Classes/Post.php -------------------------------------------------------------------------------- /tests/Classes/PostConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/tests/Classes/PostConfig.php -------------------------------------------------------------------------------- /tests/Classes/Rules.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/tests/Classes/Rules.php -------------------------------------------------------------------------------- /tests/Classes/User.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/tests/Classes/User.php -------------------------------------------------------------------------------- /tests/Classes/UserConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/tests/Classes/UserConfig.php -------------------------------------------------------------------------------- /tests/Functional/PropertyBagTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/tests/Functional/PropertyBagTest.php -------------------------------------------------------------------------------- /tests/Migrations/CreateCommentsTable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/tests/Migrations/CreateCommentsTable.php -------------------------------------------------------------------------------- /tests/Migrations/CreateGroupsTable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/tests/Migrations/CreateGroupsTable.php -------------------------------------------------------------------------------- /tests/Migrations/CreatePostsTable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/tests/Migrations/CreatePostsTable.php -------------------------------------------------------------------------------- /tests/Migrations/CreateUsersTable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/tests/Migrations/CreateUsersTable.php -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/tests/TestCase.php -------------------------------------------------------------------------------- /tests/Unit/CommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/tests/Unit/CommandTest.php -------------------------------------------------------------------------------- /tests/Unit/HasSettingsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/tests/Unit/HasSettingsTest.php -------------------------------------------------------------------------------- /tests/Unit/RuleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/tests/Unit/RuleTest.php -------------------------------------------------------------------------------- /tests/Unit/SettingsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/tests/Unit/SettingsTest.php -------------------------------------------------------------------------------- /tests/Unit/TypeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zachleigh/laravel-property-bag/HEAD/tests/Unit/TypeTest.php --------------------------------------------------------------------------------