Download the PHP package campelo/laravel-make-full without Composer

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

Laravel Make Full

Generate complete CRUD structure from a single command: Model, Controller, Service, Repository, Resource, Requests, Policy, Migration, Factory, Seeder.

Features

Installation

Publish config (optional):

Quick Start

Generated Files

File Path Description
Model app/Models/Post.php Eloquent model with fillable, casts, relations
Controller app/Http/Controllers/PostController.php API controller with CRUD methods
Service app/Services/PostService.php Business logic with search/pagination
Repository app/Repositories/PostRepository.php Data access layer
Resource app/Http/Resources/PostResource.php API resource transformer
StoreRequest app/Http/Requests/StorePostRequest.php Validation for create
UpdateRequest app/Http/Requests/UpdatePostRequest.php Validation for update
Policy app/Policies/PostPolicy.php Authorization policy
Migration database/migrations/xxx_create_posts_table.php Database migration
Factory database/factories/PostFactory.php Model factory with faker
Seeder database/seeders/PostSeeder.php Database seeder
Routes routes/api.php API resource routes (appended)

Field Definition Syntax

Supported Types

Type Migration Validation Faker
string string() string\|max:255 word()
text text() string paragraph()
integer integer() integer numberBetween()
boolean boolean() boolean boolean()
date date() date date()
datetime dateTime() date dateTime()
decimal decimal() numeric randomFloat()
json json() array []
foreignId foreignId() integer\|exists:table,id numberBetween()

Modifiers

Modifier Effect
nullable Field is optional
unique Adds unique constraint + validation
index Adds database index
default(value) Sets default value

Smart Field Detection

Field names automatically get appropriate faker methods:

Examples

Blog Post

Product

User Profile

Generated Code Examples

Service with Search

Controller

Update Request with Unique Validation

Command Options

Configuration

Customizing Stubs

Publish stubs to customize generated code:

Stubs will be published to stubs/make-full/.

License

MIT


All versions of laravel-make-full with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^10.0|^11.0|^12.0
illuminate/console Version ^10.0|^11.0|^12.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 campelo/laravel-make-full contains the following files

Loading the files please wait ...