Support the ongoing development of Laravel.io →

[L5] Allow CRUD only to user that owns resource. Best way?

Hello, I have User model and several other models that belongsTo User. I have a lot of routes for ch...

0 Likes
3 Replies

difference between Facades\Input and Http\Request in laravel 5

Hello what is difference between this method: public function store(Request $request) { $input =...

0 Likes
2 Replies
Solved

hasMany and belongsTo question

I'm able to display all my Hostings, but I would like to also display the name of the company that b...

0 Likes
2 Replies
Solved

Reusing code across similar tables

I am trying to plan out my DB Schema and want to keep it DRY. I plan to have multiple tables for pos...

0 Likes
1 Replies

Best practice for checking record ownership

Let's say I have a user_id or tenant_id associated with every row created. What is the best practice...

0 Likes
2 Replies

Use Ticketing system for Errors

Laravel should use ticket system for error reporting just as web2py is using. In ticketing system wh...

0 Likes
1 Replies

cartalyst sentry and chumper datatables

i'm using chumper datatables to showing data,I want to display data based on the user who is logged...

0 Likes
0 Replies

500 Internal Server error logging

I recently discovered a bug in one of our queries that created a 500 internal server error. My quest...

0 Likes
0 Replies
posted 10 years ago

Best practices question - REST Controllers

In an effort to push our development toward a resource-based design pattern, I'm using RESTful contr...

0 Likes
3 Replies

Laravel 4.2 minor errors and fix

First Error: error: \vendor\symfony\translation\Symfony\Component\Translation\Tests\fixtures\malform...

0 Likes
0 Replies

API with Laravel 4

I created a web application using PHP framework Laravel 4. Now I would like to create an Android app...

0 Likes
1 Replies

Laravel 5 :: Switch Language

So I want to have a button that switches from one language to the other and consequently translates...

0 Likes
4 Replies
posted 10 years ago

Homestead on OS X: Cannot get Homestead box to be used

I've copied and pasted from the documentation, and yet I can't seem to get Homestead to work in the...

0 Likes
2 Replies
posted 10 years ago

Latavel postgresl timestamp update issue

Timestamp fields are not being set automatically for ORM classes. "SQLSTATE[23502]: Not null v...

0 Likes
0 Replies

Dinamic SSH envoy

Hi, I'm new using laravel. I'm finding a way to use ssh dynamically, using ssh-key or another way wi...

0 Likes
1 Replies

Larabook "Method [execute] does not exist."

I'm following the Laracasts's Larabook tutorial. I'm on the Following Users part. I added a follow b...

0 Likes
4 Replies

Eager Problem with Constraint

I am having problem with Laravel Eager loading with constraint. public function showAllOrders(){...

0 Likes
0 Replies

Delete does not cascade

In migrations, I create a pivot table Schema::create('system_user', function(Blueprint $table) {...

0 Likes
1 Replies
Solved
posted 10 years ago

Laravel 5 Localization Problem

I tried to localization my application, but seems like I'm missing something. Here is my routes.php...

0 Likes
2 Replies
Solved

send mail via mandrill problem

configuration of mail.php <?php return array( 'driver' => 'smtp', 'host' => 'smtp.man...

0 Likes
7 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

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.

© 2025 Laravel.io - All rights reserved.