An open API service indexing awesome lists of open source software.

https://github.com/mrzstack/laravel-automation-package

laravel-automation-package
https://github.com/mrzstack/laravel-automation-package

Last synced: 8 months ago
JSON representation

laravel-automation-package

Awesome Lists containing this project

README

          

# Laravel Automation Package

This package help you to build a crud system without any coding.

[![issues](https://img.shields.io/github/issues/jmrashed/laravel-automation-package)](https://img.shields.io/github/issues/jmrashed/laravel-automation-package)
[![forks](https://img.shields.io/github/forks/jmrashed/laravel-automation-package)](https://img.shields.io/github/forks/jmrashed/laravel-automation-package)
[![stars](https://img.shields.io/github/stars/jmrashed/laravel-automation-package)](https://img.shields.io/github/stars/jmrashed/laravel-automation-package)
[![license](https://img.shields.io/github/license/jmrashed/laravel-automation-package)](https://img.shields.io/github/license/jmrashed/laravel-automation-package)
[![](https://img.shields.io/twitter/url?url=https%3A%2F%2Ftwitter.com%2F_rasheduzzaman)](https://img.shields.io/twitter/url?url=https%3A%2F%2Ftwitter.com%2F_rasheduzzaman)

## Introduction

This package help you to build a crud system without any coding.

## Supported Versions

Only the latest major version of Laravel UI receives bug fixes. The table below lists compatible Laravel versions:

| Version | Laravel Version |
| ------- | --------------- |
| 1.x | 7.x, 8.x |
| 2.x | 9.x |

## Installation

Require this package with composer. It is recommended to only require the package for development.

```
composer require jmrashed/automation
```

Laravel uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.

## Laravel without auto-discovery:

If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php

```php
// 'config/app.php'
[
App\Providers\AutomationServiceProvider::class,
],
```

If you want to use the facade to log messages, add this to your facades in app.php:

```php
'Automation' => Jmrashed\Automation\App\Facades\Automation::class,
```

## Publish Laravel Automation Package

```
artisan vendor:publish --provider="Jmrashed\Automation\App\Providers\AutomationServiceProvider"
```

## Usage in Controller

```php
// call automation
Automation::create('Model');
```

## Usage in Blade

```
// call automation
{{ automation('Model')}}
```

The views can then be exported by users of our package using:

```
php artisan vendor:publish --provider="Jmrashed\Automation\App\Providers\AutomationServiceProvider" --tag="views"
```

The assets can then be exported by users of our package using:

```
php artisan vendor:publish --provider="Jmrashed\Automation\App\Providers\AutomationServiceProvider" --tag="assets"
```

## Directory Structure

```
- src
- tests
CHANGELOG.md
README.md
LICENSE
composer.json
```

In a package, all code that would live in the app/ directory of a Laravel application will live in the src/ directory when working with a package.

## Contributing

Thank you for considering contributing to UI! The contribution guide can be found in the Laravel documentation.

## Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.

## Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

## License

Laravel Automation Package is open-sourced software licensed under the [MIT license](LICENSE).