{"id":30290778,"url":"https://github.com/patrickjaja/workoflow-promo-page","last_synced_at":"2025-10-08T07:27:08.059Z","repository":{"id":297605806,"uuid":"993345704","full_name":"patrickjaja/workoflow-promo-page","owner":"patrickjaja","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-30T15:43:06.000Z","size":380,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-30T16:45:09.070Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/patrickjaja.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-30T16:21:16.000Z","updated_at":"2025-06-30T15:43:10.000Z","dependencies_parsed_at":"2025-06-06T11:42:58.871Z","dependency_job_id":null,"html_url":"https://github.com/patrickjaja/workoflow-promo-page","commit_stats":null,"previous_names":["patrickjaja/workoflow-promo-page"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/patrickjaja/workoflow-promo-page","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickjaja%2Fworkoflow-promo-page","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickjaja%2Fworkoflow-promo-page/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickjaja%2Fworkoflow-promo-page/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickjaja%2Fworkoflow-promo-page/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patrickjaja","download_url":"https://codeload.github.com/patrickjaja/workoflow-promo-page/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickjaja%2Fworkoflow-promo-page/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270786441,"owners_count":24644563,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-08-16T23:55:24.936Z","updated_at":"2025-10-08T07:27:03.040Z","avatar_url":"https://github.com/patrickjaja.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Workoflow for Teams - SaaS Subscription Platform\n\nA modern SaaS application built with FrankenPHP and Symfony, featuring Google OAuth authentication, Stripe payments, and a responsive design.\n\n## Features\n\n- 🚀 **FrankenPHP** - High-performance PHP server\n- 🔐 **Google OAuth** - Secure authentication\n- 💳 **Stripe Integration** - Pro subscription payments (€10/month)\n- 📧 **Email Notifications** - Free subscription notifications\n- 🎨 **Modern UI** - Responsive design with Tailwind CSS\n- 🗄️ **MariaDB** - Reliable database storage\n- 📊 **Subscription Management** - Free, Pro, and Enterprise plans\n\n## Quick Start\n\n### Prerequisites\n\n- Docker and Docker Compose\n- Google OAuth credentials\n- Stripe account (for payments)\n\n### Setup\n\n1. **Clone and configure environment:**\n   ```bash\n   cd workoflow-promo\n   cp .env .env.local\n   ```\n\n2. **Configure Google OAuth:**\n   - Go to [Google Cloud Console](https://console.cloud.google.com)\n   - Create a new project or select existing\n   - Enable Google+ API\n   - Create OAuth 2.0 credentials\n   - Add redirect URI: `http://localhost/connect/google/check`\n   - Update `.env.local`:\n     ```\n     GOOGLE_CLIENT_ID=your_google_client_id\n     GOOGLE_CLIENT_SECRET=your_google_client_secret\n     ```\n\n3. **Configure Stripe:**\n   - Get your keys from [Stripe Dashboard](https://dashboard.stripe.com)\n   - Update `.env.local`:\n     ```\n     STRIPE_PUBLISHABLE_KEY=pk_test_your_key\n     STRIPE_SECRET_KEY=sk_test_your_key\n     ```\n\n4. **Start the application:**\n   ```bash\n   docker-compose up -d\n   ```\n\n5. **Install dependencies and setup database:**\n   ```bash\n   docker-compose exec frankenphp composer install\n   docker-compose exec frankenphp php bin/console doctrine:migrations:migrate --no-interaction\n   ```\n\n6. **Access the application:**\n   - **Main App**: http://localhost\n   - **PHPMyAdmin**: http://localhost:8080\n   - **MailHog**: http://localhost:8025\n\n## Architecture\n\n### Services\n\n- **FrankenPHP**: Web server with Caddy and PHP 8.3\n- **MariaDB**: Database server\n- **Redis**: Caching and sessions\n- **MailHog**: Email testing\n- **PHPMyAdmin**: Database management\n\n### Directory Structure\n\n```\nworkoflow-promo/\n├── config/              # Symfony configuration\n├── docker/              # Docker configurations\n├── migrations/          # Database migrations\n├── public/              # Web assets (CSS, JS, images)\n├── src/\n│   ├── Controller/      # Application controllers\n│   ├── Entity/          # Database entities\n│   ├── Repository/      # Data repositories\n│   └── Security/        # Authentication logic\n├── templates/           # Twig templates\n└── docker-compose.yml   # Docker services\n```\n\n## Subscription Plans\n\n### Free Plan (€0/month)\n- Up to 3 team members\n- Basic project management\n- 5GB storage\n- Email support\n- Sends notification email to admin\n\n### Pro Plan (€10/month)\n- Unlimited team members\n- Advanced project management\n- 100GB storage\n- Priority support\n- Advanced analytics\n- API access\n- Stripe payment integration\n\n### Enterprise Plan (Custom)\n- Everything in Pro\n- Unlimited storage\n- 24/7 phone support\n- Custom integrations\n- SSO \u0026 advanced security\n- Dedicated account manager\n- Contact sales for pricing\n\n## Development\n\n### Running Commands\n\n```bash\n# Install Composer dependencies\ndocker-compose exec frankenphp composer install\n\n# Run database migrations\ndocker-compose exec frankenphp php bin/console doctrine:migrations:migrate\n\n# Create new migration\ndocker-compose exec frankenphp php bin/console make:migration\n\n# Clear cache\ndocker-compose exec frankenphp php bin/console cache:clear\n\n# Check routes\ndocker-compose exec frankenphp php bin/console debug:router\n```\n\n### Testing Payments\n\n1. Use Stripe test card numbers:\n   - Success: `4242 4242 4242 4242`\n   - Decline: `4000 0000 0000 0002`\n\n2. Use any future expiry date and any 3-digit CVC\n\n### Email Testing\n\n- All emails are captured by MailHog\n- Access MailHog at http://localhost:8025\n- Free subscription notifications sent to admin email\n\n## Security Features\n\n- Google OAuth 2.0 authentication\n- CSRF protection\n- SQL injection prevention via Doctrine ORM\n- XSS protection in Twig templates\n- Secure session handling\n- SSL/TLS encryption in production\n\n## Production Deployment\n\n1. **Update environment variables:**\n   ```bash\n   APP_ENV=prod\n   APP_DEBUG=false\n   DATABASE_URL=mysql://user:pass@db:3306/workoflow_prod\n   ```\n\n2. **Configure production domain in Caddyfile**\n\n3. **Use production Stripe keys**\n\n4. **Set up proper SMTP for emails**\n\n5. **Configure Google OAuth with production domain**\n\n## Monitoring\n\nThe application includes built-in analytics and performance monitoring:\n\n- Page view tracking\n- User interaction events\n- Performance metrics\n- Error tracking\n- Subscription conversion tracking\n\n## Support\n\nFor support or questions:\n- Check the [issues](https://github.com/your-repo/issues)\n- Email: support@workoflow.com\n\n## License\n\nThis project is licensed under the MIT License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickjaja%2Fworkoflow-promo-page","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatrickjaja%2Fworkoflow-promo-page","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickjaja%2Fworkoflow-promo-page/lists"}