fleet
fleet copied to clipboard
Fleet as a standalone app
Okay so it has bothered me a bit, that I need to install Fleet in all the projects that I want to add to Fleet. It's a bit redundant and also cumbersome when Fleet needs to be updated in potentially a lot of places.
So I took the liberty to create Fleet as a stand-alone app using Laravel Zero. Basically it means that it's installed once, using composer require global
, instead of locally in every single project. I've tested it locally and it works like a charm.
I could've made this as a pullrequest, but since it's a pretty big change I took another route. What I did, is that I created a new Laravel Zero app, and then I took all your business logic and copied it over. I only had to change a little bit since the stand-alone app doesn't have access to the project's local packages. For instance, base_path()
would refer to the base path of the global composer package and not the project.
I have published it to my own repo at the moment, but actually I want you to have it. If you want it :) It hasn't been published to Packagist yet, so feel free to clone it into your own account or whatever. But I'd like to keep myself included as an author if that's okay.