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

On this page you can find all versions of the php package aheenam/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

This project delivers a simple set of Console Commands to generate a directory structure for laravel package development.

For example simply create the complete directory structure for a new package by calling laravel-package generate vendor/package-name

Installation

Install this command as a global composer package

Usage

You can then create a new repository by calling the following command:

This command will create a directory named package-name and will setup a basic setup for creating a Laravel package.

The directory structure will look like following:

All the files and classes will have set the correct names and namespaces, but remember that the generator is just creating a starting point. You should go through the files and add stuff that is missing.

Pass a custom path

You can also pass an second argument specifying the path where the packages should be generated.

Above example would generate the package at ./packages/aheenam/packages-name. This can be handy if you want to use this generator within an existing Laravel project.

The --force option

By default you will get an error notice if a directory with given package name already exists. You can ignore existing directories by using the --force flag:

Install composer dependecies

Using the --install flag, you can enforce that, after the generation of the package is done, the command changes into the new directory and runs composer install to install the dependecies.

Generate a LICENSE

You can pass an option to not only create an empty LICENSE file, but also populate it with the appropriate LICENSE content.

Currently there are 3 LICENSE types implemented: MIT, Apache 2.0 and GNU GPL v3. Just pass the names and you should get your LICENSE generated.

Changelog

Check CHANGELOG for the changelog

Testing

To run tests use

If you are working on a windows machine use

Contributing

Information will follow soon

Security

If you discover any security related issues, please email [email protected] or use the issue tracker of GitHub.

About

Aheenam is a small company from NRW, Germany creating custom digital solutions. Visit our website to find out more about us.

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 ^7.0
symfony/console Version ^4.0
symfony/var-dumper Version ^4.0
league/flysystem Version ^1.0
nesbot/carbon Version ^1.22
symfony/process Version ^4.1
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 aheenam/laravel-package-cli contains the following files

Loading the files please wait ....