Download the PHP package oliverearl/php-hashnode without Composer

On this page you can find all versions of the php package oliverearl/php-hashnode. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package php-hashnode

[![Contributors][contributors-shield]][contributors-url] [![Forks][forks-shield]][forks-url] [![Stargazers][stars-shield]][stars-url] [![Issues][issues-shield]][issues-url] [![MIT License][license-shield]][license-url] [![LinkedIn][linkedin-shield]][linkedin-url]


Unofficial Hashnode API Wrapper for PHP

A lightweight, object-oriented library for interacting with Hashnode's GraphQL API.
Explore the docs »

View Examples · Report Bug · Request Feature

Table of Contents

  1. About The Project
    • Built With
  2. Getting Started
    • Prerequisites
    • Installation
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgements
## About The Project ### Built With * [PHP GraphQL Client](https://github.com/mghoneimy/php-graphql-client) * [PHP GraphQL OQM](https://github.com/mghoneimy/php-graphql-oqm) * [PHPUnit](https://phpunit.de/) and [Faker](https://www.github.com/fzaninotto/faker) for testing. ## Getting Started To get a local copy up and running follow these simple steps. ### Prerequisites * [PHP 7.4 or greater](https://php.net) * [Composer](https://getcomposer.org) ### Installation 1. Clone the repo 2. Install Composer packages This library will be made available for install via Composer once it has reached a more complete state. ## Usage After installation, the library is ready to use out-of-the-box. A client instance and GraphQL root query object can be made like thus: If you wish to specify an override for the default Hashnode endpoint, and/or specify your Hashnode API token (if you need one, you can get one [here](https://hashnode.com/settings/developer)) you can add them as constructor parameters. **You don't need an API token for most operations at present.** Remember when interacting with GraphQL APIs, you have to specifically indicate what information you want to request. If you wanted to request a stories feed with a title, date, and the author's username, you could do something like this: *(Also, this is assuming you utilise 'use statements' and don't have to resolve namespaces fully.)* _For more examples, please refer to the [Documentation](https://github.com/oliverearl/php-hashnode/tree/master/docs) or check available [examples](https://github.com/oliverearl/php-hashnode/tree/master/examples)._ ## Roadmap The following is on the roadmap for upcoming releases: * API behaviours that require an API key (creating, updating, deleting) * Changes to make the library easier to use and potentially less dependent on the underlying GraphQL libraries * Cleaner, less lasagna-like code * Integration PHPUnit tests Also, see the [open issues](https://github.com/oliverearl/php-hashnode/issues) for a list of user-proposed features (and known issues). ## Contributing Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**. ### Particularly welcome contributions * Bugfixes and beneficiary changes to existing functionality. * New functionality that fulfills unimplemented areas of the API. * Enhancements to existing or production of additional PHPUnit tests. * Documentation, both in the source code and in the `docs` directory. * Examples of the library in use within the `examples` directory. ### Instructions 1. Fork the Project 2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`) 3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`) 4. Push to the Branch (`git push origin feature/AmazingFeature`) 5. Open a Pull Request ## Testing The suite of PHPUnit tests can be run with `composer run test` at your terminal, assuming a full installation of Composer. Alternatively, you can retrieve easy-to-read *testdox* by running `composer run testdox`. ## License Distributed under the MIT License. See `LICENSE` for more information. ## Contact Oliver Earl - [email protected] Project Link: [https://github.com/oliverearl/php-hashnode](https://github.com/oliverearl/php-hashnode) ## Acknowledgements * [Mostafa Ghoneimy et al for the underpinning GraphQL technologies.](https://github.com/mghoneimy) * [The amazing people over at Hashnode.](https://www.hashnode.com) * [Hashnode's GraphQL API](https://api.hashnode.com) * [Othneil Drew for the README template](https://github.com/othneildrew/Best-README-Template) [contributors-shield]: https://img.shields.io/github/contributors/oliverearl/php-hashnode.svg?style=for-the-badge [contributors-url]: https://github.com/oliverearl/php-hashnode/graphs/contributors [forks-shield]: https://img.shields.io/github/forks/oliverearl/php-hashnode.svg?style=for-the-badge [forks-url]: https://github.com/oliverearl/php-hashnode/network/members [stars-shield]: https://img.shields.io/github/stars/oliverearl/php-hashnode.svg?style=for-the-badge [stars-url]: https://github.com/oliverearl/php-hashnode/stargazers [issues-shield]: https://img.shields.io/github/issues/oliverearl/php-hashnode.svg?style=for-the-badge [issues-url]: https://github.com/oliverearl/php-hashnode/issues [license-shield]: https://img.shields.io/github/license/oliverearl/php-hashnode.svg?style=for-the-badge [license-url]: https://github.com/oliverearl/php-hashnode/blob/master/LICENSE [linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge&logo=linkedin&colorB=555 [linkedin-url]: https://linkedin.com/in/oliverearl

All versions of php-hashnode with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 || ^8.0
gmostafa/php-graphql-client Version ^1.8
gmostafa/php-graphql-oqm Version ^1.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package oliverearl/php-hashnode contains the following files

Loading the files please wait ....