├── .github └── FUNDING.yml ├── .gitignore ├── .styleci.yml ├── .travis.yml ├── CHANGELOG.md ├── CONTRIBUTING.md ├── LICENSE.md ├── README.md ├── composer.json ├── config └── nova_blueprint.php ├── phpunit.xml.dist ├── src ├── BlueprintNovaAddonServiceProvider.php ├── Contracts │ └── Task.php ├── HasStubPath.php ├── NovaGenerator.php ├── Tasks │ ├── AddIdentifierField.php │ ├── AddRegularFields.php │ ├── AddRelationshipFields.php │ ├── AddResourceImportIfRequired.php │ ├── AddTimestampFields.php │ ├── InteractWithRelationships.php │ └── RemapImports.php └── Translators │ └── Rules.php ├── stubs └── class.stub └── tests ├── NovaGeneratorTest.php ├── RulesTranslatorTest.php ├── TestCase.php └── fixtures ├── definitions ├── custom-namespace.bp ├── model-relationships.bp ├── nested-components-custom-namespace.bp ├── nested-components.bp ├── nullable-relationships.bp ├── readme-example.bp ├── relationships.bp ├── unconventional.bp └── with-timezones.bp └── nova ├── custom-namespace.php ├── model-configured-without-timestamps.php ├── model-configured.php ├── model-relationships.php ├── nested-components-custom-namespace.php ├── nested-components.php ├── nullable-relationships.php ├── readme-example.php ├── relationships.php ├── unconventional.php └── with-timezones.php /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | composer.lock 2 | /vendor -------------------------------------------------------------------------------- /.styleci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/.styleci.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/composer.json -------------------------------------------------------------------------------- /config/nova_blueprint.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/config/nova_blueprint.php -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /src/BlueprintNovaAddonServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/src/BlueprintNovaAddonServiceProvider.php -------------------------------------------------------------------------------- /src/Contracts/Task.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/src/Contracts/Task.php -------------------------------------------------------------------------------- /src/HasStubPath.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/src/HasStubPath.php -------------------------------------------------------------------------------- /src/NovaGenerator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/src/NovaGenerator.php -------------------------------------------------------------------------------- /src/Tasks/AddIdentifierField.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/src/Tasks/AddIdentifierField.php -------------------------------------------------------------------------------- /src/Tasks/AddRegularFields.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/src/Tasks/AddRegularFields.php -------------------------------------------------------------------------------- /src/Tasks/AddRelationshipFields.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/src/Tasks/AddRelationshipFields.php -------------------------------------------------------------------------------- /src/Tasks/AddResourceImportIfRequired.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/src/Tasks/AddResourceImportIfRequired.php -------------------------------------------------------------------------------- /src/Tasks/AddTimestampFields.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/src/Tasks/AddTimestampFields.php -------------------------------------------------------------------------------- /src/Tasks/InteractWithRelationships.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/src/Tasks/InteractWithRelationships.php -------------------------------------------------------------------------------- /src/Tasks/RemapImports.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/src/Tasks/RemapImports.php -------------------------------------------------------------------------------- /src/Translators/Rules.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/src/Translators/Rules.php -------------------------------------------------------------------------------- /stubs/class.stub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/stubs/class.stub -------------------------------------------------------------------------------- /tests/NovaGeneratorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/tests/NovaGeneratorTest.php -------------------------------------------------------------------------------- /tests/RulesTranslatorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/tests/RulesTranslatorTest.php -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/tests/TestCase.php -------------------------------------------------------------------------------- /tests/fixtures/definitions/custom-namespace.bp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/tests/fixtures/definitions/custom-namespace.bp -------------------------------------------------------------------------------- /tests/fixtures/definitions/model-relationships.bp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/tests/fixtures/definitions/model-relationships.bp -------------------------------------------------------------------------------- /tests/fixtures/definitions/nested-components-custom-namespace.bp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/tests/fixtures/definitions/nested-components-custom-namespace.bp -------------------------------------------------------------------------------- /tests/fixtures/definitions/nested-components.bp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/tests/fixtures/definitions/nested-components.bp -------------------------------------------------------------------------------- /tests/fixtures/definitions/nullable-relationships.bp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/tests/fixtures/definitions/nullable-relationships.bp -------------------------------------------------------------------------------- /tests/fixtures/definitions/readme-example.bp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/tests/fixtures/definitions/readme-example.bp -------------------------------------------------------------------------------- /tests/fixtures/definitions/relationships.bp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/tests/fixtures/definitions/relationships.bp -------------------------------------------------------------------------------- /tests/fixtures/definitions/unconventional.bp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/tests/fixtures/definitions/unconventional.bp -------------------------------------------------------------------------------- /tests/fixtures/definitions/with-timezones.bp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/tests/fixtures/definitions/with-timezones.bp -------------------------------------------------------------------------------- /tests/fixtures/nova/custom-namespace.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/tests/fixtures/nova/custom-namespace.php -------------------------------------------------------------------------------- /tests/fixtures/nova/model-configured-without-timestamps.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/tests/fixtures/nova/model-configured-without-timestamps.php -------------------------------------------------------------------------------- /tests/fixtures/nova/model-configured.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/tests/fixtures/nova/model-configured.php -------------------------------------------------------------------------------- /tests/fixtures/nova/model-relationships.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/tests/fixtures/nova/model-relationships.php -------------------------------------------------------------------------------- /tests/fixtures/nova/nested-components-custom-namespace.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/tests/fixtures/nova/nested-components-custom-namespace.php -------------------------------------------------------------------------------- /tests/fixtures/nova/nested-components.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/tests/fixtures/nova/nested-components.php -------------------------------------------------------------------------------- /tests/fixtures/nova/nullable-relationships.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/tests/fixtures/nova/nullable-relationships.php -------------------------------------------------------------------------------- /tests/fixtures/nova/readme-example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/tests/fixtures/nova/readme-example.php -------------------------------------------------------------------------------- /tests/fixtures/nova/relationships.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/tests/fixtures/nova/relationships.php -------------------------------------------------------------------------------- /tests/fixtures/nova/unconventional.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/tests/fixtures/nova/unconventional.php -------------------------------------------------------------------------------- /tests/fixtures/nova/with-timezones.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naoray/blueprint-nova-addon/HEAD/tests/fixtures/nova/with-timezones.php --------------------------------------------------------------------------------