Category "laravel"

When I use ngrok to load my Laravel app , it only displays basic html and no css

The website my groupmates and I are working on is only locally available on my laptop. I want them to be able to open the website from their own homes, so that

Laravel 9: Custom login

I am trying to change the default table that laravel 9 uses to authenticate the users. But while I can see that user is authenticanted in the login function of

Axios getting blocked by laravel 7 cors. No "access-control-allow-origin-header"

I've a backend app working with Laravel 7 and a frontend which works with VueJs. My Laravel app is running on laradock (nginx, postgres etc...) Using Postman th

How to inject custom js to shopify via app

Hello I'm pretty new to shopify app development. I created the shopify app with laravel and now I generated a js file with content. What I want is to inject thi

Laravel 8 Multiple Relationships for Factory

In Laravel 8 it is possible to quickly fill relationships with factories. However, I cannot figure out how to generate more than one relationship. How can I cre

Getting Stripe Upcoming Invoice Line Items with Laravel Cashier

I'm attempting to use Laravel Cashier to retrieve line items of the client's upcoming invoice. I'm having difficulty obtaining the invoice in the first place.

Attempt to read property "degree" on null

i have created a profile where users can add their education fields. when there is no value in the database it throws an error. how can i get rid of this ? Atte

Laravel: Contract file is not instantiable while building Controller

I am trying to add a shopping cart function to my Laravel application. I installed darryldecode/laravelshoppingcart package from GitHub and have been following

Attempt to read property \"view\" on null when sending password reset email

I am trying to build password reset functionality but with a custom email template. So instead of returning the MailMessage from the notification I can sending

Call authenticate manually in router middleware

I created a CustomAuth middleware to use in routes to authenticate by "user_id" in request body or "Authentication" in request header. I need call Authenticate

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'posts.post' doesn't exist

I'm very confused, i try to find what's wrong but i don't find it.. In my SQL Database i've 'posts' table created all my code are related with 'posts' table and

Hourly cron Job Excuting 60 times

I am trying to send an email hourly using the Task scheduler in (laravel) framwork, the command I am typing in the kernal.php: $schedule->command('cron:activ

SQLSTATE[HY000]: General error: 1 table posts has no column named *

I'm actually new to Laravel and I'm trying to build a basic social network with this Framework. For this project, I created a page called post which users can a

dockerizing Laravel + vue

Trying to migrate my Laravel and Vue code into docker but I am getting an error building the Image This is my docker file # dockerfile FROM php:8-fpm #

Create Artisan command with option that must specify a value

Laravel's documentation says (emphasis mine): If the user must specify a value for an option, you should suffix the option name with a = sign… But then

Sub-Domain Laravel problem cannot open it in browser

I wanna ask about Laravel. I just learn about subdomains in Laravel. And I opened www.myapi.com in my browser but it showed site not found, can anyone help me

keith-wood Signature not working on production

jQuery UI Signature working on local but not working on live server javascript: var sig = $('#sig').signature({syncField: '#signature64', syncFormat: 'PN

VueJS i18n - How to change the variable prefix in translation files

I'm doing an app using Laravel inertia and Vue, we wanted to add i18n to the app and use the same translation files for both laravel and i18n, the problem is th

Laravel Spark - Defining a free plan

I am using Laravel Spark Next and I am trying to create a free plan. My application is charging users "Per seat" (# of projects) My application, however, will a

Laravel Docker Call to undefined function MyActionFunction

I'm new to docker and laravel. I'm trying to dockerize a laravel application, the source code is not mine. I used Sail for local tests, but now I want to build