Support the ongoing development of Laravel.io →
posted 10 years ago

Continue DB call

Say I have a custom class, where I want to create the connection and specify the table once my class...

0 Likes
1 Replies

Checkboxes, checked and unchecked

Hi I've got 2 tables. THe first one is the full listed option with (id, name). The second one is the...

0 Likes
0 Replies

has() on a hasOne()-relationship to the same table

Consider the following setup (and let's not discuss wether it makes sense as it's only an example)....

0 Likes
5 Replies
Solved
posted 10 years ago

Search post by many tags

I have Posts, that are linked to many Tags in a many-to-many relationship. I also have an array of T...

0 Likes
11 Replies
Solved
posted 10 years ago

public_path() vs url()

Hey, take a look at the examples: echo public_path(); // C:\Users\JohnDoe\laravel\public vs echo ur...

0 Likes
3 Replies
Solved
posted 10 years ago

How can I find the test cases of Laravel itself

Hi, I am sure that Laravel framework is well tested, but how can I find the test cases of Laravel it...

0 Likes
3 Replies
Solved

Saving/updating object + relations from json PUT/POST body

Hi, maybe i'm missing something, but i'm having a hard time figuring out how to save/update models w...

0 Likes
1 Replies

Validating "bad words"

Did anyone manage to get it working ? to use laravels Validation to check i "username" con...

0 Likes
1 Replies
posted 10 years ago

Eloquent one-to-many multiple insert

Hi All, I can figure out how to save multiple items with one-to-many :( $order = new Order; $order-...

0 Likes
4 Replies

Auto-loading issue

I have an issue with autoloading appearing to work fine on my local machine but not on our server. I...

0 Likes
1 Replies
Solved

Set the Base URL for use with asset helper functions

Is there a way to set the baseUrl for the system. I know we can set the url in the app config file b...

0 Likes
1 Replies

how do i get the insertID of the inserted product ?

if i do $browsenode->products()->save($product); thanks in advance dudi

0 Likes
1 Replies
Solved

Query Builder Problem (Order by a related Table)

Hi Guys, i have a problem with my table structure and the query builder, as i am not able to build t...

0 Likes
1 Replies
Solved

Artisan Commands -- Eloquent ORM Save Error

Hello, Here is my NewSite.php command file: <?php use Illuminate\Console\Command; use Symfony\Co...

0 Likes
0 Replies
posted 10 years ago

OK to set attributes to collection?

I've been setting custom attributes to collection objects. For example; Looping through $items check...

0 Likes
5 Replies
posted 10 years ago

installation?

I watched the laracast on how to install and was totally lost. I don't even know what program he was...

0 Likes
3 Replies

Blade highlighting in PhpStorm

Trying to use the textmate bundles, PhpStorm says "Some extension declared already in use by na...

0 Likes
1 Replies
posted 10 years ago

Newbie Routing Question

Hi all, I am a newbie to laravel. Have been using PHP for quite a few years as a hobby. I have one...

0 Likes
4 Replies
Solved
posted 10 years ago

Sofia, Bulgaria

Бира!

0 Likes
0 Replies
posted 10 years ago

How to create a link to a site, which use a method with arguments ?

That's my route: Route::get('/admin/dashboard/{username}', array( 'as' => 'get-admin-dashboar...

0 Likes
3 Replies
Solved

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.