jrb-y/simple

Simple and tiny useful packages for Laravel!

dev-master 2020-02-23 10:55 UTC

This package is auto-updated.

Last update: 2025-06-23 23:13:57 UTC


README

Boost your laravel workflow with SIMPLE and useful tiny packages

Installation

1 - To install Simple:

composer require jrb-y/simple

2 - If you use Laravel +5.0 no need to register the Service Provider, else you need to register it manually.
In config/app.php add the provider:

Jrb\Simple\SimpleServiceProvider::class

3 - To use simple:crud you need to publish the stubs.

php artisan vendor:publish --tag=simple-crud

Laravel will publish the crud stubs to /resources/views/stubs.

Usage

For now you have only the simple crud generator.

php artisan simple:crud Post [options]

This command will generate 4 files:

  • Post.php
  • PostController.php
  • PostRequest.php
  • create_posts_table.php

Want to share with us?

Great! We are open for any suggestion :)