Skip to content

wzulfikar/laravel-bootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);

});

About

Bootstrap template for laravel with boilerplate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published