wzulfikar / laravel-bootstrap by wzulfikar

6
2
2
Package Data
Maintainer Username: wzulfikar
Package Create Date: 2015-12-05
Package Last Update: 2015-12-16
Language: CSS
License: Unknown
Last Refreshed: 2024-04-18 15:17:45
Package Statistics
Total Downloads: 6
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 2
Total Watchers: 2
Total Forks: 0
Total Open Issues: 2

laravel-bootstrap

Bootstrap template for laravel with boilerplate

Installation

  • Copy the bootstrap folder to resources/views/layouts. Your resources directory will look like this:

image

  • Copy bootstrap/assets to public/assets
  • Setup route to test
Route::get('bootstrap/{playground?}',function($playground = 'readme'){

$validator = Validator::make(Request::all(), [
  'title' => 'required|unique:posts|max:255',
  'body' => 'required',
]);

// Uncomment below code to display template with no error banner
// return view('layouts.bootstrap.playground.'.$playground);

return view('layouts.bootstrap.playground.'.$playground)->withErrors($validator);

});