-1
Dear, I’m trying to install the L5-Repository and give the command:
composer require prettus/l5-repository
and the following appears:
Using version ^2.6 for prettus/l5-repository
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
> Illuminate\Foundation\ComposerScripts::postUpdate
> php artisan ide-helper:generate
A new helper file was written to _ide_helper.php
> php artisan ide-helper:meta
A new meta file was written to .phpstorm.meta.php
> php artisan optimize
Generating optimized class loader
The compiled class file has been removed.
But when I run php Artisan, only these options appear:
make
make:auth Scaffold basic login and registration views and routes
make:command Create a new Artisan command
make:controller Create a new controller class
make:event Create a new event class
make:job Create a new job class
make:listener Create a new event listener class
make:mail Create a new email class
make:middleware Create a new middleware class
make:migration Create a new migration file
make:model Create a new Eloquent model class
make:notification Create a new notification class
make:policy Create a new policy class
make:provider Create a new service provider class
make:request Create a new form request class
make:seeder Create a new seeder class
make:test Create a new test class
I already put the line in config app.php
Prettus Repository Providers Repositoryserviceprovider::class
And when I turn the line down, there’s the mistake:
php artisan vendor:publish --provider="Prettus\Repository\Providers\RepositoryServiceProvider"
Nothing to publish for tag [].
I don’t know what else to do. I wonder if they can help me ?
A hug Tonic
A hint, do not use this package, it remains to explain some details and you end up doing the same thing that comes ready on
Laravel
, sincerity do not use, if it already exists ready in theLaravel
with ownmodel
Eloquent
, use it, because: it is very simple to use validation and operations with little coding. I’ve seen some better and much simpler packages that use the base ofLaravel
without changing its form of validation which is already quite solid. If you are worried about generators, are not worried about learning, beware.– novic
Virgilio, thanks for the tip... I’m only using because I was on a course and showed how I used it. But I’ve solved the problem. I should not even use, I should only use the Bootstrapper PDF.
– Tonico