View Code: <script> function getMessage(){ $.ajax({ type:'POST', url:'/getmsg', data:'_token = <?php echo
I have this code: <select required="required" class="form-control" name="title"> <option></option> @foreach ($titles as $key => $v
I'm, trying to format a date into (Dayname Date Month) and I'm using Carbon for this but it return an error Carbon The format separator does not match here is a
I want to get author row instead of author_id. I could this with add collection and change one by one but has Laravel any function for this? Well, I want make t
I have a pivot table that connects users to workspaces. On the pivot table, I also have a column for role, which defines the users role for that workspace. Can
I have a model in which I have the following cast: protected $casts = [ 'formatted_criteria' => 'array' ]; It is stored in the database as a seriali
I developed a project using laravel and the php artisan serve. Everything was working as expected. I have since installed apache and have the apache webserver
i also follow this link but this is not my solution - laravel and wordpress on the same domain(laravel in subfolder) i want to add wordpress in my laravel site.
I want to have some default data accessible in all views in my Laravel 5 application. I have tried to search for it but only find results for Laravel 4. I have
My framework is Laravel 7 and the Cache driver is Memcached. I want to perform atomic cache get/edit/put. For that I use Cache::lock() but it doesn't seem to wo
I've just started with Laravel and I get the following error: Unknown column 'updated_at' insert into gebruikers (naam, wachtwoord, updated_at, created_a
I just started learning Laravel, Installed Laravel 7.6.2, and PHP 7.4.4 Without modifying a single line of code in the entire Laravel project, I try to open the
I have two controller file homecontroller and backendcontroller. What is the best way to create global function and access it from both files? I found here Ar
Every time I create a new category in my application, it displays a message of success. Here is my code: return redirect('dashboard/categorias')->with('mess
To run one laravel project we only need to type "php artisan serve". and it will be available on port 8000. But sometimes we need to run multiple projects at t
I'm using yajra/laravel-oci8 for Oracle connection with laravel. But I couldn't connected to Oracle, from my client PC to Server. showing this error: I'm u
I'm trying to connect to a presence wesocket channel using Laravel Echo. I'm also using Laravel Passport. I followed lots of tutorials, but I'm getting 403 erro
i want to access laravel sanctum auth which is working fine in project routes I'm making a custom package of api's which needs to use same sanctum authenticatio
I can't npm run watch I don't know the problem
Laravel provides a way to authenticate a given user during HTTP testing with $this->actingAs($user); Is there a way to unauthenticate that $user within t