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
- Host: GitHub
- URL: https://github.com/mrzstack/laravel-automation-package
- Owner: jmrashed
- License: mit
- Created: 2022-09-03T19:58:10.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-04T19:48:56.000Z (over 3 years ago)
- Last Synced: 2024-05-08T11:31:26.623Z (over 1 year ago)
- Language: PHP
- Size: 314 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Laravel Automation Package
This package help you to build a crud system without any coding.
[](https://img.shields.io/github/issues/jmrashed/laravel-automation-package)
[](https://img.shields.io/github/forks/jmrashed/laravel-automation-package)
[](https://img.shields.io/github/stars/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)
## 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).