• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

Repository does not exists

General Discussion
2
8
435
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    ajaykumar1984 last edited by 5 Jun 2024, 06:51

    I am creating a custom package for Bagisto. In this process, I have added a constructor function in the controller and called the repository but it is getting below error

    The target class [Webkul\Store\Repository\StoreRepository] does not exist.

    The repository is already there and everything is updated in the composer and providers.

    Kindly guide

    1 Reply Last reply Reply Quote 0
    • Rishabh-Webkul
      Rishabh-Webkul last edited by 5 Jun 2024, 09:27

      Hello @ajaykumar1984

      While creating a new package this target class you are using is an example we have used Store in while creating a custom theme by default there is no such class present by Store

      Kindly go through the documentation for more detail.

      https://devdocs.bagisto.com/

      Thanks & Regards..!!

      A 2 Replies Last reply 5 Jun 2024, 11:54 Reply Quote 0
      • A
        ajaykumar1984 @Rishabh-Webkul last edited by 5 Jun 2024, 10:29

        @Rishabh-Webkul

        Thanks for the revert. I have created a package in the Webkul directory.

        I have followed Bagisto 2 documentation for the package.

        1 Reply Last reply Reply Quote 0
        • A
          ajaykumar1984 @Rishabh-Webkul last edited by 5 Jun 2024, 11:54

          @Rishabh-Webkul , I have used the bagisto package for installation. I am re-testing the same. As per instruction, when I use below command

          php artisan vendor:publish --force

          It should list new package provider but it is not getting displayed

          php artisan package:make Webkul/Blog

          It is the command for package generation

          1 Reply Last reply Reply Quote 0
          • Rishabh-Webkul
            Rishabh-Webkul last edited by 5 Jun 2024, 12:06

            Hello @ajaykumar1984

            Might be there should be some issue with your service provider.

            Kindly go through this blog for more detail

            https://devdocs.bagisto.com/2.x/packages/create-package.html#using-bagisto-package-generator

            Or you can check out the video of how to create a module from here.

            https://youtu.be/PIjIxtgzOJk?si=dyOzm2-pV5TaTIXi

            Thanks & Regards..!!

            A 1 Reply Last reply 6 Jun 2024, 07:37 Reply Quote 0
            • A
              ajaykumar1984 @Rishabh-Webkul last edited by 6 Jun 2024, 07:37

              @Rishabh-Webkul

              I have checked the video. In the video, they have created a package using the manual process.

              Is there any video where a package is created using Bagisto package generator

              1 Reply Last reply Reply Quote 0
              • Rishabh-Webkul
                Rishabh-Webkul last edited by 10 Jun 2024, 04:11

                Hello @ajaykumar1984

                Greetings of the day..!!

                Check out this video for your query.

                https://youtu.be/1G8JZG9PQEY?si=jDRRPdaKDFYxWn60

                Thanks & Regards..!!

                A 1 Reply Last reply 17 Jun 2024, 09:03 Reply Quote 0
                • 7 days later
                • A
                  ajaykumar1984 @Rishabh-Webkul last edited by 17 Jun 2024, 09:03

                  @Rishabh-Webkul , Thanks for the update

                  1 Reply Last reply Reply Quote 0
                  6 out of 8
                  • First post
                    6/8
                    Last post