Questions tagged as 'laravel'

3
answers

Migrate my database from mysql to laravel

I am new with Laravel and I am seeing if there is a way to pass the database that I have in mysql, to laravel to be able to work with them. I've already tried: Modify the .env. Modify config/database.php . But what I find is th...
asked by 18.11.2016 / 16:55
3
answers

Insert CSS elements when sending an email using laravel 5.6

Hello good morning companions, my doubt is that as I can send CSS styles by email, I have my images and CSS styles on a server but at the time of sending them, only the images appear and not the styles, somehow to do this? This is the body of t...
asked by 13.07.2018 / 21:36
3
answers

Update related tables laravel

I have been looking at the documentation for a while and I think it is correct, however it does not work as it should, instead of updating me, it creates a record. The theme is as follows. I have a table with sellers and others with products,...
asked by 10.08.2017 / 19:49
2
answers

Laravel 5 - Redirect to HTTPS

Working on my first Laravel 5 project, I'm not sure where or how to translate the logic to force a redirect to the HTTPS protocol in my application. The key point here is that there are many domains pointing to my application and only two of thr...
asked by 02.12.2015 / 07:39
2
answers

Help with Routes in Laravel 5.6

I've been working on a web application through Laravel in Windows (using Laragon ). I am new to using this framework and I have found an inconvenience: When I use Routes as for example: Route::get('/', 'PagesController@home'); It'...
asked by 23.08.2018 / 12:59
2
answers

Authenticate users

You see, I'm trying to make a user authentication system with Laravel. For this, I'm supposed to write this code in CMD: php artisan make:auth and that will make me see the following: But even though I get a confirmation message (...
asked by 21.01.2018 / 12:24
1
answer

how to access property of an object when its name is a number

this is my object my code is this: <table class="table"> <thead> <tr> <th>id</th>...
asked by 30.12.2018 / 23:43
2
answers

View of Laravel does not update changes

I'm doing a view, copied from another, and when I apply changes it does not change, I've put the new route in routes.php I've cleaned the cache, views, routes and settings, and even and rebooted the apache and nothing at all. What could be due...
asked by 02.08.2016 / 09:07
2
answers

how can I redirect to a route

Good I want that when clicking on a button I redirect to another tab using laravel with the blade technology Route::get('home', function() { return view('onepage.home'); }); is my route.! <ul> <li><a href =" ">h...
asked by 06.09.2018 / 02:37
3
answers

Get full value of a query as a Laravel fix?

Cordial greetings colleagues, it turns out that I'm doing the following query using query builder in laravel: public function getSocial_network_post(Post $post) { $query = DB::table('post_social_networks')->select('social_netwo...
asked by 31.07.2018 / 23:57