Comments (4)
Hi @vita10gy,
--view-path="admin" option will let you separate the view files.
This generator will allow you to separate the controller in different directory.
If you like to put your controller to separate directory and want to add prefix on route as well then
You need to do it manually.
Make the route as like
Route::group(['prefix' => 'admin', 'namespace' => 'Admin'], function () {
Route::get('crud', function () {
// Matches The "/admin/crud" URL
});
});
Make your controller namespace as like
namespace App\Http\Controllers\Admin;
Put the controller file to the directory
app/Http/Controllers/Admin
Thanks
from crud-generator.
How possible would making some parameter to automate that be?
from crud-generator.
I will be added this feature soon.
from crud-generator.
Hi @vita10gy check this features on new version.
And let me know your feedback.
from crud-generator.
Related Issues (20)
- Generate API uses web controller stub
- Custom template doesn't work HOT 1
- I can't remove in composer HOT 1
- Laravel 6.0 is here!! HOT 3
- FIXED : Report breaks when Parameter value contains comma or special character that can break commandline
- Use implicit bind in generated controllers?
- for foreign key option there should be a dropdown form that table
- Any plans to integrate the UI like the Admin project? HOT 1
- how i want to use intregate with nwidart module package? HOT 2
- How I create a view with reference in two tables
- ID dont change
- laravel 8.0 support HOT 1
- Fork to Crud Generator HOT 1
- Using route() instead of url() HOT 2
- View [admin.sidebar] not found
- Laravel 9 support HOT 3
- Not working on Laravel 9 HOT 2
- CRUD dont show HOT 1
- Use Package in Modules nwidart
- To work on Laravel 10
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 crud-generator.