Have you defined $fillable property of your model?
$input = Request::input(); $input['extra_data'] = $external_value; Post::create($input);
Could you also post schemas for detaliicommat and comenzimaterial tables.
There are a few packages for mocking built-in time functions. Maybe try one of them.
Oh, and could you var_dump(Request::query()) and post it here, too.
The Laravel portal for problem solving, knowledge sharing and community building.