Comments (9)
I had this same error. Double-checking config/app.php I was missing
Appzcoder\CrudGenerator\CrudGeneratorServiceProvider::class,
from crud-generator.
Can you share your command which one you're trying?
Also you could be sure if the generator's commands register or not via
php artisan
from crud-generator.
My apologies, should have been more clear: when running:
php artisan crud:generate Buildings --fields="name:string:required, user_id:integer" --route=yes --pl=id --view-path="admin" --namespace=Admin --route-group=admin
I get that error. Checking "php artisan" the commands are not listed. I am using Laravel 5.2
from crud-generator.
I'm sure you have configuration problem.
Please try with new installation of laravel and follow the instructions carefully.
from crud-generator.
when i run this commend php artisan crud:generate Posts --fields="title#string; content#text; category#select#options=technology,tips,health" --view-path=admin --controller-namespace=Admin --route-group=admin
composer show : There are no commands defined in the "crud" namespace.
from crud-generator.
i am using laravel 5.4
from crud-generator.
Follow the installation instructions properly
from crud-generator.
add the provider in app/Providers/AppServiceProvider.php.
public function register()
{
if ($this->app->environment() == 'local') {
$this->app->register('Appzcoder\CrudGenerator\CrudGeneratorServiceProvider');
}
}
I think you should solve this problem
from crud-generator.
@yaimran21 thanks. You solved my problem.
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.