Comments (4)
Hi @Phr33d0m, thanks for valuable inputs! I agree 100% on all of them, but cut some of that out just to get to an initial release. I will try to address the features below.
Namespace models/controllers to specific folders
I was thinking about giving the LaravelFileFactory and indivudal Pipes the ability to expose/publish settings to the settings tab. The templates/pipes should then be able to pull in these settings. Maybe something like this would do the trick.
class FileFactory {
defaultSettings() {
return {
// defaults
modelsNamespace: "App",
APINamespace: "App\Http\Controllers\API",
...
}
}
}
Model bindings by default
Great, will look into this!
Editor Ctrl-z bug
I cannot reproduce (On a mac using chrome). Is it the same in all editors or just in the templates tab? Im not sure if this is caused by pipe-dream or by the dependency https://github.com/chairuosen/vue2-ace-editor which in turn uses https://github.com/thlorenz/brace. That was kind of a mess to get working.
Missing CASTS_BLOCK in UserPipe
Good catch, that should be fixed. It would be nice to give the templates more power with some real templating syntax language. In this case maybe they could use condtitional statements to only render that section if needed.
I hope to get some time to work on these things soon. If you or anyone else want to beat me to it you are more than welcome to. Again, thanks for your suggestions 😄🎉
from laravel-create.
Added to this Trello board
from laravel-create.
Hi !
I'm a fan !
Little improvment, add : use Illuminate\Http\Request; at the top of APIController.php files
from laravel-create.
Thanks Phr33d0m, @ArnaudL-Sirea and @mateusjunges! Some of these issues are fixed, some are queued for next version. Closing for now.
from laravel-create.
Related Issues (20)
- Default user and reset password migration removed HOT 3
- failed to open stream: Permission denied HOT 1
- Overriding the templates folder HOT 2
- GUI should keep object model sketch when development server or browser tab is closed. HOT 2
- Ability to create GraphQL type system HOT 3
- Laravel 6 cant generate templates file HOT 2
- Let us add more files after initial file creation HOT 1
- Rebuild doesn't delete old files
- Frontend? HOT 1
- softdeletes doesn't work HOT 4
- API path not working in laravel 6.6.2 HOT 1
- Replacing Route::resource with Route::apiResource HOT 1
- Want to contribute to the project HOT 1
- DataTypes not resolving from __GITHUB_DUMP__
- Broken in Laravel 7 HOT 2
- Closure on route blocks caching routes
- Import existing models HOT 2
- Seeder.php template should use ___MODEL_NAMESPACE___
- license file
- is it possible to create views?
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 laravel-create.