Coder Social home page Coder Social logo

Comments (9)

bryanwokich avatar bryanwokich commented on July 27, 2024 2

I had this same error. Double-checking config/app.php I was missing
Appzcoder\CrudGenerator\CrudGeneratorServiceProvider::class,

from crud-generator.

sohelamin avatar sohelamin commented on July 27, 2024

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.

Ravenna avatar Ravenna commented on July 27, 2024

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.

sohelamin avatar sohelamin commented on July 27, 2024

I'm sure you have configuration problem.
Please try with new installation of laravel and follow the instructions carefully.

from crud-generator.

jashimcse2015 avatar jashimcse2015 commented on July 27, 2024

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.

jashimcse2015 avatar jashimcse2015 commented on July 27, 2024

i am using laravel 5.4

from crud-generator.

sohelamin avatar sohelamin commented on July 27, 2024

Follow the installation instructions properly

from crud-generator.

yaimran21 avatar yaimran21 commented on July 27, 2024

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.

israr-roohware avatar israr-roohware commented on July 27, 2024

@yaimran21 thanks. You solved my problem.

from crud-generator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.