armendzz / PasteBinLaravel

PasteBin.Com clone made with PHP Laravel
4 stars 0 forks source link

Please write usefull README.md #34

Open Shushandr opened 10 months ago

Shushandr commented 10 months ago

Users of such application want to know how to build, install and configure it. If you want to promote Laravel it's better to do in README (or other documentation file) of some subdirectory.

So, please place usage instructions into main README.md file of the project.

Shushandr commented 10 months ago

I don't understand how to update all these dependencies with composer, it says: laravel/framework v7.11.0 requires php ^7.2.5 -> your php version (8.1.20) does not satisfy that requirement.

- phpunit/phpunit[8.5.12, ..., 8.5.x-dev] require ext-xmlwriter * -> it is missing from your system. Install or enable PHP's xmlwriter extension.
    - phpunit/phpunit[8.5.0, ..., 8.5.11] require php ^7.2 -> your php version (8.1.20) does not satisfy that requirement.
    - Root composer.json requires phpunit/phpunit ^8.5 -> satisfiable by phpunit/phpunit[8.5.0, ..., 8.5.x-dev].
[InvalidArgumentException]              
  Could not find package ext-xmlwriter.   

  Did you mean one of these?              
      mckue/laravel-excel                 
      death_satan/satan-excel             
      wangqs/xlswriter_ide_helper         
      rizky92/xlswriter-for-laravel       
      viest/php-ext-xlswriter-ide-helper 

UPD: I added USE="curl xmlwriter" for dev-lang/php in Gentoo.

Package fruitcake/laravel-cors is abandoned, you should avoid using it. No replacement was suggested.
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Package fzaninotto/faker is abandoned, you should avoid using it. No replacement was suggested.
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
PHP Fatal error:  During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Illuminate\Support\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/localhost/htdocs/vendor/laravel/framework/src/Illuminate/Support/Collection.ph
  Opis\Closure\SerializableClosure implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is n  
  ecessary) 
# composer show | grep closure
opis/closure                       3.6.3              A library that can be used to serialize closures (anonymous functions) and arbitrary objects.

opis/closure also should have a higher version - https://github.com/opis/closure/issues/124 but there is no corresponging tag or release yet.