Support the ongoing development of Laravel.io →

How to use OrderByRaw to get posts from database?

I currently have this code: $sidebar = Post::where('published', '=', '1')->orderByRaw("RAND(...

0 Likes
2 Replies
Solved

multiple command

here is my case i need to send multiple emails i created a command implements ShouldBeQueued to send...

0 Likes
0 Replies

How to add variables to file upload form and fetch it from the route?

How do i add the value of $course->id to this form so the my route::post(/course/{id}.......... w...

0 Likes
0 Replies

laravel discussion

I have to rank each users depends on a count variable. count variable will differ upon changing each...

0 Likes
0 Replies
posted 10 years ago

MySQL Query to laravel - query with two subqueries over 3 tables

Hello everybody What I have So I wrote a SQL Query to select multiple information from three tables...

0 Likes
2 Replies

laravel/homestead

something is still missing 127.0.0.1:8000 shows laravel 5 but none of the sites in homestead.yaml ar...

0 Likes
1 Replies

Order results

I want to order the result of a decreasing form of consultation. I'm trying this: $call = App\Call::...

0 Likes
4 Replies
Solved

What permissions should the storage folder have for production?

People say to set the permissions to 777 or 775 but that doesn't seem very secure for a production e...

0 Likes
0 Replies

Image upload won't work Laravel 5

I cannot get an image to upload from a form using laravel 5. I have set 'files' to true but it still...

0 Likes
6 Replies
Solved

Laravel 5 Builtin login with custom login

Hi I am using the build in login that ships with Laravel 5 for my admin login. I now need to add a l...

0 Likes
3 Replies
Solved
posted 10 years ago

WYSIWYG editor - uploading pictures + mathematic equations

Hello guys, I want to use a wysiwyg editor which supports uploading pictures and inserting mathemati...

0 Likes
0 Replies
posted 10 years ago

Migrations in Production (with existing data)

Hello! I have a short question about migrations in production environments, where I have a lot of da...

0 Likes
1 Replies

URL Rewriting application

Hi I need help in building laravel url rewriting. I have application in laravel and SQL data base. I...

0 Likes
0 Replies

Laravel 5 Parse

Hi there, I have the following problem i'm using laravel 5 and laraparse package.Login with parse wo...

0 Likes
1 Replies

How do I access pivot table columns?

Following the code below and it keeps saying the pivot property is NULL. There must be something wro...

0 Likes
3 Replies

Change SQL query on Auth, Laravel 5.1

When logging in, the query fails, because "email" is not on "usuario", it's in &...

0 Likes
6 Replies
posted 10 years ago

@include 502 bad gateway

I've setup Laravel 5.1 on ubuntu/thrusty 14.04 using vagrant. I'm using nginx with php5-fpm. I start...

0 Likes
1 Replies

JWT auth help

I am using JWT https://github.com/tymondesigns/jwt-auth On login i need to also grab and insert the...

0 Likes
1 Replies

using many models in a view

Hello, I need create a form with three selects. These selects contains different values models. How...

0 Likes
2 Replies
Solved

Manage multiple database in one app

I don't know if this is possibile, but is there a way to manage more than one database if i have one...

0 Likes
1 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.