Larawiz is a easy project scaffolder for Laravel

Overview

Artem Maltsev - Unsplash #3n7DdlkMfEg

Latest Version on Packagist License Coverage Status

Larawiz

The Laravel 8 scaffolder you wanted but never got, until now!

Use a single YAML file to create models, migrations, factories, seeders, pivot tables... everything with braindead easy syntax.

Requirements:

  • PHP 7.3, or PHP 8
  • Laravel 8.x

Install:

Install this package using Composer directly inside your development packages.

composer require larawiz/larawiz --dev

Usage

If is your first time using Larawiz, publish the sample YAML files into the larawiz/ directory:

php artisan larawiz:sample

Check it out and play with it. Once you're done, scaffold your project with this artisan command:

php artisan larawiz:scaffold

Larawiz will automatically create the files needed to set up your project like magic.

Safety first

Larawiz will automatically copy your app and some of your database directories as backups every time you scaffold. It only deletes the migrations folder.

You can find it in your application default storage path under the storage/larawiz/backups directory, and copy them over your project directory if you need to "backtrack" on something.

Generating your app

Larawiz uses braindead easy syntax, so you shouldn't need to read the docs:

models:
  Author:
    name: string
    email: string
    password: string
    publications: hasMany

  Publication:
    title: string
    body: longText
    author: belongsTo

...but if want more customization, go ahead to the documentation since it explains everything: table names, fillable properties, pivot models, primary keys, timestamps, soft-deletes, factories, etc.

License

This package is open-sourced software licensed under the MIT license.

Laravel is a Trademark of Taylor Otwell. Copyright © 2011-2021 Laravel LLC.

You might also like...
Quick Start - Project With Laravel 8.x and AdminLTE 3

Quick Start - Project With Laravel 8.x and AdminLTE 3 (feat. Docker) Cursos de Laravel - PT-BR Step by step Clone this Repository git clone https://gi

Dockerized Laravel project with authentication and car brand crud functionalities.

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Project skeleton generator for Laravel & Lumen projects
Project skeleton generator for Laravel & Lumen projects

Skeletor Skeletor is a PHP based CLI tool that has been built to take away the pain of setting up a base project skeleton for Laravel & Lumen projects

The Bureau Onbekende Zaken is a laravel project meant to compete with mainstream CMS applications and finetune to the specific needs of Bureau Onbekende Zaken.

The Bureau Onbekende Zaken is a laravel project meant to compete with mainstream CMS applications and finetune to the specific needs of Bureau Onbekende Zaken.

project with laravel 9 and php 8 and vuejs 3(modular) in both multi page and single page application

About Project Since Laravel 9 was recently released, it supports PHP 8 and above. So I decided to implement a prototype project using Laravel 9 + PHP

Mazer is a Admin Dashboard Template that can help you develop faster. We bring Mazer with Laravel starter project.
Mazer is a Admin Dashboard Template that can help you develop faster. We bring Mazer with Laravel starter project.

Mazer is a Admin Dashboard Template that can help you develop faster. We bring Mazer with Laravel starter project. It's completely free and you can use it in your projects.

This is Laravel-Vue project

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

This is a simple example project demonstrating the Lupus Nuxt.js Drupal Stack.

Lupus Nuxt.js Drupal Stack - Example project This is a simple example project demonstrating the Lupus Nuxt.js Drupal Stack. Introduction Please refer

Simple App Project

SimpleProject(CRUD) by Melvs Clone the repository with git clone Copy .env.example file to .env and edit database credentials there Run composer insta

Releases(v2.3.7)
Base Laravel project with React and Laravel Sanctum authentication

About this project This is a base Laravel project with ReactJS frontend and Laravel Sanctum API authentication. You could read more about here. Instal

David Toth 8 Oct 25, 2022
Start a new Laravel 8 project with the AdminLTE template installed.

AdminLTE template Laravel 8 package Start a new Laravel 8 project with the AdminLTE template installed. Installation Create database. Clone repository

Mairo Rodrigues 12 Dec 21, 2022
Opinionated way to start a new Laravel project.

Laravel Boilerplate The way I start new Laravel projects. Why? I just got tired of repeating the same things over and over. I made this repository pub

Benjamin Crozat 0 Mar 18, 2022
Modular Laravel - Boilerplate project starter

MODULAR About Modular Laravel This project is a personal blueprint starter with customized modular / SOA architecture. Kostadin Keljtanoski Install Yo

Kostadin Keljtanoski 41 Nov 21, 2022
This project is for developing an blog_api using laravel

Blog Api A TDD implementation of a weblog RESTful API. This project is a REST api implementation of my other project laravel with more features. featu

sina shariati 6 Nov 8, 2021
A script to help setup Laravel project with common packages and configurations

About Snap Snap allow developer to create scaffold Laravel project. Installation Clone this repository in your user home directory. cd ~ git clone htt

Nasrul Hazim Bin Mohamad 3 Jan 4, 2022
Starterkits Project With Laravel + Inertia JS + Vue + Vuetify

Laravel InertiaJS Vuetify A laravel inertiajs vuetify starterkit Demo You can access demo app in : https://laravel-inertia-vuetify.herokuapp.com/ Feat

Ahmad Faiz Kamaludin 21 Dec 16, 2022
Laravel-7 "Personal Area" Project

Laravel-7 "Personal Area" Project System Requirements Apache

Abdurasul 3 Nov 12, 2021
This is a Starter Laravel 8 project with Vue 3 and Bootstrap 5 installed for you.

Laravel8-Vue3-Bootstrap5 This is a Starter Laravel 8 project with Vue 3 and Bootstrap 5. Instalation Guide: As always you need to: composer install Th

Mohamed Hafidi 7 Oct 19, 2022
A basic Laravel project aimed at facilitating rapid prototyping.

HTG Laravel A basic Laravel project aimed at facilitating rapid prototyping. Why write yet another login form when you just want to try something out?

Andrew McCombe 7 Dec 22, 2021