Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

README.md

PHP RPC Client/Server Example

Author: @lcherone

What does it do?

It was originally just an experiment with the YAR PECL extension, to see what can do an how it compares with my own RPC project Plinker. Having worked on it for a few hours it slowly mutated into a remote server database CRUD, with the ability to manage tables, columns and rows. By default a new /tmp/database.db sqlite file will be used, to manage other tables you simply need only change the R::setup('...') dsn in the server.php file.

Unlike Plinker, there is absolutely no security implemented into the extension, so this is only useful for non sensitive data.

Uses:

To install the extension:

sudo apt-get install php5-dev libcurl4-gnutls-dev
sudo pecl install yar

Then create a new extension apache config file for yar.so

echo "extension=yar.so" > /etc/php5/apache2/conf.d/yar.ini

Restart apache...

Screenshots:

1.png 2.png 3.png 4.png 5.png

About

Playing with the PHP YAR PECL extension.

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.