Download the PHP package alextigaer/rep-o-matic without Composer

On this page you can find all versions of the php package alextigaer/rep-o-matic. 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 rep-o-matic

Rep-O-Matic


Create Laravel repositories easily!

Table of Contents

Installation

Basic usage

To create a new repository, just run the command:

This will create:

Options

If you want, you can use these options to customize the creation:

--e (default=y)

This option allows to choose if the exceptions should be created. The default value is set to 'y'. Other values are not considered

Description:

Usage:

--m (default=y)

This option allows to choose if the model should be created. The default value is set to 'y'. Other values are not considered

Description:

Usage:

--m-fillable

The option '--m-fillable' allows to add mass-assignable attributes to the model (and to the migration and the seeder too)

Description:

Usage:

--m-hidden

The option '--m-hidden' allows to add hidden attributes to the model (and to the migration and the seeder too)

Description:

Usage:

--r (default=y)

This option allows to choose if the repository should be created. The default value is set to 'y'. Other values are not considered

Description:

Usage:

--n (default=y)

This option allows to choose if the migration should be created. The default value is set to 'y'. Other values are not considered

Description:

Usage:

--n-types

The option '--n-types' allows to add the types to the migration columns. If not specified, the command will assign the type 'string' to all of the columns (if --m-fillable and/or --m-hidden are used)

Description:

Usage:

--migrate (default=n)

This option allows to choose if the migrate command should be run. The default value is set to 'n'. Other values are not considered

Description:

Usage:

--s (default=y)

This option allows to choose if the seeder should be created. The default value is set to 'y'. Other values are not considered

Description:

Usage:

--s-instances

The option '--s-instances' allows to add some instances to the seeder. If not specified, the command will assign the value 'VALUE' to all of the columns (if --m-fillable and/or --m-hidden are used). A default separator for the values, the character ',', is set. The syntax to add an instance is: '--s-instances="value_1,value2,...,value_n""'

Description:

Usage:

--seed (default=n)

This option allows to choose if the seed command should be run. The default value is set to 'n'. Other values are not considered

Description:

Usage:

Usage examples

1) Create a repo called 'ExampleOne' with 3 mass-assignable attributes, 1 hidden attribute, column types set and without creating the seeder:

2) Create a repo called 'ExampleTwo' without mass-assignable attributes, 1 hidden attribute, 2 instances and run the seeding:

Contributing

Feel free to suggest anything! Use pulls or contact me :)

License

Rep-O-Matic is licensed under the MIT license. Made with love, let's share it! :)


All versions of rep-o-matic with dependencies

PHP Build Version
Package Version
Requires laravel/framework Version 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 alextigaer/rep-o-matic contains the following files

Loading the files please wait ....