Skip to content

Commit ec851e6

Browse files
committed
💄 readme almost ready
1 parent b943b98 commit ec851e6

File tree

4 files changed

+20
-15
lines changed

4 files changed

+20
-15
lines changed

README.md

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
1+
<p align="center"><img src="https://raw.githubusercontent.com/Lomkit/art/master/laravel-rest-api/cover.png" alt="Social Card of Laravel Permission"></p>
12

23
# Laravel Rest Api
34

4-
This project is under construction. It has been made to cover nowadays problem with constructing API.
5-
This project aims to be as powerfull as GraphQL with the full integration of Laravel (Policies / Eloquent / etc)
5+
Laravel Rest Api is an elegant way to expose your app through an API, it takes full advantage of the Laravel ecosystem such as Policies, Controllers, Eloquent, ...
6+
7+
## Documentation, Installation, and Usage Instructions
8+
9+
See the [documentation](https://laravel-rest-api.lomkit.com) for detailed installation and usage instructions.
10+
11+
## What It Does
12+
13+
You'll find multiple endpoints exposed when using this package such as mutating, searching, showing, deleting, ...
614

715
Here is a quick look at what you can do using API search method:
816
```
@@ -53,19 +61,20 @@ Here is a quick look at what you can do using API search method:
5361
}
5462
```
5563

56-
Estimate time for Beta delivery: July 2023
64+
## Changelog
65+
66+
TODO
67+
68+
## Contributing
69+
70+
TODO
5771

5872
## Roadmap
5973

60-
- Unit testing - 50%
61-
- Documentation
62-
- Morph support for relationing
74+
- Morph support
6375
- Through relation support
6476
- Custom directives (Filters / sorting)
6577
- Actions / Metrics
6678
- Automatic Gates
6779
- Aggregating (V2)
68-
- Stubs - Missing Responsable (+ Request ?)
69-
- Create entries (Including distant ones)
70-
- Update entries (Including distant ones)
7180
- Automatic documentation with extending possible

src/Concerns/PerformsRestOperations.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@ public function mutate(MutateRequest $request) {
4545
return $operations;
4646
}
4747

48-
49-
//@TODO: stubs for responsables / rules
50-
51-
//@TODO: change destroy/restore/forceDelete to allow multiple models
5248
public function destroy(DestroyRequest $request) {
5349
$resource = static::newResource();
5450

src/Http/Controllers/Controller.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ abstract class Controller extends \Illuminate\Routing\Controller
1818
use PerformsRestOperations,
1919
Authorizable;
2020

21+
// @TODO Make an installation command that provides base controller, resource, etc
22+
2123
/**
2224
* The resource the entry corresponds to.
2325
*

src/Query/Traits/PerformMutation.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ trait PerformMutation
2121
];
2222

2323
public function mutate(array $parameters = []) {
24-
// @TODO: Attentions aux permissions aussi sur le search
25-
2624
$operations = [
2725
'created' => [],
2826
'updated' => []

0 commit comments

Comments
 (0)