#### Category : package

"message": "Class ‘JsonMachineJsonMachine’ not found", "exception": "Error", Root composer.json requires halaxa/json-machine ^[email protected], dev-master, found halaxa/json-machine[dev-syntax-check, dev-ext, dev-master, dev-issue-62, dev-0_4, dev-push-parsing, v0.1.0, …, 0.8.0] but it does not match the constraint. Sourc..

I have cloned a laravel project from github and tried to install the composer it hang while downloading this two packages and at the end it failed and show the following: [email protected]:/var/www/html/POS_Ibra-test$composer install Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Warning: The lock file .. Read more I want to install an SEO package in my Laravel project. I have found two packages that have all the features I need. They are also very similar. My question is, which package should I choose? Are there any standardised decision-making tools? Like for example GitHub forks or last commit. Sourc.. Read more At the moment I’m developing with Laravel and VueJs. I’m upgrading Laravel from 5.8 to 6.0 accordingly to the documentation. It say’s: "Next, examine any 3rd party packages consumed by your application and verify you are using the proper version for Laravel 6 support." My package.json looks like this: "require": { "php": "^7.1.3", # [1] .. Read more i’m newbie, i have created a laravel package but i can’t require to install it. When I try to install this package using composer require spider/spider-reporter:@dev I get below error [InvalidArgumentException] Could not find a matching version of package spider/spider-reporter. Check the package spelling, your version constraint and that the package is available in a .. Read more I have created a Laravel Sail application and trying to "sail composer require" a local package (which I am developing) that it is out of the laravel directory. But when I run the composer require command I get the "The ‘url’ supplied for the path (../packages/viktormorales/miniapps-guests) repository does not exists". My structure is: miniapps (where .. Read more The purpose of the package is to provide a single route (/sso, for Single Sign-On) that is handled by a controller (SSOController) that receives a uuid as a token through a GET parameter, validates it against a table (sso_tokens, must be created not longer than 1 minute ago, this is done in another webapp) and .. Read more I want import Excel but only on sheet index[0], but when I use toCollection or toArray method the rows wrapped on sheet index array: I want remove the wrapped parent array, how to do this? Here is my code: Import.php <?php namespace AppImports; use MaatwebsiteExcelConcernsImportable; use MaatwebsiteExcelConcernsSkipsEmptyRows; use MaatwebsiteExcelConcernsWithCalculatedFormulas; use MaatwebsiteExcelConcernsWithMultipleSheets; class Import implements SkipsEmptyRows, .. Read more I needed to dynamically set my field labels on a crud (useful for localization and cleaning the controller), so I used :$this->crud->setLabeller(); this takes a callback to define the behavior of creating labels. the problem is : this only works with columns, for example in: setListOperation(){$this->crud->column(‘example’);} controller method (doesn’t work with fields). my question .. Read more is there any good package for Larvel where I can create custom workflow or sequintal task? something that will have ability to add multiple steps based on the request, each request can have different approval/stages, i.e one request could have 5 approvals and another request can have 7 approval(will have more informatiation. any such package .. Read more I am using [statikbe/laravel-cookie-consent] package for cookie policy in my Laravel project and I don’t want the modal to be shown on certain pages, so I must add the route to ignored_paths array in the config file. For a route as ‘admin/users’ every thing is fine but for a route as ‘admin/user/{id}’ it doesn’t work. .. Read more I am using Stichoza laravel google translate package to translate the site, on my local server it is working perfectly as there is no error occuring. but when I apply that same code on my live site it is working for two to three minutes then it will dipslaying error which is shown below. Any .. Read more I’ve recently installed this package and configured everything with guide but some how it’s not working! By it’s not working I mean it’s not adding anything to database , I really don’t know what is wrong with my configs but I’ve checked everything with guide 3 times and everything is correct but… I don’t know .. Read more I am trying to install Laravel Sanctum following the instructions on Laravel’s website: https://laravel.com/docs/8.x/sanctum I run this command composer require laravel/sanctum and Laravel Sanctum is successfully installed: Using version ^2.11 for laravel/sanctum ./composer.json has been updated Loading composer repositories with package information However, it seems like installing Sanctum is also removing default Laravel Packages: Package .. Read more I have created a laravel package https://github.com/wcaaan/firebase-token-authentication My repository is synced with packagist https://packagist.org/packages/wcaaan/firebase-token-authentication As soon as i push and create a new release it automatically shows up in packagist. The problem is what ever i do i cannot install the repository through composer. I have created two released on gitHub. I have tried all .. Read more I had an encounter where I deleted the laravel project by deleting the folder. And when I name the new project after the previous one, the same packages and dependencies appear, like I never deleted the folder at all. What do you think happened here? Sourc.. Read more how to import a CSV file with a format like this image in laravel 7? Previously, I was able to create a feature to import excel files in xls or xlsx format, now I want to make it for CSV format as shown above. With the code that I have created as below, I always .. Read more I’d like to ask. I want to make excel import feature using laravel-excel package. Which, the data I imported has relational values ​​to another table. so, when i import excel it will save the data in two tables. the first table, stores data such as name and file path. And the second table, saves the .. Read more I am new on developing application, but now I’m handling a laravel project (website app) that have been deployed on cpanel. Now, I need to use a specific function, but for using it, I need to install the package (the package is maatwebsite/excel). The steps are written here: https://5balloons.info/laravel-export-and-import-excel-using-maatwebsite-package/ (and many other website), but on .. Read more I have converted html to pdf using mpdf library in laravel. In view blade page it shows correct layout with all the styles, but not same in pdf. Please refer me any tool to check pdf file css so that I can easily modify css? Sourc.. Read more I’m using Laravel as framework to build an application framework which can be used to build their own application by fellow developers. Now I’m running into a little PSR-4 namespacing problem in the composer packages I’m developing. Example of how my application framework is designed =================================================================== app/ MyApplicationName/ Mapper/ BaseMapper.php (namespace: AppMyApplicationNameMapper) bootstrap/ config/ … .. Read more I’m trying to use font awesome in dompdf/laravel but no matter what I try the icons don’t show up, I’ve seen a bunch threads with similar or the same issue and their answers don’t work for me. I have included all the styles related fonts in internal styles @font-face { font-family: "FontAwesomeRegular"; font-weight: normal; font-style .. Read more I want to change whole background color as purple, but white background color by default it is coming and it is some space. but I have not mentioned any padding and margin. How to do it? Sourc.. Read more I can’t use jwt-auth for the conflict its making in laravel 8, I replaced it with sanctum and I would like to delete everything related to this package because of this error : IlluminateContractsContainerBindingResolutionException: Target class [jwt.verify] does not exist. Any ideas? Sourc.. Read more I’m trying to add blade directives for my Laravel package. Everything is fine but on testing stage, I’m getting this error: 1) MahbodHastamUserWalletTestsFeatureBladeTest::show_user_wallet_balance InvalidArgumentException: View [userWalletBalance] not found. Should I put$this->loadViewsFrom(…) in the service provider? View path: /tests/resources/views/userWalletBalance.blade.php Test path: /tests/Feature/BladeTest.php I also tried to move the resources directory into Feature directory (beside the ..