├── .buildpacks ├── .env.example ├── .gitattributes ├── .gitignore ├── .travis.yml ├── Caddyfile ├── Procfile ├── app ├── Applications │ └── Api │ │ ├── Console │ │ └── Commands │ │ │ └── SwaggerCommand.php │ │ ├── Exceptions │ │ └── Traits │ │ │ └── RestExceptionHandlerTrait.php │ │ ├── Traits │ │ └── Rest │ │ │ ├── ResponseHelpers.php │ │ │ └── RestTrait.php │ │ └── V1 │ │ ├── Http │ │ ├── Controllers │ │ │ └── Auth │ │ │ │ └── AuthController.php │ │ ├── Requests │ │ │ └── Auth │ │ │ │ ├── AuthenticateRequest.php │ │ │ │ ├── RegisterRequest.php │ │ │ │ └── UpdateRequest.php │ │ └── routes.php │ │ └── Providers │ │ └── RouteServiceProvider.php ├── Core │ ├── Console │ │ ├── Commands │ │ │ ├── Docker │ │ │ │ ├── DockerDownCommand.php │ │ │ │ ├── DockerRestartCommand.php │ │ │ │ └── DockerUpCommand.php │ │ │ ├── Inspire.php │ │ │ └── Ssh │ │ │ │ ├── SshPull.php │ │ │ │ └── SshRun.php │ │ └── Kernel.php │ ├── Events │ │ └── Event.php │ ├── Exceptions │ │ ├── CommandExecutionException.php │ │ ├── Handler.php │ │ └── Traits │ │ │ └── RenderExceptionWithWhoops.php │ ├── Foundation │ │ └── Application.php │ ├── Http │ │ ├── Controllers │ │ │ └── Controller.php │ │ ├── Kernel.php │ │ ├── Middleware │ │ │ ├── Authenticate.php │ │ │ ├── CheckTokenExists.php │ │ │ ├── EncryptCookies.php │ │ │ ├── RedirectIfAuthenticated.php │ │ │ └── VerifyCsrfToken.php │ │ ├── Requests │ │ │ └── Request.php │ │ └── routes.php │ ├── Jobs │ │ └── Job.php │ ├── Listeners │ │ └── .gitkeep │ ├── Policies │ │ └── .gitkeep │ ├── Providers │ │ ├── AuthServiceProvider.php │ │ ├── CoreServiceProvider.php │ │ ├── EventServiceProvider.php │ │ └── RouteServiceProvider.php │ └── Support │ │ ├── Traits │ │ └── InteractsWithConsole.php │ │ └── helpers.php └── Domains │ └── Users │ ├── Presenters │ └── UserPresenter.php │ ├── Repositories │ ├── UserRepositoryEloquent.php │ └── UserRepositoryInterface.php │ ├── Transformers │ └── UserTransformer.php │ └── User.php ├── artisan ├── bootstrap ├── app.php ├── autoload.php └── cache │ └── .gitignore ├── composer.json ├── config ├── app.php ├── auth.php ├── broadcasting.php ├── cache.php ├── captcha.php ├── compile.php ├── database.php ├── debugbar.php ├── filesystems.php ├── jwt.php ├── mail.php ├── notification.php ├── queue.php ├── remote.php ├── repository.php ├── services.php ├── session.php └── view.php ├── database ├── .gitignore ├── factories │ └── ModelFactory.php ├── migrations │ ├── .gitkeep │ ├── 2014_10_12_000000_create_users_table.php │ └── 2014_10_12_100000_create_password_resets_table.php └── seeds │ ├── .gitkeep │ ├── DatabaseSeeder.php │ └── UsersTableSeeder.php ├── docker-compose.yml ├── docs └── api │ └── v1 │ └── swagger.yaml ├── nginx-sites └── default ├── phpspec.yml ├── phpunit.xml ├── public ├── .htaccess ├── favicon.ico ├── img │ └── logo.svg ├── index.php └── robots.txt ├── readme.md ├── resources ├── assets │ └── .gitkeep ├── lang │ ├── en │ │ ├── auth.php │ │ ├── pagination.php │ │ ├── passwords.php │ │ └── validation.php │ └── pt-BR │ │ ├── auth.php │ │ ├── pagination.php │ │ ├── passwords.php │ │ └── validation.php └── views │ └── .gitkeep ├── server.php ├── storage ├── app │ └── .gitignore ├── debugbar │ └── .gitignore └── framework │ ├── .gitignore │ ├── cache │ └── .gitignore │ ├── sessions │ └── .gitignore │ └── views │ └── .gitignore └── tests ├── AbstractTestCase.php ├── Applications └── Api │ ├── ApiTestCase.php │ ├── PaginationTest.php │ ├── ResponseHelpersTest.php │ └── V1 │ ├── Auth │ ├── AuthenticateTest.php │ ├── DeleteTest.php │ ├── RegisterTest.php │ └── UpdateProfileTest.php │ └── V1TestCase.php ├── Core └── BindingsTest.php └── Traits ├── AuthenticateUser.php ├── DatabaseSeeds.php ├── InteractsWithApi.php └── InteractsWithUser.php /.buildpacks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/.buildpacks -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/.env.example -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/.travis.yml -------------------------------------------------------------------------------- /Caddyfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/Caddyfile -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- 1 | web: vendor/bin/heroku-php-apache2 public 2 | -------------------------------------------------------------------------------- /app/Applications/Api/Console/Commands/SwaggerCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/app/Applications/Api/Console/Commands/SwaggerCommand.php -------------------------------------------------------------------------------- /app/Applications/Api/Exceptions/Traits/RestExceptionHandlerTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/app/Applications/Api/Exceptions/Traits/RestExceptionHandlerTrait.php -------------------------------------------------------------------------------- /app/Applications/Api/Traits/Rest/ResponseHelpers.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/app/Applications/Api/Traits/Rest/ResponseHelpers.php -------------------------------------------------------------------------------- /app/Applications/Api/Traits/Rest/RestTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/app/Applications/Api/Traits/Rest/RestTrait.php -------------------------------------------------------------------------------- /app/Applications/Api/V1/Http/Controllers/Auth/AuthController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/app/Applications/Api/V1/Http/Controllers/Auth/AuthController.php -------------------------------------------------------------------------------- /app/Applications/Api/V1/Http/Requests/Auth/AuthenticateRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/app/Applications/Api/V1/Http/Requests/Auth/AuthenticateRequest.php -------------------------------------------------------------------------------- /app/Applications/Api/V1/Http/Requests/Auth/RegisterRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/app/Applications/Api/V1/Http/Requests/Auth/RegisterRequest.php -------------------------------------------------------------------------------- /app/Applications/Api/V1/Http/Requests/Auth/UpdateRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/app/Applications/Api/V1/Http/Requests/Auth/UpdateRequest.php -------------------------------------------------------------------------------- /app/Applications/Api/V1/Http/routes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/app/Applications/Api/V1/Http/routes.php -------------------------------------------------------------------------------- /app/Applications/Api/V1/Providers/RouteServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/app/Applications/Api/V1/Providers/RouteServiceProvider.php -------------------------------------------------------------------------------- /app/Core/Console/Commands/Docker/DockerDownCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/app/Core/Console/Commands/Docker/DockerDownCommand.php -------------------------------------------------------------------------------- /app/Core/Console/Commands/Docker/DockerRestartCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/app/Core/Console/Commands/Docker/DockerRestartCommand.php -------------------------------------------------------------------------------- /app/Core/Console/Commands/Docker/DockerUpCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/app/Core/Console/Commands/Docker/DockerUpCommand.php -------------------------------------------------------------------------------- /app/Core/Console/Commands/Inspire.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/app/Core/Console/Commands/Inspire.php -------------------------------------------------------------------------------- /app/Core/Console/Commands/Ssh/SshPull.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/app/Core/Console/Commands/Ssh/SshPull.php -------------------------------------------------------------------------------- /app/Core/Console/Commands/Ssh/SshRun.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/app/Core/Console/Commands/Ssh/SshRun.php -------------------------------------------------------------------------------- /app/Core/Console/Kernel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/app/Core/Console/Kernel.php -------------------------------------------------------------------------------- /app/Core/Events/Event.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/app/Core/Events/Event.php -------------------------------------------------------------------------------- /app/Core/Exceptions/CommandExecutionException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/app/Core/Exceptions/CommandExecutionException.php -------------------------------------------------------------------------------- /app/Core/Exceptions/Handler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/app/Core/Exceptions/Handler.php -------------------------------------------------------------------------------- /app/Core/Exceptions/Traits/RenderExceptionWithWhoops.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/app/Core/Exceptions/Traits/RenderExceptionWithWhoops.php -------------------------------------------------------------------------------- /app/Core/Foundation/Application.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/app/Core/Foundation/Application.php -------------------------------------------------------------------------------- /app/Core/Http/Controllers/Controller.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/app/Core/Http/Controllers/Controller.php -------------------------------------------------------------------------------- /app/Core/Http/Kernel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/app/Core/Http/Kernel.php -------------------------------------------------------------------------------- /app/Core/Http/Middleware/Authenticate.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/app/Core/Http/Middleware/Authenticate.php -------------------------------------------------------------------------------- /app/Core/Http/Middleware/CheckTokenExists.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/app/Core/Http/Middleware/CheckTokenExists.php -------------------------------------------------------------------------------- /app/Core/Http/Middleware/EncryptCookies.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/app/Core/Http/Middleware/EncryptCookies.php -------------------------------------------------------------------------------- /app/Core/Http/Middleware/RedirectIfAuthenticated.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/app/Core/Http/Middleware/RedirectIfAuthenticated.php -------------------------------------------------------------------------------- /app/Core/Http/Middleware/VerifyCsrfToken.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/app/Core/Http/Middleware/VerifyCsrfToken.php -------------------------------------------------------------------------------- /app/Core/Http/Requests/Request.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mauri870/api-skeleton-laravel/HEAD/app/Core/Http/Requests/Request.php -------------------------------------------------------------------------------- /app/Core/Http/routes.php: -------------------------------------------------------------------------------- 1 |