PHP code example of theimpossibleastronaut / writeas.php

1. Go to this page and download the library: Download theimpossibleastronaut/writeas.php library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

theimpossibleastronaut / writeas.php example snippets








$context = new \writeas\Context();
$post = new Post( $context );
$post->body = "Hello from Writeas.php";
$post->save();
bash
composer