Questions tagged [laravel-package]

44 questions
0
votes
1 answer

I am facing the issue with installation of the package

I have forked a Laravel drag and drop menu builder package from github pacakge name is efectn/laravel-menu-builder and I have changed the name of the package in the composer.json file with my name. Because the package…
0
votes
0 answers

redirected to instagram-auth-failure#_ in dymantic/instagram

im using dymantic/laravel-instagram-feed package , but when i login to instagram after putting the client_id and redirect_uri, it redirects me to localhost/instagram-auth-failure# , thats the code and website i know why its 404, because i dont…
0
votes
0 answers

Use appzcoder/crud-generator package in Modules nwidart

i want to use appzcoder/crud-generator in modules nwidart , but i cant change the path of controllers and views ,.... how can i create code files in modules path ? Thanks I changed the following path in the…
0
votes
1 answer

Artisan:call is not working for package command

I am using Artisan::call to call a command from a package (that I have created) but its not finding that command and showing error "message": "The command \"sync:reloadly\" does not exist.", "exception":…
bcsf12a020
  • 52
  • 3
0
votes
2 answers

Laravel Package Development - How To Public Path Access in URL

In Laravel pacakage development, the asset() function is not working. How can I properly use it? I also need to get the URL path of the public folder.
0
votes
0 answers

Laravel Package development: Install Laravel as a dependency and run my-private-package as a Laravel app

I am familiar with traditional package development in Laravel. I want to develop my-private-package, with Laravel (& other laravel dependencies) in vendor folder. A sample composer.json is of my-private-package is attached here. Basically, i want…
Lalith Kumar
  • 426
  • 1
  • 6
  • 10
0
votes
1 answer

How to set env in controller for dacastro4 laravel-gmail package?

I am trying to implement Gmail API for CRM based on laravel, where users can store multiple Google credentials, and using those credentials users can log in with their Google account. I used dacastro4 laravel-gmail package, but for…
codewiz
  • 493
  • 1
  • 7
  • 20
0
votes
1 answer

Can not use jQuery & SweetAlert in laravel 9 with laraveldaily/larastarters starterkit package

I need help about laraveldaily/larastarters starterkit package from https://github.com/LaravelDaily/Larastarters I can't use jQuery on my project (the $(document).ready function & select2 package). below is my code that is not…
0
votes
0 answers

How to use Breeze in laravel package blade template

I'm playing around with my Laravel 8 install and just added breeze (v1.9.2 per laravel docs so vite doesn't break) I figured out that I can copy the dashboard.php in resources/views/ to make a simple template with a new route. e.g. rename it…
Scott
  • 7,983
  • 2
  • 26
  • 41
0
votes
2 answers

Cannot locate class of installed package

I'm writing a laravel package which contains spatie/laravel-sitemap. I already included several external packages and I didn't encountered any issues, but for some reason I'm not able to integrate this one. What I did is the usual: composer require…
sfarzoso
  • 1,356
  • 2
  • 24
  • 65
0
votes
1 answer

Custom Factory class not found on my Laravel package

I'm creating a package that will serve as a base for projects, and I'm stuck on the creation of factories. For the package, I use the namespace Gad\Base. I created a model MyModel in src/: namespace Gad\Base; use…
mikelplhts
  • 1,181
  • 3
  • 11
  • 32
0
votes
1 answer

How to validate Email for 'valid email' without sending 'email verfication' in laravel 8?

I want to validate email as 'entered mail id valid or not' because user enters junk mail id it doesn't exist' These are validation I have used $request->validate([ 'name' => 'required', 'email' =>…
0
votes
1 answer

Windows 10 Laravel Permission denied in package development

I am trying to develop my first package in laravel everything was fine until I add my custom route and in my provider, I added this line of code loadRoutesFrom public function boot() { $this->loadMigrationsFrom(__DIR__ .…
Milad
  • 719
  • 1
  • 10
  • 28
0
votes
0 answers

laravel back-end scaffolding for rest api

I want to create a new Laravel project with Laravel Passport. I was looking for the controller and the APIs for auth (login/ logout/ register/ forgot password) if I wanted to use normal auth I would go with Laravel Breeeze but I just need apis. does…
Justine2399
  • 81
  • 1
  • 1
  • 6
0
votes
1 answer

PayPal createOrder() How to include multiple items in a purchase_item

This question has been (not fully) addressed in other posts such as PayPal Orders API schema. The API seems to indicate that multiple purchase_items can exist in an order, which act as 'contracts' between payer and sellor. The docs also seem…