Skip to content
Advertisement

Tag: laravel-5

Laravel 5.3 multiple file uploads

How can I upload multiple files in Laravel 5.3. If I try it with 1 image it works but multiple images are not uploaded. This is my code: if($request->hasFile(‘attachment’)) { foreach($request-…

Laravel 5 command – Mandatory options

I am trying to write a laravel command but I can’t have the options to be mandatory. I do understand that the concept of option is being “optional” but I’d like to have a command in which it is clear which input you are inserting and in no particular order. i.e. I would like to achieve this, with par2 and

Laravel 5 dynamically run migrations

so I have created my own blog package in a structure of Packages/Sitemanager/Blog I have a service provider that looks like the following: Now, what i would like to do is run the migrations dynamically if they have never been run before or within an installation process i suppose. I’ve seen in older documentation you could so something like this:

Error starting userland proxy: listen tcp 0.0.0.0:3306: bind: address already in use

I have to make Laravel app and to deliver a Dockerfile, but I’m really stuck with this. Before that I had a nightmare wile installing laravel on my machine. I’m trying to get dockervel image and following the steps here: http://www.spiralout.eu/2015/12/dockervel-laravel-development.html But when I run dartisan make:auth it gives this error below: I have tried to Change the default port

Advertisement