News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Hasin Hayder:
Create personalized phar files in PHP
January 15, 2014 @ 09:32:42

Hasin Hayder has a quick post talking about the creation of personalized phar files (packaged up PHP applications) using the Box Project tool.

Created a screencast to show how you can create phar files, most importantly personalized phar files to store some information inside it and protect it using user's password. Those information is usable only when user providers a correct password. For packaging, I have used http://box-project.org which is an excellent phar packager. I've also used two functions from Josh Hartman's blog to encrypt and decrypt data using Rijndael algorithm.

You can watch the full screencast over on YouTube. It walks you through the entire process of creating a simple script, using the two functions (mc_encrypt and mc_decrypt) to handle the encryption and defining the Box configuration JSON to create the package.

0 comments voice your opinion now!
phar file tutorial screencast boxproject encryption password

Link: http://hasin.me/2014/01/14/create-personalized-phar-files-in-php

blog comments powered by Disqus

Similar Posts

PHPMaster.com: MongoDB Indexing, Part 2

Benjamin Schneider's Blog: Use PHP's Tidy extension to validate your (X)HTML markup

NETTUTS.com: How to Build a Shopping Cart using CodeIgniter and jQuery

Markus Wolff's Blog: Extending Zend_Controller_Action

Evert Pot: The problem with password_hash()


Community Events

Don't see your event here?
Let us know!


version language threedevsandamaybe laravel5 release community framework podcast symfony unittest series introduction voicesoftheelephpant library interview laravel opinion security extension api

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework