PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, January 7, 2022

[FIXED] The package name "apzentral/ink" is invalid

 January 07, 2022     composer-php     No comments   

Issue

When I go to https://packagist.org/packages/submit to submit my package.

This error is shown,

The package name apzentral/ink is invalid, it should have a vendor name, a forward slash, and a package name. The vendor and package name can be words separated by -, . or _. The complete name should match "[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9]([_.-]?[a-z0-9]+)*".

I would like to know what is wrong in my git repository setup.

Here is the link to go to my repository

Thank you.


Solution

If you look at your composer.json file, you'll see:

"name": " apzentral/ink",

Do you notice the space before the package name? That's what causing the failure (a space is not valid in a package name)

"name": "apzentral/ink"


Answered By - Wouter J
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing