maniruzzamanakash / laravel-advanced-crud-api Goto Github PK
View Code? Open in Web Editor NEWLaravel Advanced API Architecture for Small to Big Project with Auth, Repository, Interfaces, Unit Testing and so many stuffs with Laravel 9.x
Laravel Advanced API Architecture for Small to Big Project with Auth, Repository, Interfaces, Unit Testing and so many stuffs with Laravel 9.x
Using PHP 8.2, I cannot run php artisan l5-swagger:generate
.
The command returns ErrorException Required @OA\PathItem() not found like that:
I searched for a solution, but didn't find it. I saw its ProductsController.php and saw the phpdoc comment block before the index method. What have I to do to solve that?
@ManiruzzamanAkash , I see you have used "Repository pattern" in this git repo. Is it a good practice to use repository pattern in Laravel.
I mean the controller code could have been more shorter if you would have not used repositories. The objective of the SOLID principles is to shorten the controller but in your case, it looks like the controller code has widen with repositories.
Please don't take it as an issue. I am just learning these design patterns and SOLID principles and just want to discuss it with experienced developers.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.