├── .gitattributes ├── .gitignore ├── CONTRIBUTING.md ├── app ├── commands │ └── .gitkeep ├── config │ ├── app.php │ ├── auth.php │ ├── cache.php │ ├── compile.php │ ├── database.php │ ├── local │ │ ├── app.php │ │ └── database.php │ ├── mail.php │ ├── packages │ │ └── .gitkeep │ ├── queue.php │ ├── remote.php │ ├── services.php │ ├── session.php │ ├── testing │ │ ├── cache.php │ │ └── session.php │ ├── view.php │ └── workbench.php ├── controllers │ ├── .gitkeep │ ├── BaseController.php │ ├── HomeController.php │ └── admin │ │ ├── AuthController.php │ │ └── PagesController.php ├── database │ ├── migrations │ │ ├── .gitkeep │ │ ├── 2014_10_01_053820_create_articles_table.php │ │ └── 2014_10_01_053845_create_pages_table.php │ ├── production.sqlite │ └── seeds │ │ ├── .gitkeep │ │ ├── ArticleTableSeeder.php │ │ ├── DatabaseSeeder.php │ │ ├── PageTableSeeder.php │ │ └── SentrySeeder.php ├── filters.php ├── lang │ └── en │ │ ├── pagination.php │ │ ├── reminders.php │ │ └── validation.php ├── models │ ├── Article.php │ ├── Page.php │ └── User.php ├── routes.php ├── services │ └── validators │ │ ├── PageValidator.php │ │ └── Validator.php ├── start │ ├── artisan.php │ ├── global.php │ └── local.php ├── storage │ ├── .gitignore │ ├── cache │ │ └── .gitignore │ ├── logs │ │ └── .gitignore │ ├── meta │ │ └── .gitignore │ ├── sessions │ │ └── .gitignore │ └── views │ │ └── .gitignore ├── tests │ ├── ExampleTest.php │ └── TestCase.php └── views │ ├── admin │ ├── _layouts │ │ └── default.blade.php │ ├── _partials │ │ ├── assets.blade.php │ │ └── navigation.blade.php │ ├── auth │ │ └── login.blade.php │ └── pages │ │ ├── create.blade.php │ │ ├── edit.blade.php │ │ ├── index.blade.php │ │ └── show.blade.php │ ├── emails │ └── auth │ │ └── reminder.blade.php │ └── hello.php ├── artisan ├── bootstrap ├── autoload.php ├── paths.php └── start.php ├── composer.json ├── phpunit.xml ├── public ├── .htaccess ├── css │ ├── bootstrap-responsive.min.css │ ├── bootstrap.min.css │ └── main.css ├── favicon.ico ├── index.php ├── js │ ├── bootstrap.min.js │ ├── jquery-1.9.1.min.js │ └── script.js ├── packages │ └── .gitkeep └── robots.txt ├── readme.md └── server.php /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnlui/Learn-Laravel-4/HEAD/.gitignore -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnlui/Learn-Laravel-4/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /app/commands/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/config/app.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnlui/Learn-Laravel-4/HEAD/app/config/app.php -------------------------------------------------------------------------------- /app/config/auth.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnlui/Learn-Laravel-4/HEAD/app/config/auth.php -------------------------------------------------------------------------------- /app/config/cache.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnlui/Learn-Laravel-4/HEAD/app/config/cache.php -------------------------------------------------------------------------------- /app/config/compile.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnlui/Learn-Laravel-4/HEAD/app/config/compile.php -------------------------------------------------------------------------------- /app/config/database.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnlui/Learn-Laravel-4/HEAD/app/config/database.php -------------------------------------------------------------------------------- /app/config/local/app.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnlui/Learn-Laravel-4/HEAD/app/config/local/app.php -------------------------------------------------------------------------------- /app/config/local/database.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnlui/Learn-Laravel-4/HEAD/app/config/local/database.php -------------------------------------------------------------------------------- /app/config/mail.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnlui/Learn-Laravel-4/HEAD/app/config/mail.php -------------------------------------------------------------------------------- /app/config/packages/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/config/queue.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnlui/Learn-Laravel-4/HEAD/app/config/queue.php -------------------------------------------------------------------------------- /app/config/remote.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnlui/Learn-Laravel-4/HEAD/app/config/remote.php -------------------------------------------------------------------------------- /app/config/services.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnlui/Learn-Laravel-4/HEAD/app/config/services.php -------------------------------------------------------------------------------- /app/config/session.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnlui/Learn-Laravel-4/HEAD/app/config/session.php -------------------------------------------------------------------------------- /app/config/testing/cache.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnlui/Learn-Laravel-4/HEAD/app/config/testing/cache.php -------------------------------------------------------------------------------- /app/config/testing/session.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnlui/Learn-Laravel-4/HEAD/app/config/testing/session.php -------------------------------------------------------------------------------- /app/config/view.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnlui/Learn-Laravel-4/HEAD/app/config/view.php -------------------------------------------------------------------------------- /app/config/workbench.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnlui/Learn-Laravel-4/HEAD/app/config/workbench.php -------------------------------------------------------------------------------- /app/controllers/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/controllers/BaseController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnlui/Learn-Laravel-4/HEAD/app/controllers/BaseController.php -------------------------------------------------------------------------------- /app/controllers/HomeController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnlui/Learn-Laravel-4/HEAD/app/controllers/HomeController.php -------------------------------------------------------------------------------- /app/controllers/admin/AuthController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnlui/Learn-Laravel-4/HEAD/app/controllers/admin/AuthController.php -------------------------------------------------------------------------------- /app/controllers/admin/PagesController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnlui/Learn-Laravel-4/HEAD/app/controllers/admin/PagesController.php -------------------------------------------------------------------------------- /app/database/migrations/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/database/migrations/2014_10_01_053820_create_articles_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnlui/Learn-Laravel-4/HEAD/app/database/migrations/2014_10_01_053820_create_articles_table.php -------------------------------------------------------------------------------- /app/database/migrations/2014_10_01_053845_create_pages_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnlui/Learn-Laravel-4/HEAD/app/database/migrations/2014_10_01_053845_create_pages_table.php -------------------------------------------------------------------------------- /app/database/production.sqlite: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/database/seeds/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/database/seeds/ArticleTableSeeder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnlui/Learn-Laravel-4/HEAD/app/database/seeds/ArticleTableSeeder.php -------------------------------------------------------------------------------- /app/database/seeds/DatabaseSeeder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnlui/Learn-Laravel-4/HEAD/app/database/seeds/DatabaseSeeder.php -------------------------------------------------------------------------------- /app/database/seeds/PageTableSeeder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnlui/Learn-Laravel-4/HEAD/app/database/seeds/PageTableSeeder.php -------------------------------------------------------------------------------- /app/database/seeds/SentrySeeder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnlui/Learn-Laravel-4/HEAD/app/database/seeds/SentrySeeder.php -------------------------------------------------------------------------------- /app/filters.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnlui/Learn-Laravel-4/HEAD/app/filters.php -------------------------------------------------------------------------------- /app/lang/en/pagination.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnlui/Learn-Laravel-4/HEAD/app/lang/en/pagination.php -------------------------------------------------------------------------------- /app/lang/en/reminders.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnlui/Learn-Laravel-4/HEAD/app/lang/en/reminders.php -------------------------------------------------------------------------------- /app/lang/en/validation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnlui/Learn-Laravel-4/HEAD/app/lang/en/validation.php -------------------------------------------------------------------------------- /app/models/Article.php: -------------------------------------------------------------------------------- 1 |