Download the PHP package toanld/laravel-package-maker without Composer

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

laravel-package-maker

Total Downloads

All the make commands you use in your daily Laravel app development workflow but for packages! This package was created solely for the purpose to make package development as fast and easy as possible. Creating a new package only takes one command (make:package) and you will end up with the following file structure:

Install

composer require toanld/laravel-package-maker --dev

Usage

Create a package

make:package

Create a nova tool

Inspired by Spatie's nova-skeleton-tool this command clones the repository, replaces all strings with your own and adds it to your own project.

make:nova

Add a package

If you have already created a package or you want to add a modified version of a package which is currently only available locally, you can use the following command to add you package to your project. It does simply add your package to your project`s composer repositories and requires a local version of it.

This command is run by make:package automatically, so you have no need to execute it after creating a package!

Save package credentials

Every package:* command needs to know the package's namespace and the relative path to the location your package is stored. Because of that every package:* command comes with those two options by default. To avoid entering those two options every time a package:* command executed this command saves the credentials of your package in the cache.

Delete package credentials

This one wipes all stored credentials from your cache.

Clone a package

The clone command clones a given repository or directory into the given target.

Replace Content

The replace command takes a path of a file or a directory and an indefinite number of 'old' options which will be replaced by the 'new' options.

Make Commands

All of these commands do have all arguments & options to which you are used to in a normal laravel app! To execute any of these commands simply add the prefix package:.

Foundation

  • channel
  • console
  • event
  • exception
  • job
  • listener
  • mail
  • model
  • notification
  • observer
  • policy
  • provider
  • request
  • resource
  • rule
  • test

Database

  • factory
  • migration
  • seeder

Routing

  • controller
  • middleware

Standard Php

All of the following routes only accept a name argument.

  • contract
  • interface (same as contract)
  • trait

Commands used for creating initial package stubs

  • package:basetest {provider : The package's provider name} - creates TestCase in tests folder
  • package:codecov - creates a .codecov.yml file
  • package:composer {--author : The author of the package.} {--email : The author's email.} - creates composer.json
  • package:contribution - creates CONTRIBUTING.md
  • package:gitignore - creates .gitignore file
  • package:license {--copyright : The company or vendor name to place it int the license file} - creates LICENSE.md file
  • package:phpunit - creates phpunit.xml
  • package:readme {--author : The author of the package.} {--email : The author's email.} - creates readme.md
  • package:styleci - creates .styleci.yml
  • package:travis - creates .travis.yml

Example Usage

Use a few make commands package:*

All arguments & options you know from the standard make commands are available. Create a model with all option. package:model --all

Testing

Run the tests with:

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits

Security

If you discover any security-related issues, please email [email protected] instead of using the issue tracker.

License

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


All versions of laravel-package-maker with dependencies

PHP Build Version
Package Version
Requires illuminate/support Version *
illuminate/console Version *
illuminate/filesystem Version *
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 toanld/laravel-package-maker contains the following files

Loading the files please wait ....