#### Category : package

I downloaded debugbar and n + 1 query problem detector. If the first one can be deleted through the composer, then I did not find how to delete the information for the second one. The fact is that I uploaded my test project to github and both of these packages were uploaded as well. How ..

I have a laravel method inside on one of my controllers. I have used it on two of my projects so I thought of making a package for that specific method so that I can just require it on my future projects. I was able to put it on github and packagist, but I cannot ..

I am using the package as https://packagist.org/packages/jorenvanhocht/laravel-share how can I implement this package to share only current page only ->facebook() ->twitter() ->linkedin() ->whatsapp()!!}“` Sourc..

I want to use WebDevEtcBlogEtc package to add blog section in my laravel website. I was install everything ok the problem is when I am add the following code in AuthServiceProvider as the developer explain I get the error syntax error, unexpected ‘Gate’ (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) this is code tell as ..

Everytime I would try to install $composer require torann/currency I would get this error Problem 1 – torann/currency[1.1.0, …, 1.1.1] require illuminate/support ^6.0|^7.0|^8.0 -> found illuminate/support[v6.0.0, …, 6.x-dev, v7.0.0, …, 7.x-dev, v8.0.0, …, 8.x-dev] but these were not loaded, likely because it conflicts with another require. – Root composer.json requires torann/currency ^1.1 -> satisfiable .. Read more I created a package with some of my vue components which needs to be shared between several apps. In this package I wrote this line in composer.json : "autoload": { "psr-4": { "SharedAppSharedComponents": "src/components", } } in my website, where I load the package, in a vue file, I import the template like this : .. Read more composer require barryvdh/laravel-dompdf Using version ^0.9.0 for barryvdh/laravel-dompdf ./composer.json has been updated Running composer update barryvdh/laravel-dompdf Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages. Problem 1 – fzaninotto/faker is locked to version v1.9.1 and an update of this package was not requested. – .. Read more I want to make a website just like redbubble so that users can upload or choose a design that they like, and that chosen design will be added automatically to some pre-defined products such as mugs, masks, t-shirts &, etc. So in order to do this, I need something like imagelayereffect that adds an extra .. Read more Hey am working on vue laravel chatting app and using vue-advanced-chat package and i don’t understand how it works even with the docs so any guide would be helpful Thanks Sourc.. Read more I have the following error by installing spatie/laravel-stripe-webhooks whit composer after trying to downgrade composer version or remove some packages , could’t resolve the problem Your requirements could not be resolved to an installable set of packages. Problem 1 – Root composer.json requires spatie/laravel-stripe-webhooks 2.0.0 -> satisfiable by spatie/laravel-stripe-webhooks[2.0.0]. – spatie/laravel-stripe-webhooks 2.0.0 requires illuminate/support ~5.8.0 .. Read more I try to sign up by Facebook, using Laravel 7 and package (Socialite), when press on the URL: <div class="form-group row mb-0"> <div class="col-md-6 offset-md-4"> <a href="{{url(‘redirect/facebook’)}}">login with your facebook account</a> </div> </div> The redirect page runs the app, i created in facebook developers as the img: when press (continue as Mahmoud) and put my .. Read more$accessToken = env(‘ACCESS_TOKEN’); $client = new Client([ ‘base_uri’ => ‘https://api.some-endpoint.com/’, ‘allow_redirects’ => true, ]);$response = $client->get(‘https://api.some-endpoint.com/’ , array( ‘headers’ => [‘Authorization’ => ‘Bearer ‘ .$accessToken], )); dd($response->getBody()); // Result of above dd(); // Response {#1572 ▼ // -reasonPhrase: "OK" // -statusCode: 200 // -headers: array:12 [▶] // -headerNames: array:12 [▶] // -protocol: "1.1" .. Read more I am developing a package to be installed in a Laravel project. In this package I need to access some helpers and facades from laravel, such as env, Log, Storage… How can I resolve this situation? Sourc.. Read more I want to build packages in which I want to make middleware which validate data from different services(different project) by just installing that package. what is a step to making this type of command and publish in any project? I read the document. I understand that how to make view(loadViewFrom), route(loadRouteFrom) but didn’t find any .. Read more I want to create an app, and currently, I’m in the planning stage. There is something that I can’t figure out. I hope I will get some hints from you. My plan is to create packages for each part of my app and combine them based on the tenant’s subscription plan to construct the tenant’s .. Read more enter image description here I am trying to add live chat on my laravel app using the tawk.to plugin but when I try to signup to get the integration code, I have the 1020 error (access denied). Is there a way around this? I really need to use it or probably, someone should suggest another .. Read more Can we use larecipe multiple time from same domain like abc.com/docs, abc.com/hrdoc, abc.com/ecommerce etc. Sourc.. Read more Goal Login a user in a Laravel package. Problem Pressing the login button redirects to the startpage and in the console i get a 302 error. Description It’s my first try with laravel packaged development. Therefore I created a new Laravel app with Laravel 8. With php artisan ui bootstrap –auth i created the authentication .. Read more Goal Login a user in a Laravel package. Problem Pressing the login button redirects to the startpage and in the console i get a 302 status code. Thats the route of the login button: <a href="{{ route(‘login’) }}">Login</a>. It is defined in web.php as follows: Route::get(‘login’, [LoginController::class, ‘login’])->name(‘login’). The same happens when i try it .. Read more I am trying to develop a new Laravel package locally installed via Composer. These are my steps: I install a new Laravel application with composer create-project laravel/laravel my-application I create a new directory in the root with the following content: packages/randolf/custom-package/composer.json { "name": "randolf/custom-package", "description": "My new Custom Package", "type": "library", "license": "MIT", "require": {}, .. Read more I’m developing a package for Laravel & Lumen in the same code base, but I encountered some problems. Well, in the beginning, I thought it could have the same code and work for both frameworks, however it had! But on the way of development it turned out; it didn’t work and I had to separate .. Read more ErrorException Required parameter$dompdf follows optional parameter $paper IlluminateFoundationBootstrapHandleExceptions::handleError vendordompdfdompdfsrcAdapterCPDF.php:182 182 public function __construct($paper = "letter", $orientation = "portrait", Dompdf$dompdf) Above snippet is error that showing in browser. I have done composer require barryvdh/laravel-dompdf step by step My PdfController code is below <?php namespace AppHttpControllers; use IlluminateHttpRequest; class PdfController extends Controller { public function ..

I have this problem. When I create new Middleware and write this code This is an error text syntax error, unexpected ‘printf’ (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) namespace AppHttpMiddleware; use CarbonCarbon; use Closure; use IlluminateHttpRequest; class CheckTime { printf("Right now is %s", Carbon::now()->toDateTimeString()); // $now = Carbon::now(); //$start = Carbon::createFromTimeString(’00:00′); // \$end ..