Integrated Bagisto in to an existing Laravel project application
-
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? -
-
Officially, its not supported. But there is a dirty sure way of going about it. Here is what I did:
- Installed bagisto as recommended
- move the vendor/bagisto/bagisto folder to packages.
- Edit the main composer.json file changing
"bagisto/bagisto": "2.*"
to
"bagisto/bagisto": "@dev"
- Edit the main composer.json file adding repository array like:
"repositories": [ { "type": "path", "url": "packages/bagisto", "options": { "symlink": true } } ]
- Then run composer update