Laravel is an free, open-source web MVC framework for PHP.
-1
votes
0answers
20 views
How to access the nth object in a Laravel collection object? [migrated]
I have a laravel collection object.
I want to use the nth model within it.
How do I access it?
Edit:
I cannot find a suitable method in the laravel documentation. I could iterate the collection in ...
0
votes
0answers
24 views
Laravel 4: Binding/linking two users together
I'm building a unittest system. At some point I want to bind two users together in order to make an assignment for those two.
So when the admin chooses to link two students together the system should ...
-1
votes
5answers
422 views
Combining two MVC frameworks in a project
Is it any good to combine two MVC frameworks together in a project? Is it a fairly common approach? I am thinking about using a serverside framework like CodeIgniter/Laravel and client side framework ...
0
votes
1answer
179 views
I'm thinking to CSRF protect all public AJAX requests that return JSON, but I have some concerns
I'm thinking to CSRF protect all public AJAX requests that return JSON, because what's to prevent another site from spoofing the AJAX header and using the JSON as if it were a public API? I think CSRF ...
0
votes
0answers
74 views
Customizing configuration for PHP will Laravel 4 IoC be useful?
This topic has been discussed in this post: Customizing configuration with Dependency Injection
However - I couldn't find one for PHP syntax and since one of the answers was to use a specific ASP.net ...
1
vote
1answer
100 views
Need help modelling a User/Project/Task relationship
So I'm creating a very simple project/task management application in Laravel 4 and I'm not sure how these relationships would work. I have a Project, Task and User model. A User can own a Project or ...
0
votes
0answers
152 views
Rest Api Client response handler
I have two instances of Laravel: Rest Server API and Rest Client.
Let's say I want to display list of positions on the front page. I'm making request to my Server API from my client controller:
...
1
vote
6answers
360 views
How do you handle multiple developer configuration in a project?
I've been thinking lately about how I handle config changes between multiple developers on a project.
Specifically here about a Laravel project in PHP, but I guess this applies largely to all ...