Laravel is an open-source PHP web development framework created by Taylor Otwell. Laravel helps you create applications using simple, expressive syntax.

learn more… | top users | synonyms

0
votes
1answer
16 views

laravel4 CSV help in routing

I have a button and when I click that button the data should be opened in csv format public function get_textfile() { $table = Campaign::all(); $file = fopen('file.csv', ...
0
votes
0answers
10 views

Laravel rewriting routes/htaccess url rewrite

I need some help with redirecting url routes. Currently, I have http://website.com/subpage/123 and I want to redirect it to http://website.com/subpage/new+title. I basically want to redirect the page ...
0
votes
1answer
36 views

How to correctly display @yield() content?

I'm working on learning Laravel and while the quickstart taught me a lot I've been having nothing but problems trying to build off of that. Currently, I'm trying to use a file public.blade.php as ...
0
votes
1answer
23 views

Laravel 4 - How to fetch models with skip() / take() but no where clause

I am currently developing an API with Laravel 4 and ran into an issue when trying to filter a list of users returned. What confuses me is, that the L4 docs say Note: All methods available on the ...
0
votes
1answer
37 views

Laravel relationship with multiple foreign keys

What is the standard way to set up your tables and models with table that have multiple foreign keys. Example one foreign key relationships typicall look like database tables: clients id ...
0
votes
1answer
24 views

Problems accessing public folder with laravel

I'm a beginner when it comes to this laravel but having a hard time trying to get going. Basically I've installed laravel but I have a problem when it comes to accessing the public folder. I'm using ...
0
votes
2answers
37 views

Can't install Laravel4

I try to install Laravel4 on windows 8. I download the file, unzip it, and call "composer update" then i have these messages : PHP Warning: ...
0
votes
1answer
18 views

Passing optional parameter value from laravel route to controller

How can I pass optional parameter from laravel route to controller. I am using: Route::get('test/{id?}', function($id = 5){}); but it is not working... Update: Laravel version 4 Update: Code is ...
0
votes
1answer
36 views

Laravel 4 Route::dispatch overhead

I'm working on a web application that need to expose Json API for external apps and I'm planning to do an API centric architecture. So basicly, the app will juste contains view/controllers for the ...
0
votes
1answer
25 views

Laravel Eloquent ORM: trouble with one-to-many using belongs_to()

I'm having trouble accessing a relationship in Laravel. Relevant to this question, I have two tables, messages and users. The messages table looks like: Messages: id, user_from, user_to, read, ...
0
votes
2answers
36 views

Laravel 4 - paginate with the filter Eloquent ORM

I want to filter my ORM request with 2 relations many-to-many : Regions and Jobs. I need paginate, but $final->paginate() is not possible, but i don't know, why. How ameliorated my code for to use ...
2
votes
1answer
20 views

Laravel 3 - Using wpautop as a library

I decided to use the autop function from wordpress core to automatically transform line breaks from textareas into <p>s and <br>s, and use it in my libraries folder (By the way Laravel ...
0
votes
1answer
26 views

Laravel mass assignment won't fill fields

I have a model that doesn't seem to be mass assignable, even though I have filled in the $fillable fields: <?php class LoginAttempt extends Eloquent { protected $table = 'login_history'; ...
0
votes
0answers
39 views

Paginator - Unknown column 'page' in 'field list'

I have big form to populate database row so I use fill(Input::all()) to save my record. Everything is ok on the first page but on the other pages I got error: Column not found: 1054 Unknown column ...
0
votes
2answers
42 views

Modules in Laravel 4

In L3 i managed to make a module system where i was able to install/uninstall modules from an admin area. if(!Bundle::exists($name)) { // Load the bundle // If a routes file ...

1 2 3 4 5 105
15 30 50 per page