Download the PHP package ahertl/laravel-scaffold without Composer

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

Laravel Scaffold

Laravel Scaffold is a powerful artisan command package designed to streamline the process of generating boilerplate code for CRUD operations in your Laravel applications. With the ability to create models, controllers, services, repositories, and import classes, this package enhances your productivity by automating repetitive tasks.

Features

Installation

To get started, simply require the package via Composer:

composer require ahert/laravel-scaffold

Then, publish the stubs for customization:

php artisan vendor:publish --tag=stubs

Usage

run php artisan list to see the list of available commands laravel-scaffold should in the list. If you sight laravel-scaffold in the list of available commands then you are good to go.

As of the initial release laravel-scaffold assumes that you already have the database for your application carefully designed and implemented with all necessary indexes, keys and relationships put in place.

Setup the database parameters within you .env file before proceeding to use laravel-scaffold. With that said and ensure you can then start working on you application.

Then to scaffold Controller, Service, Repository and Model for a particular entity (table) run this command:

php artisan laravel:scaffold User --table=users

the command above assumes there is an existing users which will be looked up and the structure (columns and other properties) of the read to be able to create the various piece of code required to have a functional application. There are other optional flags that can be passed into the command.

--mass_upload: this will scaffold an additional function to handle mass upload of data to the database table from csv, xls, and xlsx files. Tab separated values would be include in future release.

--module: this will modularise your application

php artisan laravel:scaffold User --module=User --table=users --mass_upload

Here is the folder/directory structure for a simple application not made into modules.

The directory structure for a modularized application


All versions of laravel-scaffold with dependencies

PHP Build Version
Package Version
Requires maatwebsite/excel Version ^3.1
php Version ^8.0
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 ahertl/laravel-scaffold contains the following files

Loading the files please wait ....