I am using laravel 5.7. I want to use laravel collective package. But latest updated laravel collective package is 5.4. When I am trying to install from composer it shows error :
' [UnexpectedValueException] Could not parse version constraint
:5.7: Invalid version string ":5.7"'
Please suggest now how can I use collective package in laravel 5.7?
Related
I need to do the same project but i need to downgrade the version from laravel 7.* to laravel 5.8 because in my project is required php 7.1 ( I know this is not good but my boss want to do for a client )
Thanks
it is easy to do
first backup your laravel 7 project
second fresh install laravel 5.* in your machine.
and then copy your app , resource , routes and packeage.json and then fire command
composer install
if any error than solve one by one
I need to create an observer using the laravel artisan command. I tried many ways but can't find the right way.
I think you have been are using laravel 5.5, the artisan comman is available only from Laravel 5.6
Please upgrade your framework in composer.json and change laravel 5.5 to Laravel 5.6. and then you can run php artisan make:observer Test
Good day,
I am getting a class not found error on our website.
Class 'BootForm' not found
However when I checked the vendor directory, the files are there.
So I ran this command.
php artisan version
The site that uses the same dependency was this version.
Laravel Framework 5.5.23
The site that is not working was this version.
Laravel Framework 5.4.35
And when I check the files, the working site had this file.
bootstrap/cache/packages.php
Does that mean that I have to update the laravel version?
In laravel 5.5, a new feature was add called Package discovery
https://laravel.com/docs/5.5/packages#package-discovery
In laravel 5.4 you have to add your providers array located in the config/app.php file
that''s why you got an error on your 5.4 version and not in the 5.5 one :)
I have installed laravel 5.2,
I can't able to use this package for laravel version 5.2
This plugin is easy way to integrate Category management
We can able to create, edit, update and delete a categories by using this package core library files,
Issue i met while installing this package for laravel version 5.2
[Symfony\Component\Debug\Exception\FatalErrorException]
Class 'Franzose\ClosureTable\ClosureTableServiceProvider' not found
For your reference kindly please check this link:
https://github.com/franzose/ClosureTable
I am new to laravel framework,after some search I decided to use laravel 5.1
I read the official document and set the environment,also I install the laravel installer.but when I use laravel installer to create a project, it will use laravel newest version(such as 5.2.*).I want to know how can I specify the laravel version useing laravel installer?
I know I can specify laravel version using composer create-project ...,but for some reason when I using composer I must wait for long time.so is there a way useing laravel installer to create project with specified laravel?
You should be able to do it using this alternative laravel installer.
composer g require artesaos/laravel-installer
And then you can do:
laravel new name version
You may need to uninstall the previous installer you had.