Questions tagged as 'laravel'

1
answer

Problem in recovering data in a large application

My table is constituted as follows: ╔════════════════════════╗ ║ USER ║ ╠═══════════╦════════════╣ ║ Id ║ Integer ║ ║ Name ║ String ║ ║ Address ║ String ║ ╚═══════════╩════════════╝ I have some dat...
asked by 12.11.2017 / 22:59
1
answer

RelationsShips Larval 5.4 Accessing search data with with?

I have a relationship of One To Many , I wanted to know how do I access data from the two tables. See: Album::with('imagemAlbums')->where('departamento_id', $id)->get(); Return from dd()    Now in my View...
asked by 24.08.2017 / 02:07
1
answer

send login information to the bank for comparison

I'm developing a system with login and password, using laravel. The registration part was even easy: public function salvar(){ $usu_email = Request()->input('usu_email'); $usu_senha = Request()->input('usu_senha'); $usu_tipo...
asked by 12.04.2018 / 21:49
1
answer

Advanced search in Laravel 5

I'm starting at Laravel 5 and as learning I'm creating a simple employee's register. What I need is to retrieve from the bank an employee relationship with surveys based on search conditions. In the example below, I used When to...
asked by 24.06.2017 / 13:47
1
answer

SQL query problem in laravel

I'm not really understanding these queries in laravel php. I did a search of cities states where when searching the state lists the corresponding city, but it does not find the id of the table if the relationships were done correctly. Municip...
asked by 04.10.2017 / 18:49
1
answer

Why does not the web server find my route?

I uploaded a system in Laravel called android_api to the hostgator server, and I configured it in the public file. To the main page it works, where it appears Laravel 5, but when I put the route that I created, it shows page not found. I...
asked by 17.10.2017 / 23:36
1
answer

Auth laravel error with another model?

Personally I changed the default model name of Laravel User.php to Colaboradores.php (of course, I set the $table and $primaryKey in the model), I also changed the config/auth.php to model . but login is...
asked by 21.05.2017 / 00:12
1
answer

Use Laravel's Crypt without using the framework?

I need to use the laravel component "Crypt" but separate without using the framework, I installed it via composer. link include 'vendor/autoload.php'; use Illuminate\Encryption; use Illuminate\Support\Facades\Crypt; use Illuminate\Contrac...
asked by 12.01.2018 / 15:42
2
answers

Blaze Laravel (Error when displaying text)

Hello, I'm using the blade to show data, the problem when I use the ucwords and strtolower functions is not displayed. (without the functions of certain, however the text is ugly, or all uppercase, or, small because the clients do not regist...
asked by 08.02.2017 / 15:25
2
answers

When using the Laravel helper view what kind of data is being returned?

I'm hesitant to comment on the method below: public function index() { $posts = Post::orderBy('created_at', 'desc')->paginate(10); return view('painel.post.listar', compact('posts')); } It would be correct to comment this way:...
asked by 10.11.2016 / 02:40