@BezhanSalleh thanks for your response, but I was hoping if I can do it using validation rules, I am looking for a unique revision by effective_date greater or equals to posted fields $request->get('effective_date') input.

the problem was I was inconsistent in accessing the config, I was using a mix of config('mypackage.allowed_access') and config('mypackage::allowed_access'), updating everything to use . dot syntax worked

Description:

I have written some test to verify that a file exists on s3 and download when tried to test Storage::disk('s3')->temporaryUrl($url, $urlExpires); It gives 500 error with this msg but the code works when test by the browser.

One more question?
Is there any way to customize the URL generated by temporaryUrl(), problem is downloaded filename is some random string rlbPsVUhqubaXGoEQk96wjPXfQTqurJvNgVjRMZ8.doc which is not very good, I like to customize the name of file to something like project-details.doc etc ?

I want to add some extra fields in Spark model form when we click on edit a member. Out of the box currently, Spark gives only role dropdown, I have added name field in this, box but How can save updated name in DB.

I am facing this issue since last 2 days, tried many things but not able to get it working, I am getting most annoying tokenMismatchExceptionexception.

I tried a fresh installation that works fine, so I copied vendor folder from working on to my actual app, but it didn't work. After more digging, I saw that laravel_session & XSRF-TOKEN cookies are not set in chrome dev tool.

What could be the reason, it's working on localhost but not working on the server.

Main problem what I see it not able to set the cookies

Session storage is working as I can see on server storage/framework/session/ creates new file on refresh. So it's not permission error.

@Frankobingen that will be a way to do it. One script will be the best way to reduce http calls.

I am going to turn complete form, post & post list a component. that way it will be maintainable and all the related functionality will be in one file. But how should I keep all the common services in one place, like in angular you have services is there any way to declare service in Vue.

We have just moved our Laravel API from Apache to Forge (nginx and hhvm) but one thing stopped working, its no longer sending error response with Access-Control-Allow-Origin header. Here is issue I have opened at barryvdh/laravel-cors but he seems busy, please have a look if you guys can help.

yes, inline one. Find the tag in below para, its not that visible as was earlier

The web has changed. No longer are we writing static HTML, throwing it on Geocities, and then calling it a day. No, things have changed just a little. Okay - they've changed dramatically!

With Laracasts, not only will you learn the necessary skills for building modern web applications (using PHP, Laravel, VueJS, and more) but you'll have fun doing it. Ever wished for someone to sit next to you, and explain that complicated concept you're struggling with?

I am building an API which needs below post data with many eager loaded relation. Here is how I have tried, its working but I can't limit the number of replies, adding ->limit(1) is not giving any effect.

How I can optimize query is so slow (taking 5 sec in local machine) since its returning huge data.

Yes I have checked it, use is logged in and i can access auth()->user() in controller but in AppServiceProvider@boot its returning null and Error Logging is also not working, but when I logout, error logging is working and I am getting User as Guest