GithubHelp home page GithubHelp logo

irazasyed / larasupport Goto Github PK

View Code? Open in Web Editor NEW
126.0 5.0 16.0 51 KB

๐Ÿ“ฆ Adds Laravel Packages Support to Lumen and Vendor Publish Artisan Command.

Home Page: https://irazasyed.github.io/larasupport

License: MIT License

PHP 100.00%
laravel laravel-packages lumen larasupport lumen-package hacktoberfest

larasupport's Introduction

A full-stack web developer and internet entreprenuer with over a decade of expertise.

Profile Visits Follow on GitHub Follow on Twitter


Metrics

larasupport's People

Contributors

ajmaxwell avatar dcelasun avatar fossabot avatar irazasyed avatar jalalipm 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

larasupport's Issues

Getting issue on compatible with spatie/laravel-newsletter

  • Library Version: 1.7.0
  • Lumen Version: 5.8.13
  • PHP Version: 7.1.33

Description
After updating your library version 1.7.0, Im getting error from laravel newsletter saying below error message.

Call to undefined method Laravel\Lumen\Application::configPath() newsletter

After rollback to your earlier version, It start working fine. Now, I have fixed the version to 1.6.0 to avoid updating your library.

Steps To Reproduce

Possible Solution

Additional Context

Logs

Can I use all laravel packages to lumen

Can I use all existing laravel packages to lumen after adding this larasupport package to my lumen 5.7 version?

If so my lumen package becomes weight, Heard that facing a lot of issues from migrating to laravel from lumen.
Let me know. Thanks in advance.

Not working in Lumen 5.8 with latest spatie/laravel-permission v3.17.0

Hello,

I had the following issue after upgrading both spatie/laravel-permission and larasupport to latest versions.

[2020-10-13 08:44:11] local.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Call to undefined method Laravel\Lumen\Application::configPath() in /var/www-hosts/FondleApi/vendor/irazasyed/larasupport/src/helpers.php:44
Stack trace:
#0 /var/www-hosts/FondleApi/vendor/spatie/laravel-permission/src/PermissionServiceProvider.php(19): config_path()
#1 [internal function]: Spatie\Permission\PermissionServiceProvider->boot()
#2 /var/www-hosts/FondleApi/vendor/illuminate/container/BoundMethod.php(32): call_user_func_array()
#3 /var/www-hosts/FondleApi/vendor/illuminate/container/BoundMethod.php(90): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#4 /var/www-hosts/FondleApi/vendor/illuminate/container/BoundMethod.php(34): Illuminate\Container\BoundMethod::callBoundMethod()
#5 /var/www-hosts/FondleApi/vendor/illuminate/container/Container.php(576): Illuminate\Container\BoundMethod::call()
#6 /var/www-hosts/FondleApi/vendor/laravel/lumen-framework/src/Application.php(244): Illuminate\Container\Container->call()
#7 /var/www-hosts/FondleApi/vendor/laravel/lumen-framework/src/Application.php(229): Laravel\Lumen\Application->bootProvider()
#8 [internal function]: Laravel\Lumen\Application->Laravel\Lumen\{closure}()
#9 /var/www-hosts/FondleApi/vendor/laravel/lumen-framework/src/Application.php(230): array_walk()
#10 /var/www-hosts/FondleApi/vendor/laravel/lumen-framework/src/Console/Kernel.php(113): Laravel\Lumen\Application->boot()
#11 /var/www-hosts/FondleApi/artisan(35): Laravel\Lumen\Console\Kernel->handle()
#12 {main} {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Call to undefined method Laravel\\Lumen\\Application::configPath() at /var/www-hosts/FondleApi/vendor/irazasyed/larasupport/src/helpers.php:44)

After downgrading larasupport to v1.6.0, it is working fine.

Could you please assist me in resolving this?

Best regards.

lumen integration

i tried to install this package for lumen.. however i got the error "Class router does not exist"

Class 'Irazasyed\Larasupport\Providers\ArtisanServiceProvider' not found Lumen

Hello there!
I am using lumen 8.0 microservice to implement an mqtt communication, but when I publish a package
php artisan vendor:publish --provider="Salman\Mqtt\MqttServiceProvider"

it shows me this error: Class 'Irazasyed\Larasupport\Providers\ArtisanServiceProvider' not found

I have already added the service provider to bootstrap/app.php file.
$app->register(Irazasyed\Larasupport\Providers\ArtisanServiceProvider::class);

thank you in advance

ReflectionError - handle() method does not exist

I am trying to use Vinkla/pusher package with Lumen. I have installed the package and registered it in app.php. However when I run php artisan vendor:publish it displays the following error.

[ReflectionException]
Method Irazasyed\Larasupport\Console\VendorPublishCommand::handle() does not exist

Please advice if I'm missing anything

Elixir helper

Hello,

thank you for this job, first of all.
I can't understand the flow about Elixir helper. I can't see it in your ./helpers.php file.
May you explain to me the right process?

Thank you

Laravel\Lumen\Application::routesAreCached()

Hello, does this package provides any replacement for routesAreCached() method?

I'm trying to install some Laravel packages on clean Lumen installation, with larasupport package installed, but I'm getting this FatalErrorException:

[Symfony\Component\Debug\Exception\FatalErrorException]
Call to undefined method Laravel\Lumen\Application::routesAreCached()

If no, is there any way I could add it manually?

Lumen:
Lumen (5.2.6) (Laravel Components 5.2.*)

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.