atiqsu / apdf
This is a demo description
dev-master
2019-05-21 16:39 UTC
Requires
- php: >=5.6
This package is auto-updated.
Last update: 2025-04-22 06:38:01 UTC
README
How to create a package in packagist
- Create a Github repository
- Checkout it in your Laptop/PC
- Create readme.md file [optional]
- Create .gitignore file [optional]
- Create composer.json file Or run 'composer init' command from terminal inside the project folder
- Put name as the repo name with username like
gitusername/repo
- Put stability as stable
- Put name as the repo name with username like
- Create a folder named
src
- Now Add the following into composer.json file :
"autoload": { "psr-4": { "Atiq\\APDF\\": "src/" } }
- Change the namespace
Atiq\\APDF\\
into whatever you like - Commit all changes into github
- Goto https://packagist.org and login with your github credential
- Go to submit page and paste your github repo link with http
- That's all!
Installation
Require this package with composer:
After updating composer, add the ServiceProvider to the providers array in config/app.php
If you use a catch-all/fallback route, make sure you load the Debugbar ServiceProvider before your own App ServiceProviders.