├── database
├── migrations
│ ├── .gitkeep
│ ├── 2015_10_15_031752_create_users.php
│ ├── 2016_03_17_143417_create_posts_table.php
│ ├── 2016_03_17_151352_create_comments_table.php
│ └── 2016_10_30_062252_create_jobs_table.php
├── seeds
│ ├── PostsTableSeeder.php
│ ├── CommentsTableSeeder.php
│ ├── UsersTableSeeder.php
│ └── DatabaseSeeder.php
└── factories
│ └── ModelFactory.php
├── resources
├── views
│ ├── .gitkeep
│ └── index.blade.php
└── lang
│ ├── en
│ ├── auth.php
│ └── validation.php
│ └── zh-CN
│ ├── auth.php
│ ├── pagination.php
│ ├── passwords.php
│ └── validation.php
├── app
├── Console
│ ├── Commands
│ │ ├── .gitkeep
│ │ └── CreateUser.php
│ └── Kernel.php
├── Events
│ └── Event.php
├── Http
│ ├── Controllers
│ │ ├── Controller.php
│ │ └── Api
│ │ │ └── V1
│ │ │ ├── BaseController.php
│ │ │ ├── AuthController.php
│ │ │ └── CommentController.php
│ └── Middleware
│ │ ├── ChangeLocale.php
│ │ └── Authenticate.php
├── Models
│ ├── BaseModel.php
│ ├── Data.php
│ ├── Comment.php
│ ├── Post.php
│ ├── User.php
│ └── Authorization.php
├── Transformers
│ ├── DataTransformer.php
│ ├── AuthorizationTransformer.php
│ ├── CommentTransformer.php
│ ├── UserTransformer.php
│ └── PostTransformer.php
├── Providers
│ ├── EventServiceProvider.php
│ ├── AuthServiceProvider.php
│ └── AppServiceProvider.php
├── Listeners
│ └── ExampleListener.php
├── Jobs
│ ├── SendRegisterEmail.php
│ └── Job.php
├── Serializers
│ └── NoDataArraySerializer.php
├── helpers.php
└── Exceptions
│ └── Handler.php
├── storage
├── app
│ └── .gitignore
├── logs
│ └── .gitignore
└── framework
│ ├── cache
│ └── .gitignore
│ ├── views
│ └── .gitignore
│ └── sessions
│ └── .gitignore
├── .gitignore
├── .styleci.yml
├── .phplint.yml
├── public
├── apidoc
│ ├── img
│ │ ├── favicon.ico
│ │ ├── glyphicons-halflings.png
│ │ └── glyphicons-halflings-white.png
│ ├── fonts
│ │ ├── glyphicons-halflings-regular.eot
│ │ ├── glyphicons-halflings-regular.ttf
│ │ ├── glyphicons-halflings-regular.woff
│ │ └── glyphicons-halflings-regular.woff2
│ ├── api_project.json
│ ├── api_project.js
│ ├── vendor
│ │ ├── prettify
│ │ │ ├── prettify.css
│ │ │ ├── lang-rd.js
│ │ │ ├── lang-latex.js
│ │ │ ├── lang-tex.js
│ │ │ ├── lang-go.js
│ │ │ ├── lang-proto.js
│ │ │ ├── lang-ll.js
│ │ │ ├── lang-llvm.js
│ │ │ ├── lang-yaml.js
│ │ │ ├── lang-yml.js
│ │ │ ├── lang-cbm.js
│ │ │ ├── lang-basic.js
│ │ │ ├── lang-wiki.js
│ │ │ ├── lang-lua.js
│ │ │ ├── lang-erl.js
│ │ │ ├── lang-erlang.js
│ │ │ ├── lang-hs.js
│ │ │ ├── lang-tcl.js
│ │ │ ├── lang-pascal.js
│ │ │ ├── lang-r.js
│ │ │ ├── lang-s.js
│ │ │ ├── lang-Splus.js
│ │ │ ├── lang-cl.js
│ │ │ ├── lang-el.js
│ │ │ ├── lang-ss.js
│ │ │ ├── lang-lisp.js
│ │ │ ├── lang-lsp.js
│ │ │ ├── lang-rkt.js
│ │ │ ├── lang-scm.js
│ │ │ ├── lang-lgt.js
│ │ │ ├── lang-logtalk.js
│ │ │ ├── lang-clj.js
│ │ │ ├── lang-mumps.js
│ │ │ ├── lang-css.js
│ │ │ ├── lang-scala.js
│ │ │ ├── lang-aea.js
│ │ │ ├── lang-agc.js
│ │ │ ├── lang-apollo.js
│ │ │ ├── lang-dart.js
│ │ │ ├── lang-fs.js
│ │ │ ├── lang-ml.js
│ │ │ ├── lang-swift.js
│ │ │ ├── lang-vhd.js
│ │ │ ├── lang-vhdl.js
│ │ │ ├── lang-n.js
│ │ │ ├── lang-nemerle.js
│ │ │ ├── lang-rust.js
│ │ │ ├── lang-sql.js
│ │ │ ├── lang-vb.js
│ │ │ ├── lang-vbs.js
│ │ │ ├── lang-lasso.js
│ │ │ ├── lang-ls.js
│ │ │ └── lang-lassoscript.js
│ │ ├── path-to-regexp
│ │ │ ├── LICENSE
│ │ │ └── index.js
│ │ ├── prettify.css
│ │ └── polyfill.js
│ └── locales
│ │ ├── zh.js
│ │ ├── zh_cn.js
│ │ ├── pl.js
│ │ ├── ca.js
│ │ ├── de.js
│ │ ├── ro.js
│ │ ├── ru.js
│ │ ├── pt_br.js
│ │ ├── es.js
│ │ ├── nl.js
│ │ ├── fr.js
│ │ ├── it.js
│ │ └── locale.js
├── .htaccess
└── index.php
├── apidoc.json
├── tests
└── TestCase.php
├── server.php
├── routes
├── web.php
└── api
│ └── v1.php
├── .env.example
├── LICENSE
├── config
├── services.php
├── auth.php
└── mail.php
├── artisan
├── composer.json
├── phpunit.xml
├── .php_cs.dist
├── bootstrap
└── app.php
└── EN_README.md
/database/migrations/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/resources/views/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/Console/Commands/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/storage/app/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/storage/logs/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/storage/framework/cache/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/storage/framework/views/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/storage/framework/sessions/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | /vendor*
2 | .env
3 | .DS_Store
4 | *.swp
5 | .php*
6 | !.php_cs.dist
7 |
--------------------------------------------------------------------------------
/.styleci.yml:
--------------------------------------------------------------------------------
1 | preset: laravel
2 |
3 | linting: true
4 |
5 | disabled:
6 | - unused_use
7 |
--------------------------------------------------------------------------------
/.phplint.yml:
--------------------------------------------------------------------------------
1 | path: ./
2 | jobs: 10
3 | extensions:
4 | - php
5 | exclude:
6 | - vendor
7 |
--------------------------------------------------------------------------------
/public/apidoc/img/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ctfang/lumen-api-demo/master/public/apidoc/img/favicon.ico
--------------------------------------------------------------------------------
/resources/lang/en/auth.php:
--------------------------------------------------------------------------------
1 | 'email or password is incorrect',
5 | ];
6 |
--------------------------------------------------------------------------------
/public/apidoc/img/glyphicons-halflings.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ctfang/lumen-api-demo/master/public/apidoc/img/glyphicons-halflings.png
--------------------------------------------------------------------------------
/public/apidoc/img/glyphicons-halflings-white.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ctfang/lumen-api-demo/master/public/apidoc/img/glyphicons-halflings-white.png
--------------------------------------------------------------------------------
/public/apidoc/fonts/glyphicons-halflings-regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ctfang/lumen-api-demo/master/public/apidoc/fonts/glyphicons-halflings-regular.eot
--------------------------------------------------------------------------------
/public/apidoc/fonts/glyphicons-halflings-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ctfang/lumen-api-demo/master/public/apidoc/fonts/glyphicons-halflings-regular.ttf
--------------------------------------------------------------------------------
/public/apidoc/fonts/glyphicons-halflings-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ctfang/lumen-api-demo/master/public/apidoc/fonts/glyphicons-halflings-regular.woff
--------------------------------------------------------------------------------
/public/apidoc/fonts/glyphicons-halflings-regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ctfang/lumen-api-demo/master/public/apidoc/fonts/glyphicons-halflings-regular.woff2
--------------------------------------------------------------------------------
/app/Events/Event.php:
--------------------------------------------------------------------------------
1 |
2 |