Support the ongoing development of Laravel.io →

4,599 Threads

Upload and display mp4 files?

###Best way to upload mp4 file on disk and display them in video tag on the page? ###For example: ##...

0 Likes
0 Replies
posted 8 years ago

Dynamicly update database connection

I am creating an installer for my application where the user can input the database connection setti...

0 Likes
1 Replies
Solved

mcrypt_encrypt(): Key of size 51 not supported by this algorithm. Only keys of sizes 16, 24 or 32 supported

Can somebody help me to solve this problem ! When I try to access data from a web service using curl...

0 Likes
0 Replies

How to make authentication laravel 5.2

Hello everybody, I'm new with laravel and I never used any php framework, so I'm a little lost. Actu...

0 Likes
2 Replies
Solved

Laravel hasOne + group_by, get sum

I'm currently scratching my head with this one. What I have. $entries = Meta::whereIn('settlement_id...

0 Likes
0 Replies

Easy way, package?, for patching migrations?

Hi, Is there an easy way to do updates to existing tables? Something that would be run when a table...

0 Likes
1 Replies

Return no of correct answers

Hi, I'am new to Laravel, I'am trying to develop Multiple Choice Question Application, I need to get...

0 Likes
2 Replies
Solved

[5.2] - Using a custom connection in your models

So I have a command that creates a database connection on the fly like so: protected function creat...

0 Likes
1 Replies

Services and business logic

Hi Unfortunately this is one of those "where do I put that?" type questions and generates...

0 Likes
2 Replies
posted 8 years ago

How to browse an sqlite database?

Im a new developer of just a few weeks. So far so good. but i cant seem to find a way to browse an s...

0 Likes
2 Replies

Laravel recursive tree to flat

I created simple recursive relationship: public function children() { $children = $this->hasMany(...

0 Likes
4 Replies

recursive function many-to-many self referencing model

I have a model called Product that has the following self referencing many-to-many relation: // pare...

0 Likes
0 Replies

Running a basic raw query and keep getting errors

Hi guys, Hope you can help me with this simple query. I have this function. public function CapT...

0 Likes
2 Replies

Linking two tables to a master table of data. Two foreign keys?

I have a real estate site with a master table of listings. Each listing belongs in one subdivision...

0 Likes
1 Replies

Sentinel update not updating all fields?

So i'm trying to update a user in the database, all names are correct however the update is only upd...

0 Likes
1 Replies

order by related table while using with()

Hi, i have the following code for listing, sorting and filtering products. $query = Products::query...

0 Likes
0 Replies

migrate:reset erring when dropping foreign key

I'm having an issue when rolling back a migration that drops foreign keys. I'm creating the foreign...

0 Likes
5 Replies
Solved

Search Query doesn't work properly

Hi, I have create search keyword query for my cart. If I debug query with ->toSql() it display an...

0 Likes
0 Replies

Get belongsToMany relation over another belongsToMany

Hi! I have relationships on my User model using pivot table for usergroups public function groups()...

0 Likes
0 Replies

Passing Multiple Parameters through URL to Controller using Input::get('paramter1').

Hello, This is my route.php Route::get('test/{paramter1}/{paramter2}', 'Somecontroller@somemethod');...

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.

© 2024 Laravel.io - All rights reserved.