Download the PHP package jeffersongoncalves/laravel-package-cli without Composer

On this page you can find all versions of the php package jeffersongoncalves/laravel-package-cli. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-package-cli

![Laravel Package CLI](art/jeffersongoncalves-laravel-package-cli.png)

Laravel Package CLI

Scaffold new open-source Laravel packages with git already configured, built with Laravel Zero. Fully non-interactive — every input is an argument or a flag, so it's meant to be driven by an AI agent (e.g. Claude Code's laravel-package-creator skill) as much as by a human.

Tests Total Downloads License PHP 8.2+

What it does

laravel-package create vendor/package "Description" generates the mechanical, repeatable part of a new Spatie-style Laravel package:

It deliberately does not write the package's actual logic (Service Provider bindings, config values, README body, tests, banner) — that's judgment work left to whoever (human or agent) is building the package on top of this scaffold.

Requirements

Installation

Or clone and build locally:

Usage

Arguments

Argument Required Description
vendor-package yes vendor/package slug, e.g. jeffersongoncalves/laravel-cep. Split on / to derive vendor, package, namespace (Vendor\Package), Service Provider name, Facade name, and config/<package>.php filename.
description no Short one-line package description. Used in composer.json and the generated README.md. Defaults to empty string when omitted.

Options

Option Description
--path=DIR Target directory to scaffold into. Default: ./<package> under the current working directory.
--namespace=NS PSR-4 root namespace override, e.g. "JeffersonGoncalves\PostHog". Its last segment also drives the Service Provider, Facade and README title. Defaults to <VendorRoot>\<StudlyName> (see below) — pass it whenever the name's casing isn't a plain studly of the slug (posthogPosthog, never PostHog).
--keywords=LIST Comma-separated composer.json keywords. Default: laravel,<package>.
--require=LIST Extra runtime dependencies, comma-separated name:constraint. When any illuminate/* entry is given, the default illuminate/contracts is dropped so it isn't dragged in alongside.
--author="Name" Author name for composer.json and LICENSE.md. Default: git config user.name, falling back to Jefferson Gonçalves if unset.
--email=EMAIL Author email for composer.json. Default: git config user.email.
--no-git Skip git init and the first commit — scaffold files only.
--dry-run Print the planned file list (write vs. skip-if-exists) without writing anything or touching git.

Every argument/option is designed for scripted, non-interactive invocation — no prompts are ever shown.

Examples

Basic package, everything defaulted (author/email from git config, written to ./laravel-cep):

No description (left blank in composer.json/README):

Custom target directory:

Explicit author/email (overrides git config, e.g. CI or a different identity):

Namespace

The laravel- prefix is dropped, mirroring spatie/laravel-package-tools' shortName() — which is also what names the published config file.

Package Namespace Classes Config
jeffersongoncalves/laravel-cep JeffersonGoncalves\Cep CepServiceProvider, Facades\Cep config/cep.php
acme/laravel-widget Acme\Widget WidgetServiceProvider, Facades\Widget config/widget.php

Both halves are studly-cased, which cannot see camel-case boundaries inside a single lowercase word (jeffersongoncalvesJeffersongoncalves, posthogPosthog). Teach it once in ~/.package/vendornamespace.json, shared with filament-plugin-cli:

With those two entries, jeffersongoncalves/laravel-posthog derives JeffersonGoncalves\PostHog (and PostHogServiceProvider, Facades\PostHog, config/posthog.php) with no flags at all. Lookups are per whole slug and case-insensitive; unlisted slugs fall back to studly. See laravel-zero-package-scaffold for the file's full contract.

--namespace remains for one-offs you don't want in the shared file.

Explicit namespace casing, keywords and dependencies (nothing the slug can reveal):

Scaffold files only, no git repo (e.g. dropping into an already-initialized repo):

Preview what would be created without writing anything:

Full invocation, all options combined:

Testing

Changelog

Please see CHANGELOG for more information on what has changed recently.

Security

If you discover any security related issues, please see SECURITY.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of laravel-package-cli with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jeffersongoncalves/laravel-package-cli contains the following files

Loading the files please wait ...