Download the PHP package alpenist/artisan-teleport without Composer

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

Artisan Teleport

Packagist Downloads

Provides Laravel Artisan support for more control on changing the default generated destination folder

Who is it for

The default laravel folder structure works perfectly fine for most cases but if you decided to take a different approach organizing your folder structure especially for larger than usual projects for example (Hexagonal, Domain Driven Architecture, etc....) then this package is useful for you if you still want to use artisan to generate your stubs without the need to manually change the newly created namespaces. It all will work the exact same way like the default make command and has all the options that each command provides.

You can alternate with the default make command and generate stubs easily in scenarios like this

or even hook to the composer in laravel folder from a completely different project outside the main laravel application if you want

Installation

Install the package via composer:

Publish the config file with:

Change the namespace of your package root in the published artisan-teleport.php config file, also change the root path relative to base_path() if you need to:

Usage

Assuming signature_prefix is set to create and the default namespace set to App and the base path is set to project/src/App the following line will create a model with the namespace App\Clients\Models in project/src/App/Clients/Models folder

If you have defined an additional namespace Acme in the config which has base set to project/src/Acme you may provide the namespace as a second argument and it will create a model with the namespace Acme\Employees\Models in project/src/Acme/Employees/Models folder

Changelog

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

Security

If you discover any security related issues, please use the issue tracker.

Credits

License

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


All versions of artisan-teleport with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4
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 alpenist/artisan-teleport contains the following files

Loading the files please wait ....