Comments (5)
Well everything is possible and we can always find solutions to do whatever we need (it's not so easy but not impossible).
But anyway I don't see any use case for that! (could you please share your use case). Because one of the concepts of Hello API is to get rid of the ugly
! folder structure of Laravel in the app
, where every user place his classes anywhere he likes and it's hard to read people's code because of that..
And putting the Porto layer in the vendor, is gonna lead to slower development.. but that's not the only reason, that layer is meant to be used as place to hold shared code between your containers so it must be tied to your project code very well. (Example, if you wanna apply some sort of code on every controller you simply put that code in the container abstract folder in the port layer..).
Hope my answer helps. And again I'm always open to any kind of suggestions like this. Thanks.
from apiato.
You are right, and I understand all the advantages from Porto architecture. But how we can put together an Laravel standard app or package and the Hello-API container? maybe include de Laravel package on Hello-API app? Say something like Customers (Laravel app or package) and Employees (Hello-API container), the purpose is reuse, avoid to write the app again (customers or employees) only for use in one side or other...
Thanks in advance!!
from apiato.
@llstarscreamll I'm sorry I didn't understand what you mean!! Can you give more examples?
from apiato.
I think that I will go with the Porto philosophy from now, @Mahmoudz thank you very much for this amazing project!! 😄
from apiato.
@llstarscreamll cool :D you're more than welcome
from apiato.
Related Issues (20)
- Composer require problem with requirements
- Installing on cPanel HOT 1
- Search is not working in RequestCriteria HOT 2
- Laravel Passport PKCE HOT 2
- microservice projects HOT 2
- Add Laravel 10 support HOT 6
- Swagger Generator HOT 2
- Your requirements could not be resolved to an installable set of packages
- how to handle relationship HOT 3
- UUID , instead of Hashed Id
- Hash ids error when using "in" operator HOT 2
- Cli generator does not support `criteria` currently
- Why i am getting "Welcome to Apiato" message even after specifying route end point HOT 1
- apiato:apidoc command throw ProcessFailedException Error HOT 9
- API Test Error: "The requested Resource was not found." HOT 5
- Custom Model primaryKey not working! HOT 2
- Installation Error via Composer
- No hint path defined for [mail] HOT 1
- Invalid key supplied HOT 2
- Repository delete() ModelNotFoundException is never thrown
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apiato.