Support the ongoing development of Laravel.io →
Sharping

Sharping

Joined 28 Jun 2014

Statistics

Threads 24
Replies 36
Solutions 0
Articles 0
posted 11 years ago

Best way to convert if(!isset($_GET['foo']){...} to Laravel

Hi, i'm trying to convert all my $_GETs and $_POSTs to the Laravel style... Is my new version if(!In...

0 Likes
1 Replies

Building dynamic queries with Elo/Query Builder not possible?

Hi, in the past i have build queries like this: if (...) {$q.="AND (city='New York' OR city='De...

0 Likes
1 Replies

Deleting DB-entry: findOrFail or destroy?

Hi, is there a difference between $go = Project::findOrFail($id); $go->delete(); and Project::de...

0 Likes
2 Replies
posted 11 years ago

Architecture: Do i need a Model or not?

Hi, i struggle a litte bit with the use of the "Model"... just look at my code: Route (app...

0 Likes
6 Replies
posted 11 years ago

What does Laravel when the PHP version is lower than 5.4?

Hi, i'm running Laravel on my local machine (Win / PHP 5.5.12 / Apache) and everything works fine. B...

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