Bagisto Forum

    Bagisto

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

    Integrated Bagisto in to an existing Laravel project application

    Installing Bagisto
    3
    3
    1228
    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.
    • M
      Md last edited by Md

      I need to know if i can integrat Bagisto in to an existing project without changing the codes, i already added prefix into all the tables of my project.
      i want to know, just by changing the routes, can i access to both projects! the only thing that would get share between these 2 projects are the header, and we might include some of the Bagisto blades into the project, is it possible?

      1 Reply Last reply Reply Quote 0
      • R
        rahul last edited by

        Hi @Md

        Currently we do not support this type of architecture.

        Thanks

        1 Reply Last reply Reply Quote 0
        • R
          rndwiga254 last edited by

          Officially, its not supported. But there is a dirty sure way of going about it. Here is what I did:

          1. Installed bagisto as recommended
          2. move the vendor/bagisto/bagisto folder to packages.
          3. Edit the main composer.json file changing
          "bagisto/bagisto": "2.*"
          

          to

          "bagisto/bagisto": "@dev"
          
          1. Edit the main composer.json file adding repository array like:
          "repositories": [
                  {
                      "type": "path",
                      "url": "packages/bagisto",
                      "options": {
                          "symlink": true
                      }
                  }
              ]
          
          1. Then run composer update

          b3011d7e-afe9-4710-9185-f5b533711d7d-image.png

          1 Reply Last reply Reply Quote 0
          • First post
            Last post