Laravel 4 Unique Validation Rules Not Working

need help updating a unique rule in my validation rules. I have a abstract validator that will validate a rules before storing into my database and...
09

Limit after an order by

Hi, how can I take the first 3 after an order by ?...
04

what is a Trait?

Can anyone provide a good tutorial about Traits ? it really confuses me when i see it in a model class or a controller. is it just a php pattern ?...
14

Unable to update particular column of mysql database

iam not able to update particular column of my database. In my database there is "conditions" Column which has default value"pending...
10

how find ssh key

how find and copy ssh key of my laravel project? Tell the command from composer terminal...
15

"Creating default object from empty value" error. Image upload

When I try to edit an image in the database by uploading a new image, I get the following error message: "Creating default object from empty v...
05

Handling relationship with Repositories pattern

Hu guys, i would to ask if there are some best pratics to handling the Model relationship with Repositories pattern. I read several solutions, solu...
02

Difficulties in creating a relationship structure (polymorphism/inheritance needed?)

Hey guys, im currently playing a bit with laravel 5 and the possibilities of eloquent and am failing like a boss :D. The achievable s...
04

Default value for textfiled

I need to set the default value in a form field. Tried this but no luck {{ Form::text('code', Input::old('code'), array('placeholde...
01

L5 Multiple Databases based on subdomein

Hello, I have the following: http://user1.mydomain.com...
09

Why Query Builder returns array instead Collection?

I have method in my Model public function scopePayoutOverview() { return DB::table('divi') ->select(DB::r...
06

How long does user stay logged in without "remember me"?

I though that if you log user in without "remember me" via AuthController, he stays logged in only for the browser session, however when...
01

composer package error

In Composer.json: "require": { "laravel/framework": "4.2.*" }, "require-dev"...
06

proper way to run additional queries on save

I have category tree table categories: id, name, parent_id, position There is unique index on (parent_id,position). On save I need to check...
02

How to print individual data coming from db

Hi I have a static page and I want to make it dynamic by fetching data from database. Static Page :...
03

[L5.1] Getting application namespace

I have been making my own generators as a package, And was stuck on how get the current project namespace. __NAMESPACE__ will not...
03

Committing many updates in one query?

I'm making a configuration panel and I'm not sure how to save my changes in one query, instead of many individual queries. For instance:...
05

MySQL vs PostgreSQL

Which do you use and what are the reasons for that choice?...
10

Handle incoming mail to specific address using Mandrill

I would like a lesson on handling incoming emails using Mandrill. For example, if a customer contacts us through our web form, they get an e...
03

checkout from repo then deploy to local and vice versa

Hi All, Im having problem on deploying local copy from checkout copy. I want to have a working copy on my local based from the checko...
00