Support the ongoing development of Laravel.io →

4,597 Threads

how to use ServiceProvider boot function? Laravel 6.0

I used two classes here they are : Schema::defaultStringLength(150); View::share('channels',Channel:...

0 Likes
4 Replies
Solved

Need help with my controller -> query

Hi! Have this controller code, that wil display data in datatable with 3 buttons. But it Gives me t...

0 Likes
2 Replies
Solved

Integration of SMF script into laravel

Hello, i have one question. How or is possible to store data from SMF SSI (api) into Laravel Auth. I...

0 Likes
0 Replies

Laravel DB Query Help

$users = DB::table('users') ->leftJoin('Loggin','login.member_id','=','users.id') ->where('use...

0 Likes
1 Replies
posted 4 years ago

Migration error on change() - character set

For some reason this migration: Schema::table('map_channel_campaigns', function (Blueprint $table) {...

0 Likes
1 Replies

I am trying to display my table filter result

I am trying to display table result, the data is appearing on the table, but when i filter, i get &q...

0 Likes
0 Replies

Connection refused for mysql in gitlab-ci for Laravel 6

I created tests with relation the database. I setting up the gitlab-ci.yml for Laravel. When the fil...

0 Likes
0 Replies

Display data from one or multiple category on Laravel CMS

I`m trying to display data on a blog page side but instead to fetch all the posts in all categories,...

0 Likes
0 Replies

Database issue

Illuminate\Database\QueryException : SQLSTATE[HY000] [2002] Connection refused (SQL: select * from...

0 Likes
2 Replies

Update is not working

The error I got : error pic: error # What I tried this is my table pic: table my form is like : <...

0 Likes
4 Replies

Fetch & Show certain rows in a table on clicking a button

I'm pretty new when it comes to Laravel & I've been trying to code this mini-account management...

0 Likes
0 Replies

nested eager loading with constraints from the query

I have the following table structure: -projects -id -project_phases -id -project_project_phase...

0 Likes
0 Replies

laravel search

I create a function for search $search = $request->get('search'); $search2 = $reques...

0 Likes
0 Replies

is it possible to define relationships in Eloquent models of

There are two tables which are in different databases. Let's say one of them is Users and another is...

0 Likes
0 Replies

I am trying to eager load parameter in eloquent laravel 5.8

I am trying to eager load data from a many-to-many relationship in eloquent laravel 5.8. The below c...

0 Likes
1 Replies

when i use pagination with alias columns i get an error

Schema::create('costs', function ($table) { $table->increments('id'); $table->unsignedInteger(...

0 Likes
0 Replies

Cannot get the model attibute using eager load in Eloquent

Hi, Please refer below link and help me: https://stackoverflow.com/questions/58338282/cannot-get-the...

0 Likes
0 Replies

[Ask] Laravel[6.2] Query Builder

Dear All, I have query builder : DB::select("select `id`, `user_name`, `user_email`, (select s...

0 Likes
0 Replies

Replacing files in folder & db on update using polymorphic

Hello! I'm in practice mode with Laravel, and I've tried this at least 80 different ways, based on t...

0 Likes
1 Replies

Fake relationships

Hi, Is it possible to create a fake relationship between two models? Let me explain! I have two mode...

0 Likes
2 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.

© 2024 Laravel.io - All rights reserved.