Download the PHP package digitalion/laravel-makes without Composer

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

Laravel Makes Power by

Packagist Packagist Release Packagist Downloads Packagist Stars

Collection of additional class creation commands for Artisan

What It Does

This package expands on the basic artisan commands for creating classes.

Base stub

To customize the generation of Laravel classes, read the Laravel Documentation.

Installation

Require this package with composer. It is recommended to only require the package for development.

Laravel uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.

Usage

Once the package is installed, you'll have additional Artisan commands:

make:class

Create a new generic class in: App\Classes\

make:enum

Create a new enum class in: App\Enums\

Enums implement the trait Digitalion\LaravelMakes\Traits\EnumSerializableTrait that adds useful methods for using enums. View the enum methods

make:helper

Create a new helper class in: App\Helpers\

make:interface

Create a new query scope class in: App\Interfaces\

make:scope

Create a new query scope class in: App\Scopes\

make:service

Create a new query scope class in: App\Services\

make:trait

Create a new trait class in: App\Traits\

Enum methods

Get the array options

Get the array values

Get the array keys

Get the string values

This method returns a string with all the values of the enum, divided by the comma. You may find this useful if you use it in Laravel's validation rules such as in:.

Get the regex values

This method returns a string with regex to validate the Enum values. You may find this useful by using it in routes to accept only its values in parameters (Laravel Docs - Regular Expression Constraints).

Get the translated array

By passing the translation key prefix of the enum values, you will get an array with all the translated keys and values.

File: resources/lang/en/enums.php

Use:

License

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


All versions of laravel-makes with dependencies

PHP Build Version
Package Version
Requires php Version >=7
illuminate/support Version >=5.5
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 digitalion/laravel-makes contains the following files

Loading the files please wait ....