Download the PHP package amamarul/boiler-plate-commands without Composer

On this page you can find all versions of the php package amamarul/boiler-plate-commands. 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 boiler-plate-commands

BoilerPlateCommands

Package to generate automatic cruds for Laravel BoilerPlate Apps [Laravel 5 Boilerplate]

The amamarul:crud make:
1 - Model
2 - Model Trait Attribute
3 - Model Trait Relationship
4 - Model Trait Scope
5 - Form Request
6 - Controller
7 - Datatable as Service for Controller
8 - Routes
9 - Breadcrumbs

Install Boilerplate

Duplicate .env.example and rename to .env

Set Database in .env

Install Package (Laravel)

Via Composer

Require Datatables Package

Service Provider

Configuration and Assets

Add the following to the AppServiceProvider in the register function:

app/Providers/AppServiceProvider.php

The register function should look like this

Publish the views

Usage

You need the tables migrated

create migration

Migrate

Make the Crud

Run the following commands
amamarul:crud {name} {tabla} {seccion} {grupo?}

This is an example for Backend and the group 'Products'. Then you can to add another model/controller in that group

Now you can go to http://localhost:8000/admin/products/product and you will show the datatable.

Go to app/Http/Controllers/Backend/Products/DataTables/ProductDataTable.php and uncomment the fields you want to show in the datatable in the getColumns() function (the last function), by default you will see only 'id', 'created_at' and 'updated_at'.

Contributing

Contributions are welcome and will be fully credited.

I accept contributions via Pull Requests

Credits

License

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


All versions of boiler-plate-commands with dependencies

PHP Build Version
Package Version
No informations.
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 amamarul/boiler-plate-commands contains the following files

Loading the files please wait ....