Skip to content

Commit 861e874

Browse files
author
RK M
committed
Bugs
1 parent d134871 commit 861e874

File tree

3 files changed

+15
-9
lines changed

3 files changed

+15
-9
lines changed

README.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,27 @@
88

99
This Laravel Generator package provides and generate Controller, Model (with eloquent relations) and Views in **Bootstrap** for your development of your applications with single command.
1010

11+
**What Is New**
12+
- **Relationship** with select in form and auto Relationship data pass in view
13+
- **Select dropDown in form**
14+
- **Search Filter added**
15+
- **$serchable Property in Model**
16+
- Bootstrap new Design **col-md-6**
17+
18+
1119
- Will create **Model** with Eloquent relations
1220
- Will create **Controller** with all resources
1321
- Will create **views** in Bootstrap
1422

1523
## Requirements
16-
Laravel >= 5.5
17-
PHP >= 7.1
24+
Laravel >= 9.0
25+
PHP >= 8.1
26+
Bootstrap >= 5.0.0
1827

1928
## Installation
2029
1 - Install
2130
```
22-
composer require Cooltriks/bootstrap-laravel-crud-generator --dev
31+
composer require coolhax/bootstrap-laravel-crud-generator --dev
2332
```
2433
2- Publish the default package's config
2534
```
@@ -65,8 +74,5 @@ php artisan make:crud {table_name} --route={route_name}
6574

6675
## Author
6776

68-
M Awais // [Email Me](mailto:[email protected])
69-
70-
[Buy me a Coffee](https://ko-fi.com/C0C8VT1M)
77+
Rohit Kumar // [Email Me](mailto:[email protected])
7178

72-
[![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/C0C8VT1M)

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "coolhax/bootstrap-laravel-crud-generator",
3-
"description": "Laravel Crud Generator based on https://github.com/takielias/coolhax-crud-generator",
3+
"description": "Laravel bootstrap 5 Crud Generator based on https://github.com/awais-vteams/laravel-crud-generator",
44
"license": "MIT",
55
"authors": [
66
{

src/Commands/CoolhaxGeneratorCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ protected function buildReplacements()
285285
protected function getField($title, $column, $type = 'form-field')
286286
{
287287

288-
$relationName = Str::before('country_id', '_id');
288+
$relationName = Str::before($column, '_id');
289289
$relationNameTitle = ucfirst($relationName);
290290
$replace = array_merge($this->buildReplacements(), [
291291
'{{title}}' => $title,

0 commit comments

Comments
 (0)