Comments (7)
Hi Mark.
Currently you have to use php artisan generate:publish-stubs
to publish the stubs. Documentation
Please let me know if this it not working.
But I think its a good idea or "more correct" to move it to the publishes()
method.
Thank you,
from generators.
Ah yes indeed I missed that part of the readme! I'll give that a shot! Thanks
from generators.
Thank you for giving this package a shot, it seems you are the first one taking interest in this package, any feedback is welcome!
from generators.
Hey, I like the package, haven't had any problems. Would be nice if I could configure the add_edit view. I don't group them together in one file, but rather have the create.blade.php
and edit.blade.php
reference a partial that contains the form. There a chance of including something that allows for multiple custom view files from a single command? Where I could pass which stubs I want to include from the config file? like that I can add as many as I want?
from generators.
Hi there, sorry, I've been crazy busy on other projects.
I have an idea that I want to implement. (Hopefully over the weekend)
I will let you know once I added a new version.
Thank you for the feedback.
from generators.
Hey,
No stress, in the mean time I've copied the ResourceCommand, and made changes to it and placed it in my Commands folder, did the same thing for a couple of other views that it uses, and it's doing the trick.
But look forward to any updates you might make!
Thanks
from generators.
Hi there,
I've made a lot of changes, also created a new version: v2.0.0.
The main new features are:
- config.php, the settings and resource_views. (in the readme, just below the main heading)
- file command, to generate your own files you want, you can create a new settings type or just new stubs, then u can generate if from this command. The settings have a bit more logic to them (path, namespace, post fix, etc
- Then the resource_views, you can split the add_edit up in there if you like, they just point to the list of subs key = value pair.
- Then also the Available placeholders
Please feel free to play around with it and let me know if I missed something or if you would like to add something else or any other ideas.
from generators.
Related Issues (18)
- Abstract the placeholders used in BuildClass method
- Finish the view command with the --stub option
- Add a FileCommand
- Consistency in {{resource_name}} in Controllers HOT 2
- generate pivot table missing Name HOT 8
- Inject methods into models during generate:migration:pivot foo bar HOT 15
- Validator idea HOT 2
- Migration - Add placeholders
- Composer Update doesn't recognize existing stubs HOT 3
- generate:migration:pivot has inverted classes HOT 3
- Trait 'Illuminate\Console\DetectsApplicationNamespace' not found in Laravel 5.3 HOT 15
- Enhancement for repositories/contracts HOT 5
- AdminController which all controller extend is not exist already ! HOT 3
- How are shortcuts are supposed to work? HOT 5
- Migration is auto populated with personal preferences. HOT 5
- Some feature request and speaking of generate::request HOT 2
- PHP 8 Compat HOT 2
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 generators.