PHPackages                             code-a1/phpgraph - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. code-a1/phpgraph

ActiveLibrary[API Development](/categories/api)

code-a1/phpgraph
================

A simple and immediate object-oriented library for the official Telegraph API

623PHP

Since Dec 29Pushed 4y ago1 watchersCompare

[ Source](https://github.com/code-a1/PHPGraph)[ Packagist](https://packagist.org/packages/code-a1/phpgraph)[ RSS](/packages/code-a1-phpgraph/feed)WikiDiscussions main Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHPGraph
========

[](#phpgraph)

#### *A simple and immediate object-oriented library for the official Telegraph API*

[](#a-simple-and-immediate-object-oriented-library-for-the-official-telegraph-api)

[![](https://camo.githubusercontent.com/cef5167573dbd1cf145e715a3a8d3b5257951feb3ae97b136270830d8ee73eb2/687474703a2f2f74656c656772612e70682f66696c652f3661356231356537656234643733323963613761662e6a7067)](https://camo.githubusercontent.com/cef5167573dbd1cf145e715a3a8d3b5257951feb3ae97b136270830d8ee73eb2/687474703a2f2f74656c656772612e70682f66696c652f3661356231356537656234643733323963613761662e6a7067)

📦 Installation
--------------

[](#-installation)

You can easily install PHPGraph with composer, running the following command:

```
composer require code-a1/phpgraph dev-main
```

Then you must only require the autoload file in your project, for example:

```
require "vendor/autoload.php"
```

*That's it! Now you can start using the library*

🔧 Usage
-------

[](#-usage)

All the methods of this library are the same of the official [Telegraph api](https://telegra.ph/api), there are also aliases for some objects - *such as edit() or get() for Page* - and some methods are easier to use *- such as createPage*

Here's a basic example:

```
