I have changed the default website localization in confing/app.php to be (de) 'locale' => 'de', 'fallback_locale' => 'de', But still website is loading
How can I change default log file location <project-name>/storage/logs/laravel.log to something like /var/logs/<project-name>/laravel.log?
I'm looking to refresh and seed a single table in Laravel 5.1. Is this even possible? I have tried the below, but it gives an error (incorrect syntax). php ar
When posting form I am getting this exception Unresolvable dependency resolving [Parameter #0 [ $method ]] in class GuzzleHttp\Psr7\Request Searched and trie
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'name' cannot be null (SQL: insert into products (name, type, img_url, updated_at, created_at) v
I'm trying to call a function inside one of my controller from the action() helper function. I need to pass a paramter to my function. Here is the funciton I'm
I am trying to get a modal to show upon redirect to a page. I am following this response (Laravel how to redirect back to boostrap modal dialog window) My con
The relevant code is shown below: var csrfToken = "{{ csrf_token() }}"; xmlhttp.open("POST", "/internal/v1/create/strategy", true); xmlhttp.setRequestHeader('X
We have build a user auth with laravel UI by having accounts -> users structure. Now we want to have a superuser, that can see all data fro
I'm currently learning laravel and creating my first form. Everything is awesome until I want to use {{ old('') }} helper in my blade file for radio buttons. I'
I want to know if I have to use a string or an integer for a phone number? I have tried an integer but I have a problem in my validation. ... table->integ
I am working on api, where I have the following models. Merchant -> hasMany -> Shops Shop -> hasMany -> Customers Each merchant will have api tok
<x-dropdown class="form-control" id="exampleFormControlSelect1"> <xd-item>1</xd-item> <xd-item>2</xd-item>
I'm trying to strip console log and console debugs from the production build of my laravel + react app. I found many different solutions but none seemed suitabl
I try again and again to test sending an email from localhost but I still cannot. I don't know anymore how to do it. I try search to find solution but I cannot
I have user and profile models with followers/following. What I want is to get the User data with the Profile data merged when calling Profile::followers. Now I
I made import data using Excel on Laravel Maatwebsite Excel 3.1. but when in the database there is the same data (Primary Key) then there is an error message
I just installed a clean Laravel project with the Jetstream starter kit, so it also installed Tailwind CSS. I then tried to use the sample code from Tailwind bu
I often find it very useful to index my results by the primary key id. Example: $out = []; $users = User::where('created_at', '>=', '2015-01-01')->get(
What is the best way to handle expired tokens in laravel 5. I mean I have a page and it has some links which perform ajax requests. They work fine when the pa