News Feed
Jobs Feed
Sections




News Archive
feed this:

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

PHPMaster.com:
Listing Packages on Packagist for Composer
April 24, 2013 @ 11:57:49

Composer has changed how PHP developers work with external libraries and packages in even just the small amount of time its been around. One of the keys to its use, though, is getting your code listed on the Packagist site for easy requesting. In this new tutorial on PHPMaster.com, they walk you through doing just that.

You've created an awesome library, and now you're ready to open source it and share it with the world. Hopefully someone else can benefit from your work, and maybe you'll even receive a bug report or patch to make the library even better. But none of that can happen unless people can find itů and the modern way is increasingly becoming through Composer and Packagist. In this article I'll show you what information is needed in your composer.json file and how to list your library on Packagist so others can easily find it.

He talks some about the "composer.json" file for your project and talks some about the content that has to be there for Packagist to be able to pick it up correctly. He then shows you how to go over to the Packagist website, log in and add a package to their repository. It then shows you where on Github you'll need to go to set up a Service Hook to talk back to Packagist when a new version is deployed.

0 comments voice your opinion now!
listing package composer packagist tutorial repository

Link: http://phpmaster.com/listing-packages-on-packagist-for-composer

Brandon Savage's Blog:
Announcing DCPHP.net
March 12, 2009 @ 11:13:08

Brandon Savage has a new post today announcing the official release of the Washington, D.C. PHP user group's website - a Drupal site with the latest information about the usergroup's goings-on.

Today, the DC PHP Developer's Group announced a new community website, at http://www.dcphp.net/. The website was the result of a few months' discussions between key leaders in the group, including Keith Casey [also of Blue Parabola], Joe LeBlanc, Barry Austin and myself.

If you're looking for a PHP user group in your area, there's a few resources to check out - the (slightly outdated) listing on the PHPUserGroups.org website, the calendar on PHP.net or just a reliable search on Google to find the one closest to you.

You can find more about the DCPHP.net site launch in this post on Keith Casey's blog.

0 comments voice your opinion now!
washingtondc usergroup listing drupal community


PHPedia Blog:
Top 5 PHP replacements for Apache default directory listing
July 24, 2008 @ 10:21:25

The PHPedia blog has posted their top five list if scripts to replace the default listing Apache does for a directory without an index file.

Here's their list:

Check out the PHPedia post for example screenshots of each.

0 comments voice your opinion now!
directory listing apache topfive default software


Community News:
PHP Powered Listing Launched
May 23, 2007 @ 14:07:01

Vidyut Luther has started up a new service that aims to help answer the question "what sites out there are running on PHP?" - PHP Powered:

Welcome to PHP Powered. The point of the site is simple. We want to create a comprehensive list of sites that use PHP. The list of sites here is contributed and updated by you, the users/visitors. To add a site, you must have a valid account with the site. Create an account, respond to the verification email, and proceed to add your site.

The site allows developers/users/anyone really to signup and add the sites they know are running on PHP to share with the world. You can also check out the listing page that lets you search and sort by the type of site, the PHP version that it's running, and the operating system it runs on.

0 comments voice your opinion now!
phppowered listing launch contribute phppowered listing launch contribute


Chris Shiflett's Blog:
Formatting and Highlighting PHP Code Listings
October 27, 2006 @ 07:19:00

In his continuing effort to redesign his blog, Shiflett.org, he's been working on one of the things that really makes a blog useful - the commenting system. Specifically, he wants site visitors to be able to add their own code listings to the comments they post. He gives more detail in this new post.

I've been playing with this tonight. Feel free to follow along as I go. The first thing you want to do is create an ordered list from the code you want to format ($code in these examples).

He gives an example of a listing using his system and explains how it all works. It's a mixture of:

  • PHP for parsing the data inside the 'code' tags
  • CSS to correctly style the information, whitespace and all
  • Some ini settings to set parameters for...
  • ...the use of highlight string on the PHP code contents
A little str_replace magic later and you have list items styled as code blocks on your page. Check out his demo for an example.

1 comment voice your opinion now!
format highlight listing comment blog highlight_string css format highlight listing comment blog highlight_string css


Diniki.net:
PHP Design Patterns
July 25, 2006 @ 06:08:07

Patterns in PHP are becoming more and more popular, and sites like this one are doing well to provide summaries of each with code examples to help clarify.

Following my petty wingeing about the design patterns in php on the web I have to bite the bullet and do something about it. So here it comes a collection of design pattern examples, some from the GOF book, some collected from around the net, some (maybe) I have discovered.

The intent of these pages is to show the shapes of the patterns not a fully fledged implementation. In real life probably a combination of patterns will be employed. Everyone has their own favourites following their political, religious and style differences.

He admits that the pages are a work in progress and aren't complete, but they're a start to share his studies with the world. His list of patterns so far includes:

with more to come. All of his examples under each pattern are written in PHP.

1 comment voice your opinion now!
design patterns listing control abstraction hooks facade observer design patterns listing control abstraction hooks facade observer



Community Events











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


hack component framework release podcast symfony2 series hhvm opinion language package security application code install unittest threedevsandamaybe composer introduction facebook

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