dpovshed / zipus

Lalavel 5 package to lookup for U.S. zip codes
3 stars 2 forks source link

artisan command not running #3

Open lurchpop opened 6 years ago

lurchpop commented 6 years ago

added to composer.json composer install php artisan zipus-import

Error: Command "zipus-import" is not defined.

the files did get pulled into ./vendor/dpovshed/zipus laravel 5.6.34 missing a step for dummies?

dpovshed commented 6 years ago

missing a step for dummies?

Let's check!

Firstly, I would recommend to use

composer update dpovshed/zipus instead of composer install because install can be satisfied with just *.lock file

And then probably you need to regenerate autoload with composer dump-autoload

So later with php artisan list you could see a commands from package installed?

timschwartz commented 5 years ago

I think it's because the package autoloading was added to dev-master, but it's not in a numbered release.

dpovshed commented 5 years ago

Good point, @timschwartz, thank you!

I just shipped a release 1.1 with your recent contribution.