Cut the fancy intros and let's get right straight on how to create a PHP Package?!
Clone
Head over to thephpleague/skeleton and clone this repository. This will help you some heavy-lifting in creating your package.Prefill
After you've cloned the repository. Navigate inside skeleton folder, open a terminal and run
php prefill.php to make all replacements for :author_name :author_username :author_website :author_email :vendor :package_name :package_description at once. Once you are done, delete the file prefill.php.Push
If all are set, push now your project to
Github or Bitbucket
Comments
Post a Comment