Support the ongoing development of Laravel.io →
Sharping

Sharping

Joined 28 Jun 2014

Statistics

Threads 24
Replies 36
Solutions 0
Articles 0

Converting a DB-object into an array (for form use)

Hi, i use this $data['cities'] = DB::select("SELECT ..."); return View::make('test',$citie...

0 Likes
4 Replies
posted 11 years ago

View::make('x', $viewData) vs. View::make('x')->with('viewData', $viewData);

Hi, what's the difference between return View::make('x')->with('viewData', $viewData); and retur...

0 Likes
3 Replies

Error: Using $this when not in object context

Hi, i call this somewhere in the CustomerController(): $results = CustomerModel::getCustomers(); Th...

0 Likes
7 Replies
posted 11 years ago

Avoid re-submitting form data

Hi, any idea how to clear the input? After passing the validator my script has var_dump(Input::all()...

0 Likes
4 Replies
posted 11 years ago

Select Box Fields with "auto-associative" values (not numbered)

Hi, i'm using this form: {{ Form::select('year', [date("Y"), date("Y")+1, date(&...

0 Likes
1 Replies
replied 11 years ago

SQL Statements to Eloquent

Leave it this way, converting complex queries to Eloquent make no sense.

0 Likes
replied 11 years ago

Minimalistic starting structure and using just parts of Laravel

I would like to use a "stripped-to-the-bone" Laravel4 too! Our latest project has ~6000 (L...

0 Likes
replied 11 years ago

Import .sql-file into database

And is there a way to import .sql-files inside PHP/Laravel?

0 Likes
replied 11 years ago

Query builder -- map to array object

Maybe try this: app -> config.php Change 'fetch' => PDO::FETCH_CLASS, to 'fetch' => PDO::FE...

0 Likes
replied 11 years ago

Hi Laravel Family | Need Simple Laravel CRUD

This is a good tutorial: http://scotch.io/tutorials/simple-laravel-crud-with-resource-controllers

0 Likes

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.

© 2026 Laravel.io - All rights reserved.