https://github.com/travelxml/create-your-first-php-package-example
How to create your first package. A quick test composer package, published on Packagist
https://github.com/travelxml/create-your-first-php-package-example
package packages php php7 phpframework
Last synced: 5 months ago
JSON representation
How to create your first package. A quick test composer package, published on Packagist
- Host: GitHub
- URL: https://github.com/travelxml/create-your-first-php-package-example
- Owner: TravelXML
- License: mit
- Created: 2020-07-16T07:19:38.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-17T10:57:56.000Z (over 5 years ago)
- Last Synced: 2025-03-14T06:14:35.639Z (10 months ago)
- Topics: package, packages, php, php7, phpframework
- Language: PHP
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Write Your First PHP Package, PHP Package Example
A quick test composer package, published on Packagist
RUN: composer require spackage/firstpackage:dev-master
then run below code here
require '../vendor/autoload.php';
use spackage\firstpackage\Index;
$greeting = new Index();
echo $greeting->greet("Hello Composer");
enjoy coding :)