inmanturbo/tandem

The skeleton application for the Laravel framework.

Installs: 34

Dependents: 2

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:project

v1.0.12 2024-10-24 17:18 UTC

This package is auto-updated.

Last update: 2024-10-24 17:18:57 UTC


README

Latest Version on Packagist Total Downloads

Tandem

Run Laravel apps in tandem like packages or modules

There are two ways to use tandem. You can use it as a template or a package.

As a package

composer require inmanturbo/tandem

As a template

Clone or fork this repo.

Usage

Tandem is just a minimal laravel app and/or package with an additional artisan command tandem.

php artisan tandem <mod-name> <vendor-namespace> <app-namespace> --init --install

Example:

php artisan tandem teams Inmanturbo Teams --init --install

The above example will create a directory called mod and install a laravel app into a folder called teams inside of it, renaming the App and Database namespaces to Inmanturbo\Teams and Inmanturbo\Teams\Database, respectively.

Also will update composer.json to reflect namespace, and add Inmanturbo\Teams\Providers\AppServiceProvider to the extras.laravel.providers array.

Additionally, any stub files found within base_path('stubs/mod') will be copied into the "package" as well, at the path relative to their path within base_path('stubs/mod').

Lastly, it will add a local repository to your main app's composer.json at the path mod/*, and install the package into your app using a symlink.

You will be able to use your package as a project and/or package, and use artisan commands from within the package during development.