├── .editorconfig ├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── ISSUE_TEMPLATE.md ├── LICENSE.md ├── PULL_REQUEST_TEMPLATE.md ├── README.md ├── composer.json ├── config └── route-model-autobinding.php ├── phpcs.xml.dist ├── phpunit.xml ├── src ├── Autobinder.php ├── CaseTypes.php ├── Commands │ ├── CacheRouteModels.php │ └── ClearCachedRouteModels.php └── RouteModelAutobindingServiceProvider.php └── tests ├── Feature ├── AutobinderCacheTest.php ├── AutobinderCaseTest.php ├── AutobinderTest.php └── Commands │ ├── AutobinderCacheCommandTest.php │ └── AutobinderClearCacheCommandTest.php ├── MocksInstances.php ├── TestCase.php └── resources ├── MyPackage └── src │ └── Models │ ├── Sub │ ├── Package.php │ └── Scope.php │ ├── Thing.php │ └── plain.php ├── app ├── Models │ ├── BaseModel.php │ ├── NoModel.php │ └── SomethingInherited.php └── User.php ├── bootstrap └── cache │ └── .gitignore ├── cache.php ├── composer.json └── modules └── MyModule └── Models ├── Address.php └── HasSomething.php /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastiaanluca/laravel-route-model-autobinding/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastiaanluca/laravel-route-model-autobinding/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastiaanluca/laravel-route-model-autobinding/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastiaanluca/laravel-route-model-autobinding/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastiaanluca/laravel-route-model-autobinding/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastiaanluca/laravel-route-model-autobinding/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastiaanluca/laravel-route-model-autobinding/HEAD/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastiaanluca/laravel-route-model-autobinding/HEAD/LICENSE.md -------------------------------------------------------------------------------- /PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastiaanluca/laravel-route-model-autobinding/HEAD/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastiaanluca/laravel-route-model-autobinding/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastiaanluca/laravel-route-model-autobinding/HEAD/composer.json -------------------------------------------------------------------------------- /config/route-model-autobinding.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastiaanluca/laravel-route-model-autobinding/HEAD/config/route-model-autobinding.php -------------------------------------------------------------------------------- /phpcs.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastiaanluca/laravel-route-model-autobinding/HEAD/phpcs.xml.dist -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastiaanluca/laravel-route-model-autobinding/HEAD/phpunit.xml -------------------------------------------------------------------------------- /src/Autobinder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastiaanluca/laravel-route-model-autobinding/HEAD/src/Autobinder.php -------------------------------------------------------------------------------- /src/CaseTypes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastiaanluca/laravel-route-model-autobinding/HEAD/src/CaseTypes.php -------------------------------------------------------------------------------- /src/Commands/CacheRouteModels.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastiaanluca/laravel-route-model-autobinding/HEAD/src/Commands/CacheRouteModels.php -------------------------------------------------------------------------------- /src/Commands/ClearCachedRouteModels.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastiaanluca/laravel-route-model-autobinding/HEAD/src/Commands/ClearCachedRouteModels.php -------------------------------------------------------------------------------- /src/RouteModelAutobindingServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastiaanluca/laravel-route-model-autobinding/HEAD/src/RouteModelAutobindingServiceProvider.php -------------------------------------------------------------------------------- /tests/Feature/AutobinderCacheTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastiaanluca/laravel-route-model-autobinding/HEAD/tests/Feature/AutobinderCacheTest.php -------------------------------------------------------------------------------- /tests/Feature/AutobinderCaseTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastiaanluca/laravel-route-model-autobinding/HEAD/tests/Feature/AutobinderCaseTest.php -------------------------------------------------------------------------------- /tests/Feature/AutobinderTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastiaanluca/laravel-route-model-autobinding/HEAD/tests/Feature/AutobinderTest.php -------------------------------------------------------------------------------- /tests/Feature/Commands/AutobinderCacheCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastiaanluca/laravel-route-model-autobinding/HEAD/tests/Feature/Commands/AutobinderCacheCommandTest.php -------------------------------------------------------------------------------- /tests/Feature/Commands/AutobinderClearCacheCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastiaanluca/laravel-route-model-autobinding/HEAD/tests/Feature/Commands/AutobinderClearCacheCommandTest.php -------------------------------------------------------------------------------- /tests/MocksInstances.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastiaanluca/laravel-route-model-autobinding/HEAD/tests/MocksInstances.php -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastiaanluca/laravel-route-model-autobinding/HEAD/tests/TestCase.php -------------------------------------------------------------------------------- /tests/resources/MyPackage/src/Models/Sub/Package.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastiaanluca/laravel-route-model-autobinding/HEAD/tests/resources/MyPackage/src/Models/Sub/Package.php -------------------------------------------------------------------------------- /tests/resources/MyPackage/src/Models/Sub/Scope.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastiaanluca/laravel-route-model-autobinding/HEAD/tests/resources/MyPackage/src/Models/Sub/Scope.php -------------------------------------------------------------------------------- /tests/resources/MyPackage/src/Models/Thing.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastiaanluca/laravel-route-model-autobinding/HEAD/tests/resources/MyPackage/src/Models/Thing.php -------------------------------------------------------------------------------- /tests/resources/MyPackage/src/Models/plain.php: -------------------------------------------------------------------------------- 1 |