Questions tagged as 'laravel'

0
answers

How to delete an image from the Storage laravel 5.2 folder?

I'm using this code to upload image is all working my doubt and in the condition if to delete the old image I have to leave a default.jpg image as default plus my condition if deleting this image. my question and how can I leave this image alway...
asked by 21.09.2017 / 20:01
1
answer

Swift_TransportException error while sending e-amil using SMTP + Laravel 5.4

Speak Person, one more trouble, is as follows: I'm trying to send an email through my application (api), where I develop with Laravel 5.4. The thing seems very easy, just not! My .env file looks like this: MAIL_DRIVER=smtp MAIL_HOST=mail...
asked by 14.09.2017 / 04:54
1
answer

How to recover the image of the Storage folder using INTERVENTION IMAGE Laravel 5.2?

This solution works in the Public Folder more when switching to Storage folder I can not get the image and display in the view Can anyone help me? Controller public function profile(){ return view('profile', array('user' => Auth:...
asked by 13.09.2017 / 16:24
1
answer

How to access a javascript function that is on another php page?

Basically explaining, I have an HTML page that was generated inside a Controller (from Laravel), and in that HTML page has a button that should open a function (to open a SideNav) that is in a view. I can not call this function, what should I do...
asked by 21.11.2017 / 01:57
1
answer

Add to cart with Ajax without updating page - Laravel

Hello, I'm trying to use Ajax in a form to add products to the cart without refreshing the page but I can not if someone can help me. I'm using Laravel 5.3 based on this site : HTML <form id="form_ideal" action="/cart/add" method="po...
asked by 11.09.2017 / 22:42
2
answers

How can I recover an image from the Storage Folder without passing parameter in Route Laravel5.2?

How to recover an image of the Storage Folder without passing parameter in the Laravel Route? My current code is working, but I'm having security problems because when I pass the parameter on the route the logged in user can see the image o...
asked by 12.09.2017 / 07:34
0
answers

Error executing make command with repository plugin

When I run the command php artisan make:entity User it returns the error [ReflectionException] Method Prettus\Repository\Generators\Commands\EntityCommand::handle() does not exist I did the installation as it says in the documentatio...
asked by 03.09.2017 / 03:22
1
answer

Using multiple files js Vue in Laravel

I am using Laravel v5.5 to start a personal project and I will use Vue.js, I did not find a very didactic content on the internet, how do I use other .js files? example: /js/login.js for login /js/dashboard.js for the dashboard Do I need t...
asked by 16.09.2017 / 01:22
0
answers

Manifest file error laravel project

I was transferring the app to the hosting and I came across an error that does not find solutions, locally it works normally, in hosting this error. If someone can help, I would appreciate it !! Localprojectpublicfolderstructure     
asked by 16.09.2017 / 14:51
1
answer

Use the one parameter in other pages with Laravel?

I am making an application in laravel 5.4 that the administrator modifies various information of a particular client. Example: Click on Modules in the client list Theuserisdirectingtoanotherpage,whichisenvironmentthatwilllist,modify,etc.Al...
asked by 06.09.2017 / 16:35