Skip to content

Commit 0237c1a

Browse files
committed
Added auth id for foreign key
1 parent c8575b6 commit 0237c1a

6 files changed

Lines changed: 82 additions & 68 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ yarn-error.log
1717
composer.lock
1818
composer_local.json
1919
composer_server.json
20+
composer.prod.json
21+
composer.dev.json

CHANGELOG.md

Lines changed: 54 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,121 +1,134 @@
1-
Changelog
2-
==================================================
1+
# Changelog
2+
3+
## Release v0.4.6 - Feb 02, 2023
4+
5+
- Added `auth` option for foriegn IDs.
6+
- Updated Engine stuffs.
7+
- fixed some bugs.
38

49
## Release v0.4.5 - Aug 15, 2022
510

6-
- Fixed generated resources management.
7-
- Fixed controller namespace issue.
8-
- Fixed api middlewares management.
9-
- Added `uuid` option in resource generate.
10-
- fixed some bugs
11+
- Fixed generated resources management.
12+
- Fixed controller namespace issue.
13+
- Fixed api middlewares management.
14+
- Added `uuid` option in resource generate.
15+
- fixed some bugs
1116

1217
==================================================
1318

1419
## Release v0.4.0 - Aug 10, 2022
1520

16-
- Moved Builder and resources Links to header.
17-
- Updated UI.
21+
- Moved Builder and resources Links to header.
22+
- Updated UI.
1823

1924
==================================================
2025

2126
## Release v0.3.8 - Aug 04, 2022
2227

23-
- Added `sendgrid` and `smtp` mail driver in email settings.
24-
- Added new config file for adminr only.
25-
- Added caching for the dynamic setting values.
26-
- Added session driver as database by default.
28+
- Added `sendgrid` and `smtp` mail driver in email settings.
29+
- Added new config file for adminr only.
30+
- Added caching for the dynamic setting values.
31+
- Added session driver as database by default.
2732

2833
==================================================
2934

3035
## Release v0.3.5 - Jul 03, 2022
3136

32-
- Fixed routes generation service.
33-
- Now generating routes in the `admin.php` and `api.php` instead of separate `json` file.
37+
- Fixed routes generation service.
38+
- Now generating routes in the `admin.php` and `api.php` instead of separate `json` file.
3439

3540
==================================================
3641

3742
## Release v0.3.2 - Jun 26, 2022
3843

39-
- Fixed adminr home reference url in landing page.
44+
- Fixed adminr home reference url in landing page.
4045

4146
==================================================
4247

4348
## Release v0.3.1 - Jun 26, 2022
4449

45-
- Fixed issue [#5](https://github.com/thedevsbuddy/adminr/issues/5).
46-
- Added some required methods in `AuthController` for api.
47-
- Added api auth related routes in `api.php` route file.
48-
- Added password updated mail template in seeder.
50+
- Fixed issue [#5](https://github.com/thedevsbuddy/adminr/issues/5).
51+
- Added some required methods in `AuthController` for api.
52+
- Added api auth related routes in `api.php` route file.
53+
- Added password updated mail template in seeder.
4954

5055
==================================================
5156

5257
## Release v0.3.0 - Jun 21, 2022
5358

54-
- Added ```foreignId``` data type.
59+
- Added `foreignId` data type.
5560

5661
==================================================
62+
5763
## Release v0.2.5 - May 02, 2022
5864

59-
- Added Default mail templates.
60-
- Added registration email verifications.
61-
- Added Queues for sending emails.
62-
- Added Settings for features like toggle ```email verification``` and toggle ```Email Queue```
65+
- Added Default mail templates.
66+
- Added registration email verifications.
67+
- Added Queues for sending emails.
68+
- Added Settings for features like toggle `email verification` and toggle `Email Queue`
6369

6470
==================================================
6571

6672
## Release v0.2.1 - May 01, 2022
6773

68-
- Added default landing page
74+
- Added default landing page
6975

7076
==================================================
7177

7278
## Release v0.2.0 - Apr 30, 2022
7379

74-
- Now it is using ```Laravel v9.x``` and ```php v8.1.x```.
75-
- Renamed ```adminr-core``` to ```adminr-engine```.
76-
- ```adminr-engine``` is no more an additional ```package```.
77-
- ```adminr-engine``` is now a ```core``` code build in ```AdminR```.
80+
- Now it is using `Laravel v9.x` and `php v8.1.x`.
81+
- Renamed `adminr-core` to `adminr-engine`.
82+
- `adminr-engine` is no more an additional `package`.
83+
- `adminr-engine` is now a `core` code build in `AdminR`.
7884

7985
==================================================
8086

8187
## Release v0.2.0-alpha1 - Apr 30, 2022
8288

83-
- Now it is using ```Laravel v9.x``` and ```php v8.1.x```.
84-
- Renamed ```adminr-core``` to ```adminr-engine```.
85-
- ```adminr-engine``` is no more an additional ```package```.
86-
- ```adminr-engine``` is now a ```core``` code build in ```AdminR```.
89+
- Now it is using `Laravel v9.x` and `php v8.1.x`.
90+
- Renamed `adminr-core` to `adminr-engine`.
91+
- `adminr-engine` is no more an additional `package`.
92+
- `adminr-engine` is now a `core` code build in `AdminR`.
8793

8894
==================================================
8995

9096
## Release 0.1.6 - Jan 16, 2022
91-
- Updated Adminr-core
97+
98+
- Updated Adminr-core
9299

93100
=================================================
94101

95102
## Release 0.1.5 - Jan 14, 2022
96-
- Fixed the issue when it was throwing error while installing
103+
104+
- Fixed the issue when it was throwing error while installing
97105

98106
=================================================
99107

100108
## Release 0.1.4 - Jan 14, 2022
101-
- Fixed the issue when it was throwing error while installing.
109+
110+
- Fixed the issue when it was throwing error while installing.
102111

103112
=================================================
104113

105114
## Release 0.1.3 - Dec 31, 2021
106-
- Added register functionality.
115+
116+
- Added register functionality.
107117

108118
=================================================
109119

110120
## Release 0.1.2 - Dec 30, 2021
111-
- Fixed composer.json file.
121+
122+
- Fixed composer.json file.
112123

113124
=================================================
114125

115126
## Release 0.1.1 - Dec 30, 2021
116-
- Updated and removed unused routes from the admin routes file.
127+
128+
- Updated and removed unused routes from the admin routes file.
117129

118130
=================================================
119131

120132
## Release 0.1.0 - Dec 30, 2021
121-
- initial release
133+
134+
- initial release

README.md

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# AdminR v0.4.5
1+
# AdminR v0.4.6
22

33
<p align="center">
44
<a href="https://packagist.org/packages/thedevsbuddy/adminr"><img src="https://img.shields.io/packagist/dt/thedevsbuddy/adminr" alt="Total Downloads"></a>
@@ -9,26 +9,28 @@
99
![AdminR](./public/screenshots/AdminR.svg)
1010

1111
## About AdminR
12-
12+
1313
AdminR is a simple admin panel built on top of [Laravel Framework](https://laravel.com) to help developers create laravel backend and APIs with ease so they can more focus on creating actual web app or any client side apps.
1414

1515
AdminR help to reduce approx 90% of the work for developers which they do to build a backend or admin panel and the APIs for their apps.
1616

17-
1817
## Known Issues
18+
1919
### I am aware of (and fixing them)
20-
* No issue known.
21-
* **Please report issues in issue tab if found any issue**
20+
21+
- No issue known.
22+
- **Please report issues in issue tab if found any issue**
2223

2324
## Future plans
25+
2426
### I am preparing to add
25-
* `uuid` field option for resource generation.
26-
* `indexing` option for resource generation (on `SQL` level).
27-
* DataTable option for every resource
28-
* You will have an option to select whether to use datatable or native table.
29-
* Import export options on resources.
30-
* Search option for resources.
31-
* Many more features.
27+
28+
- `indexing` option for resource generation (on `SQL` level).
29+
- DataTable option for every resource
30+
- You will have an option to select whether to use datatable or native table.
31+
- Import export options on resources.
32+
- Search option for resources.
33+
- Many more features.
3234

3335
---
3436

@@ -45,16 +47,19 @@ If you found this package helpful you can show support by clicking on the follow
4547
## Get Started
4648

4749
Install the project
50+
4851
```bash
4952
composer create-project thedevsbuddy/adminr <your-app-name>
5053
```
5154

5255
Generate app key
56+
5357
```bash
5458
php artisan key:generate
5559
```
5660

5761
Setup / update database connection
62+
5863
```env
5964
DB_CONNECTION=mysql
6065
DB_HOST=127.0.0.1
@@ -65,21 +70,24 @@ DB_PASSWORD=secret
6570
```
6671

6772
Migrate database and seed demo data
73+
6874
```bash
6975
php artisan migrate --seed
7076
```
7177

7278
Link storage folder
79+
7380
```bash
7481
php artisan storage:link
7582
```
7683

77-
By default, you will get ```3``` users and role
84+
By default, you will get `3` users and role
85+
7886
```text
7987
8088
Super admin (super.admin)
8189
email: super.admin@adminr.com
82-
pwd: password
90+
pwd: password
8391
8492
Admin (admin)
8593
email: admin@adminr.com
@@ -90,16 +98,15 @@ email: user@adminr.com
9098
pwd: password
9199
```
92100

93-
94-
95101
That's it your project setup is completed.
96102

97103
Happy coding.
98104

99105
### Special thanks to
106+
100107
#### CoreUI
101-
For the admin panel UI we have used [coreui](https://coreui.io) which is an awesome admin template out there.
102108

109+
For the admin panel UI we have used [coreui](https://coreui.io) which is an awesome admin template out there.
103110

104111
## Security Vulnerabilities
105112

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "thedevsbuddy/adminr",
3-
"version": "0.4.5",
3+
"version": "0.4.6",
44
"type": "project",
55
"description": "A simple yet powerful laravel starter with admin panel and CRUD resources generator to help you build application faster.",
66
"keywords": [

public/vendor/adminr-engine/js/adminr-core.js.LICENSE.txt

Lines changed: 0 additions & 8 deletions
This file was deleted.

routes/adminr/admin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Dynamic routes generation
45
* We are generating dynamic routes for
@@ -10,4 +11,3 @@
1011
*/
1112

1213
use Illuminate\Support\Facades\{Route};
13-

0 commit comments

Comments
 (0)