Package Structure

Package-Structure

Bootraiser supports the typical laravel package structure in the Packages.

Laravel Structure (relevant aspects)

                                  • Custom Packages Structure

                                    Custom Packages Structure follows the same directory and file structure as in Laravel. This makes it easy to provide custom packages as a Composer Package and make them installable in Laravel.

                                                                  • Bootraiser expects this structure in your custom packages.

                                                                    As I already wrote, it doesn’t matter where your package or packages from other developers are located in the Laravel installation.

                                                                    Each package controls its own boot process and is therefore independent of other packages.

                                                                    All these types of Package Structure will work with bootraiser without extra configuration

                                                                                  • /laravel-installation/packages/your-package/
                                                                                  • /laravel-installation/packages/your-package-two/
                                                                                  • /laravel-installation/app-modules/your-package-two/
                                                                                  • /laravel-installation/vendor/your-company/your-package/

                                                                                  References

                                                                                  https://laravel.com/docs/11.x/structure#the-app-directory

                                                                                  Last updated on