Git Product home page Git Product logo

larapoke's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @DarkGhostHunter
  • ๐Ÿ‘€ Iโ€™m interested in great apps
  • ๐ŸŒฑ Iโ€™m currently surviving inflation
  • ๐Ÿ’ž๏ธ Iโ€™m looking to collaborate on my packages.
  • ๐Ÿ“ซ Reach me by email or in Mastodon.

larapoke's People

Contributors

darkghosthunter avatar dependabot-preview[bot] avatar murrant avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

larapoke's Issues

Call to a member function uses() on array (critical break, library is totally unusable until fixed)

Hello, getting this error after doing a composer update.

   Symfony\Component\Debug\Exception\FatalThrowableError  : Call to a member function uses() on array

  at /home/<redacted>/vendor/darkghosthunter/larapoke/src/Http/RouteGenerator.php:98
     94|     {
     95|         return $this->router
     96|             ->match('head', $config['route'])
     97|             ->middleware($config['middleware'])
  >  98|             ->uses(LarapokeController::class);
     99|     }
    100| 
    101| }

steps to reproduce...

  1. add the link "darkghosthunter/larapoke": "^4.1", to your composer.json file
  2. run compser update.
  3. error on load

call to member function name() on array

maybe similar to #13

Using version ^4.1 for darkghosthunter/larapoke
./composer.json has been updated
Running composer update darkghosthunter/larapoke
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals
  - Locking darkghosthunter/larapoke (v4.1.1)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Downloading darkghosthunter/larapoke (v4.1.1)
  - Installing darkghosthunter/larapoke (v4.1.1): Extracting archive
Package moontoast/math is abandoned, you should avoid using it. Use brick/math instead.
Package zendframework/zend-escaper is abandoned, you should avoid using it. Use laminas/laminas-escaper instead.
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi

   Error

  Call to a member function name() on array

  at C:\xampp\htdocs\xxx\vendor\darkghosthunter\larapoke\src\Http\RouteGenerator.php:72
    68|         // When the "domain" config is null, we will just register a global route
    69|         // that will respond to all domains. Otherwise, we will wrap the value
    70|         // and traverse the array to register each to its own domain name.
    71|         if ($config['domain'] === null) {
  > 72|             $this->route($config)->name($config['name']);
    73|             return;
    74|         }
    75|
    76|         // If its just one domain, we will register it and then exit

  1   C:\xampp\htdocs\xxx\vendor\darkghosthunter\larapoke\routes\larapoke.php:6
      DarkGhostHunter\Larapoke\Http\RouteGenerator::setRoutes()

  2   C:\xampp\htdocs\xxx\vendor\laravel\framework\src\Illuminate\Support\ServiceProvider.php:83
      require("C:\xampp\htdocs\xxx\vendor\darkghosthunter\larapoke\routes\larapoke.php")
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
PS C:\xampp\htdocs\xxx> php artisan vendor:publish --provider=DarkGhostHunter\Larapoke\LarapokeServiceProvider

   Error 

  Call to a member function name() on array

  at C:\xampp\htdocs\xxx\vendor\darkghosthunter\larapoke\src\Http\RouteGenerator.php:72
    68|         // When the "domain" config is null, we will just register a global route
    69|         // that will respond to all domains. Otherwise, we will wrap the value   
    70|         // and traverse the array to register each to its own domain name.       
  > 72|             $this->route($config)->name($config['name']);
    73|             return;
    74|         }
    75|
    76|         // If its just one domain, we will register it and then exit

  1   C:\xampp\htdocs\xxx\vendor\darkghosthunter\larapoke\routes\larapoke.php:6
      DarkGhostHunter\Larapoke\Http\RouteGenerator::setRoutes()

  2   C:\xampp\htdocs\xxx\vendor\laravel\framework\src\Illuminate\Support\ServiceProvider.php:83
      require("C:\xampp\htdocs\xxx\vendor\darkghosthunter\larapoke\routes\larapoke.php")
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
PS C:\xampp\htdocs\xxx> php artisan vendor:publish --provider=DarkGhostHunter\Larapoke\LarapokeServiceProvider

   Error 

  Call to a member function name() on array

  at C:\xampp\htdocs\xxx\vendor\darkghosthunter\larapoke\src\Http\RouteGenerator.php:72
    68|         // When the "domain" config is null, we will just register a global route
    69|         // that will respond to all domains. Otherwise, we will wrap the value
    70|         // and traverse the array to register each to its own domain name.
    71|         if ($config['domain'] === null) {
  > 72|             $this->route($config)->name($config['name']);
    73|             return;
    74|         }
    75|
    76|         // If its just one domain, we will register it and then exit
PS C:\xampp\htdocs\xxx> php artisan

   Error 

  Call to a member function name() on array

  at C:\xampp\htdocs\xxx\vendor\darkghosthunter\larapoke\src\Http\RouteGenerator.php:72
    68|         // When the "domain" config is null, we will just register a global route
    69|         // that will respond to all domains. Otherwise, we will wrap the value
    70|         // and traverse the array to register each to its own domain name.
    71|         if ($config['domain'] === null) {
  > 72|             $this->route($config)->name($config['name']);
    73|             return;
    74|         }
    75| 
    76|         // If its just one domain, we will register it and then exit

  1   C:\xampp\htdocs\xxx\vendor\darkghosthunter\larapoke\routes\larapoke.php:6
      DarkGhostHunter\Larapoke\Http\RouteGenerator::setRoutes()

  2   C:\xampp\htdocs\xxx\vendor\laravel\framework\src\Illuminate\Support\ServiceProvider.php:83
      require("C:\xampp\htdocs\xxx\vendor\darkghosthunter\larapoke\routes\larapoke.php")

Dependabot can't resolve your PHP dependency files

Dependabot can't resolve your PHP dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

Could not parse version constraint : Invalid version string ""

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Internet Explorer

Any chance of making the javascript work in IE?

First thing I see is arrow functions.

Laravel 8 support

Current requires prevents installation on Laravel 8.
Haven't investigated if it would work without changes tho

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.