PHP Equivalent to Java Jar or Python Eggs

PHP Equivalent to Java Jar or Python Eggs

am 26.11.2009 02:20:42 von c4632

------=_Part_356634_832954548.1259198442252
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit


Has anyone done any work towards packaging of PHP in a manner similar to jar or eggs? I was working on a project the other day with a lot of class files and thought this would be a cool, simple way to deploy the app.



------=_Part_356634_832954548.1259198442252--

Re: PHP Equivalent to Java Jar or Python Eggs

am 26.11.2009 03:39:48 von James Mclean

On Thu, Nov 26, 2009 at 11:50 AM, wrote:
>
> Has anyone done any work towards packaging of PHP in a manner similar to jar or eggs? I was working on a project the other day with a lot of class files and thought this would be a cool, simple way to deploy the app.

Yes; Greg Beaver has done a lot of work with PHAR, which is very
similar. See http://au2.php.net/phar

Cheers

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: PHP Equivalent to Java Jar or Python Eggs

am 26.11.2009 18:22:13 von Greg Maruszeczka

On Thu, 26 Nov 2009 13:09:48 +1030
James McLean wrote:

> On Thu, Nov 26, 2009 at 11:50 AM, wrote:
> >
> > Has anyone done any work towards packaging of PHP in a manner
> > similar to jar or eggs? I was working on a project the other day
> > with a lot of class files and thought this would be a cool, simple
> > way to deploy the app.
>
> Yes; Greg Beaver has done a lot of work with PHAR, which is very
> similar. See http://au2.php.net/phar
>
> Cheers
>


....it's even bundled with PHP 5.3+

GM

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

RE: PHP Equivalent to Java Jar or Python Eggs

am 30.11.2009 17:23:30 von Bob McConnell

From: c4632@comcast.net

> Has anyone done any work towards packaging of PHP in
> a manner similar to jar or eggs? I was working on a
> project the other day with a lot of class files and
> thought this would be a cool, simple way to deploy
> the app.=20

Nope, too much like work. We just wrap it up in an RPM which is
installed in a local repository. Then we use yum to install it on each
server in the cluster.

Bob McConnell


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: PHP Equivalent to Java Jar or Python Eggs

am 30.11.2009 18:01:05 von Carlos Medina

c4632@comcast.net schrieb:
> Has anyone done any work towards packaging of PHP in a manner similar to jar or eggs? I was working on a project the other day with a lot of class files and thought this would be a cool, simple way to deploy the app.
>
>
>
Hi,
you can check the Phar solution from PHP

Regards

Carlos

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php