How to Uninstall/Remove Package in Laravel?

composer remove VenderName/PackageName – The remove command removes packages from the composer.json file from the current directory.

Syntax :- composer remove VenderName/PackageName

Syntax:- composer remome VenderName/PackageName1

VenderName/PackageName2

If you want to remove more than one package then you have to run this command.

Ex:- composer remove fzaninotto/faker

–dev: It remove packages form require-dev

This means, if it is in require-dev, then you have to remove it from there, then for this, you have to flag the dev.

Ex: composer remove fzaninotto/faker –dev

Tagged : / / /

How to Install/Add-Package in Laravel?

composer require VendorName/PackageName – This command installs a package and any packages that it depends on.

syntaxexample
composer require VendorName/PackageNamecomposer require fzaninotto/faler
composer require VendorName/PackageName:tagcomposer require fzaninotto/faker:dev-master
composer require VendorName/PackageName:versioncomposer require fzaninotto/faker:1.9.0

–dev: Add packages to require-dev.

composer require VendorName/PackageName –dev

https://packagist.org/ This is the website, from where you will get Php packages. This is the package repository of Php. You have to open this site, whatever your requirement is, you can do that package.

If you want a viewer with PDF, then you search by typing PDF. Here the first one wants Dompdf / Dompdf, so I clicked on it. After clicking on it, it will show you what is the version tag. And it will also show how to install it. So to install it, you have to type the command composer require dompdf/dompdf.

Before running this command, you should check that the composor.json file which you have is empty. That is, our project is not dependent on anyone. But now we have the requirement of this project so we will run this command.

Tagged : / / / /

How to set up a new or existing package?

Manually Creating composer.json file

You have to create a composer.joson file and write JSON code yourself with the required properties.

  • composer config –global(-g) – Operate on the global config file located at $COMPOSER_HOME/comfig.json by default. Without this option, this command affects the local composer.json file.
  • composer config –list (-l) __ It shows all the current config variables.
  • composer config setting-key “setting-value” – It sets the config key to the value.
  • composer config –unset – It removes the configuration element named by setting-key.
  • composer config –editor (-e) – Opens the config file (composer.json) in an editor. Use the –global flag to edit the congif (config.json).

Keys:

  • name
  • version
  • type
  • description
  • license
  • homepage
  • keywords
Tagged : / / / /

@php artisan package:discover –ansi handling the post-autoload-dump event returned with error code 255

When you using “laravel 5.5” downloaded project then showing this type of error, then first open terminal and got to project as below commands

step-1

$ cd project_name

step-2

$ composer update

Step-3

$ composer dump-autoload

After that your problem will be solve. If will not be solve then below commands

Step-4

$ composer require laravel/ui

After that run this commands. you project will be run successfully.

Step-5

$ php artisan serve

Tagged : / / /

npm – Node Packaged Modules

Install a package
SYNOPSIS

npm install (with no args in a package dir)
npm install <tarball file>
npm install <tarball url>
npm install <folder>
npm install <name> [–save|–save-dev|–save-optional]
npm install <name>@<tag>
npm install <name>@<version>
npm install <name>@<version range>
npm i (with any of the previous argument usage)

This command installs a package, and any packages that it depends on. If the package has a shrinkwrap file, the installation of dependencies will be driven by that. See npm-shrinkwrap(1).

A package is:

a) a folder containing a program described by a package.json file
b) a gzipped tarball containing (a)
c) a url that resolves to (b)
d) a <name>@<version> that is published on the registry with (c)
e) a <name>@<tag> that points to (d)
f) a <name> that has a “latest” tag satisfying (e)
g) a <git remote url> that resolves to (b)

Even if you never publish your package, you can still get a lot of benefits of using npm if you just want to write a node program (a), and perhaps if you also want to be able to easily install it elsewhere after packing it up into a tarball (b).

 

More info …

https://npmjs.org/doc/install.html

Tagged : / / /

How to add new package to apt-get

rajeshkumar created the topic: How to add new package to apt-get

wget -q -O – pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add –
sudo sh -c ‘echo deb pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list’
sudo apt-get update
sudo apt-get install jenkins

Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :

Package net.sqlcipher.database does not exist

rajeshkumar created the topic: package net.sqlcipher.database does not exist
Hi,

I am kind of new to android build setup. Can you please help me fix the compilation issues as below;

[ERROR] COMPILATION ERROR :
[INFO]
[ERROR] C:\vault\workspace\TREST\QBSharedLib\src\com\intuit\qbsharedlib\quickbooks\common\data\SyncDetails.java:[7,29] package net.sqlcipher.database does not exist
[ERROR] C:\vault\workspace\TREST\QBSharedLib\src\com\intuit\qbsharedlib\quickbooks\common\data\SyncDetails.java:[63,26] cannot find symbol
symbol : class SQLiteDatabase
location: class com.intuit.qbsharedlib.quickbooks.common.data.SyncDetails
[ERROR] C:\vault\workspace\TREST\QBSharedLib\src\com\intuit\qbsharedlib\quickbooks\common\data\SyncDetails.java:[77,32] cannot find symbol
symbol : class SQLiteDatabase
location: class com.intuit.qbsharedlib.quickbooks.common.data.SyncDetails
[ERROR] C:\vault\workspace\TREST\QBSharedLib\src\com\intuit\qbsharedlib\quickbooks\common\data\SyncDetails.java:[90,40] cannot find symbol
symbol : class SQLiteDatabase
location: class com.intuit.qbsharedlib.quickbooks.common.data.SyncDetails
[ERROR] C:\vault\workspace\TREST\QBSharedLib\src\com\intuit\qbsharedlib\quickbooks\common\data\SyncDetails.java:[141,40] cannot find symbol
symbol : class SQLiteDatabase
location: class com.intuit.qbsharedlib.quickbooks.common.data.SyncDetails
[ERROR] C:\vault\workspace\TREST\QBSharedLib\src\com\intuit\qbsharedlib\quickbooks\common\data\QBContentProvider.java:[7,20] package net.sqlcipher does not exist
[ERROR] C:\vault\workspace\TREST\QBSharedLib\src\com\intuit\qbsharedlib\quickbooks\common\data\QBContentProvider.java:[8,29] package net.sqlcipher.database does not exist
[ERROR] C:\vault\workspace\TREST\QBSharedLib\src\com\intuit\qbsharedlib\quickbooks\common\data\QBContentProvider.java:[9,29] package net.sqlcipher.database does not exist
[ERROR] C:\vault\workspace\TREST\QBSharedLib\src\com\intuit\qbsharedlib\quickbooks\common\data\QBDatabaseHelper.java:[6,29] package net.sqlcipher.database does not exist
[ERROR] C:\vault\workspace\TREST\QBSharedLib\src\com\intuit\qbsharedlib\quickbooks\common\data\QBDatabaseHelper.java:[7,29] package net.sqlcipher.database does not exist
[ERROR] C:\vault\workspace\TREST\QBSharedLib\src\com\intuit\qbsharedlib\quickbooks\common\data\QBDatabaseHelper.java:[117,38] cannot find symbol
symbol: class SQLiteOpenHelper
public class QBDatabaseHelper extends SQLiteOpenHelper {

sqlcipher.jar file is located at
dir1/pom.xml
dir1/libs/sqlcipher.jar

-Rajesh
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :

The ova package name does not match

rajeshkumar created the topic: the ova package name does not match
While importing github-enterprise-11.10.320-x86_64.ova in Vmware workstation 7, I am getting following error…
The ova package name does not match

Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

rajeshkumar replied the topic: the ova package name does not match
Downloaded a OVA file and tried to import it into my VMWare Workstation and if something can go wrong – it does.

“the ova package name does not match the ovf file inside it” was the error message, after some searching I found out that a OVA is nothing else than a compressed tar file with another ending but includes the OVF and VHD files.

Usind 7-zip to look into it I found the name of the OVF and renamed the OVA to the same name – voila – it works
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

rajeshkumar replied the topic: the ova package name does not match
Another way – enterprise.github.com/help/articles/gett…rted-with-virtualbox

Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :

EMCO MSI Package Builder – Overview

msiexpert created the topic: EMCO MSI Package Builder – Overview
Create MSI Packages and Convert EXE to MSI With No Efforts
An innovative instrument for automatic generation of Windows Installer packages. It helps you create MSI files ready for silent unattended installation on remote PCs through the domain’s Group Policy or EMCO Remote Installer. The unique technology makes the tasks of creating brand-new installations, customizing the existing ones and converting EXE to MSI fully automatic, effortless and predictable.

Key Features

* Creation of MSI packages, which can be installed manually on a local PC or automatically on remote PCs through Group Policy or EMCO Remote Installer.
* Intuitive visual editor for managing files, folders, registry and environment installation entries. Truly visual approach – no programming skills required.
* ‘Live Monitoring’ technology that enables capturing of file system and registry changes caused by any application. Collected data used for MSI creation.
* Decompilation, which allows decompiling the existing package, making changes and creating a new customized MSI package.
* Installation of Windows services. Service entries can be defined manually in the visual editor or come from the monitoring results.
* Extended installation management features: system variables support, control of files and registry keys overwriting, file attributes support, files and registry keys permanence options, etc.

Tagged :

Wise Studio Package 7.0 SP4

InstallerExpert created the topic: Wise Studio Package 7.0 SP4
Any idea when Wise Studio Package 7.0 SP4 will be available for download? In the site, its mentioned that Wise Studio Package 7.0 SP4 is released on Nov 13, 2008. But the download option or the release notes are not available

Tagged :