| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A comprehensive, open-source learning platform helping developers fall in love with PHP and its ecosystem.
🌐 Live Site: codewithphp.com
👤 Author: Dale Hurley
📄 License: MIT
Code with PHP is a tutorial-based learning resource featuring hands-on, reproducible tutorials for modern PHP development. Every code sample is tested, every chapter is production-ready, and every tutorial is designed to teach real-world skills.
# Install dependencies
npm install
# Start development server (http://localhost:4321)
npm run dev
# Build for production
npm run build
# Preview production build
npm run previewAll tutorial code is validated in the testing/ directory before publication.
cd testing
# Run all tests
php test-all-samples.php
# View test results
cat TEST-SUMMARY-REPORT.mdCurrent Test Status: 96/119 passing (80.7%) 🎉
PHP-From-Scratch/ ├── src/ # Astro Starlight documentation site │ ├── content/ │ │ ├── docs/ # Tutorial content │ │ │ ├── index.mdx # Landing page │ │ │ └── series/ # Tutorial series content │ │ │ ├── php-basics/ │ │ │ ├── ai-ml-php-developers/ │ │ │ ├── build-crm-laravel-12/ │ │ │ ├── claude-php-developers/ │ │ │ ├── data-science-php-developers/ │ │ │ ├── php-algorithms/ │ │ │ ├── php-for-java-developers/ │ │ │ ├── php-typescript-developers/ │ │ │ ├── python-developers-love-php-laravel/ │ │ │ └── rails-developers-love-laravel/ │ │ └── config.ts # Content collections configuration │ ├── styles/ # Custom CSS │ └── Head.astro # Custom head component │ ├── code/ # Executable code samples (organized by series) │ ├── php-basics/ │ ├── ai-ml-php-developers/ │ └── [other series]/ │ ├── testing/ # Test infrastructure for code validation │ ├── test-all-samples.php │ └── TEST-SUMMARY-REPORT.md │ ├── imagen/ # AI image generation (MCP server) │ ├── src/ # Gemini 2.5 Flash integration │ └── output/ # Generated hero images │ ├── public/ # Static assets │ ├── images/ # Hero images and graphics │ └── social/ # Social media preview images │ ├── scripts/ # Utility scripts │ ├── generate-social-images.js │ └── update-code-references.js │ └── astro.config.mjs # Astro & Starlight configuration
We welcome contributions! Here's how to get started:
Content Contributions
Code Quality Standards
Testing Requirements
Key rules documents:
MIT License — See LICENSE for details.
Built with ❤️ by Dale Hurley
| Back | FazBrowse Home | New Git URL |