
PHP Soccer

Description

PHP Soccer is a PHP class that allows you to easily generate soccer formations in your pages.
If you have a website about soccer you can finally preview a match and show the possible lineups, review a match and visually represent the formations or talk about your perfect Real Madrid formation and get the opinions of your users.
Basic Implementation
With the Basic Implementation you will be able to create a generic soccer formation simply by adding the names of the players:
//create an object of the PhpSoccer class
$juventus = new PhpSoccer;
//set the names of the eleven players
$juventus->players = array('Buffon', 'Chiellini', 'Ogbonna', 'Bonucci', 'Asamoah', 'Marchisio', 'Pirlo', 'Vidal', 'Lichtsteiner', 'Morata', 'Tevez');
//print the formation on the page
echo $juventus->create();
Advanced Implementation
With the Advanced Implementation you will be able to create a soccer formation with a custom uniform for the goal keeper, custom uniforms for the standard players and a custom formation.
//create an object of the PhpSoccer class
$juventus= new PhpSoccer;
//set the goal keeper uniform ( from 1 to 200 )
$juventus->kuniform = 17;
//set the standard player uniform ( from 1 to 200 )
$juventus->puniform = 1;
//set the formation, choose one of 11 formations: 4-4-2, 4-4-1-1, 4-3-3, 4-5-1, 3-4-3, 3-5-2, 3-5-1-1, 5-3-2, 5-4-1, 4-2-3-1, 4-4-2-D
$juventus->formation = '3-5-2';
//set the names of the 11 players
$juventus->players = array('Buffon', 'Chiellini', 'Ogbonna', 'Bonucci', 'Asamoah', 'Marchisio', 'Pirlo', 'Vidal', 'Lichtsteiner', 'Morata', 'Tevez');
//set the skin of the players ( w = white, b = black )
$juventus->skin = array('w', 'w', 'b', 'w', 'b', 'w', 'w', 'w', 'w', 'w', 'w');
//print the formation on the page
echo $juventus->create();
Create custom uniforms
If you have Photoshop, with the PSD file included you will be able to create your own custom uniforms, watch the video below.
Includes 200 different uniforms
If you are without Photoshop or if you don鈥檛 have the time to create custom uniforms you can use the 200 included.
Includes the eleven most popular soccer formations
By default you can select between these eleven popular formations and with a basic knowledge of PHP you will also be able to create you own formations. ( more information on how to create custom formations are available in the documentation )
- 4-4-2
- 4-4-1-1
- 4-3-3
- 4-5-1
- 3-4-3
- 3-5-2
- 3-5-1-1
- 5-3-2
- 5-4-1
- 4-2-3-1
- 4-4-2-D ( 4-4-2 Diamond )
Perfect for PHP beginners
The PHP Soccer class is extremely easy to use and the documentation that comes with the product includes all the steps needed to install and use this script inside your website.
Works great with desktop and mobile devices
The soccer formations generated by PHP Soccer work great with both desktop and mobile devices and can be used inside both fixed and responsive themes.
High quality design by Orange Box
All the assets included in this product have been generated using the best soccer assets available in the market, The Soccer Set by Orange Box.
Requirements
- PHP 5.x or 7.x - jQuery 1.x or 2.x or 3.x
Try now the powerful Soccer Engine plugin
Store, analyze, and display soccer data with Soccer Engine, the most advanced Soccer plugin available for WordPress.
Are you a soccer fan?
Create soccer standings with League Table for WordPress, one of the best-selling table plugins on CodeCanyon.

Categories
Tags
External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.
Products of the Week.
Submit馃
Free LinkedIn Likes From Real Members | LinkedInLikes
Get free LinkedIn likes on your posts from real members who react by hand. No password needed: you only share a link.
Website 路 12,847 views 路 46 clicksWebsite 路 Week 49 路 12,847 views 路 46 clicks
馃
Free Medium Claps From Real Writers | MediumPlace
Free Medium claps on your stories from verified accounts of real writers, each given by hand. No bots, no Medium password, nothing to pay. Paste a link.
Website 路 7,964 views 路 10 clicksWebsite 路 Week 49 路 7,964 views 路 10 clicks
馃
Free GitHub Stars From Real Developers | GitWow
Get free GitHub stars on your repository from real developers who star by hand. No token or password, and it's free.
Website 路 15,624 views 路 28 clicksWebsite 路 Week 49 路 15,624 views 路 28 clicks
#4
Free Substack Likes From Real Writers | StackRooms
Free Substack likes on your posts and Notes from verified accounts of real writers, given by hand. Free to ask, free to receive. Just share a link.
Website 路 7,784 views 路 2 clicksWebsite 路 Week 49 路 7,784 views 路 2 clicks
#5
Free Twitter Likes From Real People | SupaTwitter
Free Twitter likes on your tweets from verified accounts of real people, each given by hand. No bots, no Twitter password, nothing to pay. Paste a link.
Website 路 7,679 views 路 4 clicksWebsite 路 Week 49 路 7,679 views 路 4 clicks
#6
Free X Likes From Real People, Given by Hand | XFast
Free X likes on your posts from verified accounts of real people, each one given by hand. No bots, no X password, no conditions. Paste a link to start.
Website 路 7,591 views 路 0 clicksWebsite 路 Week 49 路 7,591 views 路 0 clicks
