Download the PHP package maztch/laravel-generator without Composer

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

Laravel5 Generator (Laravel5.2)

Other versions:

5.1.* | 1.0

Based on Mitul generator, this is a more simple scaffold and just need to be used in dev.

I did this beacuse i need more simple generator and keep all out the repo dependencies in production.

Diferences with Mitul:

There are no Requests and there are no Library/Repositories Base controller is removed (Maztch/Controller/AppBaseController) Added delete function in controller for DELETE method and keep destroy just as an alias.

Except for this, is exactly the same.

The artisan command can generate the following items:

Documentation is in process...

Documentation

While we write the docs you can take a look to Mitul repo.

Installation

  1. Add this package to your composer.json:

    "repositories": [
        {
            "type": "git",
            "url": "https://github.com/mitulgolakiya/laracast-flash"
        }
    ],
    "require": {
        "laracasts/flash": "dev-master",
        "laravelcollective/html": "5.2.*@dev",
        "bosnadev/repositories": "dev-master",
        "maztch/laravel-generator": "dev-master"
    }
  2. Run composer update

    composer update
  3. Add the ServiceProviders to the providers array in .

As we are using these two packages laravelcollective/html & laracasts/flash as a dependency.

So we need to add those ServiceProviders as well.

    Collective\Html\HtmlServiceProvider::class,
    Laracasts\Flash\FlashServiceProvider::class,
    Maztch\Generator\GeneratorServiceProvider::class,

Also for convenience, add these facades in alias array in .

    'Form'      => Collective\Html\FormFacade::class,
    'Html'      => Collective\Html\HtmlFacade::class,
    'Flash'     => Laracasts\Flash\Flash::class

Configuration

Publish Configuration file .

    php artisan vendor:publish --provider="Maztch\Generator\GeneratorServiceProvider"

Publish & Initialization

Mainly, we need to do three basic things to get started.

  1. Publish some common views like & .
  2. Publish which will contain all our api routes.
  3. Init for api routes. We need to include into main .

    php artisan maztch.generator:publish

All versions of laravel-generator with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.9
illuminate/support Version 5.2.*
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 maztch/laravel-generator contains the following files

Loading the files please wait ....