Solution :
Step1 : add following to your composer.json file
"barryvdh/laravel-dompdf": "0.6.*",
step2: update your composer using command.
composer [...]
$validator = Validator::make($request->all(), [
'Picture' => 'required|image|mimes:jpeg,bmp,png,gif,PNG,jpg',
// Picture is name of file you set in [...]
Here is example for upload file in larave :
public function user()
{
$user = new User;
$form_input = Input::all();
if (Input::hasFile('Picture')) { [...]
Try increasing the following values in php.ini, for example:
memory_limit = 32M
upload_max_filesize = 24M
post_max_size = 32M
After making these changes, [...]
All Laravel routes are defined in the app/Http/routes.php file, which is automatically loaded by the framework. The most basic Laravel routes simply accept a [...]