A stunning, modern website built with PHP, HTML, CSS, and Bootstrap 5. Features a beautiful dark theme with gradient accents, smooth animations, and fully responsive design.
- Modern Design: Premium dark theme with vibrant gradients and glassmorphism effects
- Fully Responsive: Perfect experience across all devices and screen sizes
- PHP Powered: Dynamic content with PHP includes and form handling
- Bootstrap 5: Latest Bootstrap framework for robust components
- Smooth Animations: AOS (Animate On Scroll) library for beautiful scroll animations
- Interactive Elements: Hover effects, transitions, and micro-animations
- SEO Optimized: Proper meta tags and semantic HTML structure
- Contact Form: Working PHP contact form with validation
php-bootstrap-website/
├── assets/
│ ├── css/
│ │ └── style.css # Custom styles
│ └── js/
│ └── main.js # Custom JavaScript
├── includes/
│ ├── header.php # Header and navigation
│ └── footer.php # Footer and scripts
├── index.php # Homepage
├── about.php # About page
├── services.php # Services page
├── contact.php # Contact page with form
└── README.md # This file
- PHP 7.4 or higher
- A web server (Apache, Nginx, or PHP built-in server)
-
Clone or download this project to your local machine
-
Navigate to the project directory:
cd php-bootstrap-website -
Start the PHP development server:
php -S localhost:8000
-
Open your browser and visit:
http://localhost:8000
- Copy the project folder to your
htdocs(XAMPP) orwww(WAMP) directory - Start Apache from the control panel
- Visit
http://localhost/php-bootstrap-website
- Hero section with call-to-action
- Features showcase
- Statistics counter
- Call-to-action section
- Company story
- Core values
- Team members
- Service offerings
- Process workflow
- Detailed feature lists
- Contact information
- Working contact form
- Map placeholder
Edit the CSS variables in assets/css/style.css:
:root {
--primary-color: #6366f1;
--secondary-color: #8b5cf6;
--accent-color: #ec4899;
/* ... more colors */
}- Edit PHP files to change content
- Modify arrays in PHP to add/remove features, services, team members, etc.
- Update navigation in
includes/header.php
- Custom styles are in
assets/css/style.css - Bootstrap classes can be used throughout
- Modify animations in the CSS file
- Bootstrap 5.3.2
- Bootstrap Icons 1.11.1
- AOS (Animate On Scroll) 2.3.1
- Google Fonts (Inter)
- Bootstrap 5.3.2 Bundle (includes Popper)
- AOS 2.3.1
All dependencies are loaded via CDN, so no installation required!
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
- Opera (latest)
The contact form in contact.php includes:
- Client-side validation
- Server-side PHP processing
- Success/error messages
- Spam protection ready
To enable email sending, modify the form handler in contact.php to include your email configuration.
- Upload files to your web hosting via FTP/SFTP
- Configure your domain to point to the project directory
- Set up email for the contact form
- Enable HTTPS for security
- Optimize images if you add custom images
- Shared hosting with PHP support
- VPS with Apache/Nginx
- Cloud platforms (AWS, DigitalOcean, etc.)
This project is open source and available for personal and commercial use.
Feel free to fork this project and customize it for your needs!
- Use the browser's developer tools to customize colors and spacing
- Add your own images to replace icon placeholders
- Integrate with a database for dynamic content
- Add more pages as needed
- Implement a CMS for easier content management
- Blog section
- Portfolio/gallery
- User authentication
- Admin panel
- Database integration
- Email newsletter integration
- Live chat support
- Multi-language support
Built with ❤️ using PHP, HTML, CSS, and Bootstrap
For questions or support, please visit the contact page!