How ibrahimjml/myblog4u works
MyBlog4u is a Laravel social publishing and networking platform. A creator submits an article through the post controller and service layer; readers browse and search articles, then interact through comments, likes, follows, and reports. Separate product branches cover authentication and creator settings, administrator controls, automated web/RSS news scraping, and sitemap generation. The README documents capabilities that were not sampled; those links are cited to it, while implementation-level links are limited to relationships visible in the excerpts or source index.
Main entry points: PostController.php Post endpoints · SearchService.php Search service · AdminController.php Admin control panel · Post.php Post records
Components 26
Publishing and discovery
- Post endpoints
app/Http/Controllers/PostController.php - Post service
app/Services/PostService.php - Post records
app/Models/Post.php - Search service
app/Services/SearchService.php - Post repository
app/Repositories/Eloquent/PostRepository.php - News repository
app/Repositories/Eloquent/NewsRepository.php - Search results
app/Http/Responses/SearchResponse.php
Creator community
- Creator dashboard
app/Http/Controllers/User/DashboardController.php - Comments and mentions
app/Http/Controllers/CommentController.php - Follow system
app/Actions/FollowUserAction.php - User reports
app/Actions/Reports/CreatePostReportAction.php - User and profiles
app/Models/User.php - Authentication and security
app/Services/Auth/LoginUserService.php - Account settings
app/Http/Controllers/User/ProfileSettingsController.php
Administration
- Admin control panel
app/Http/Controllers/Admin/AdminController.php - Moderation and reports
app/Http/Controllers/Admin/PostModeration/PostModerationController.php - Scraping management
app/Http/Controllers/Admin/Scraping/ScrapingController.php - Scraping jobs
app/Jobs/ScrapeSourceJob.php - Scraped news
app/Models/Scraping/ScrapedPost.php - RSS and web scrapers
app/Services/Scraping/RssScraperService.php
Platform services
- Sitemap generation
app/Services/Sitemap/SitemapManager.php - Sitemap output
app/Services/Sitemap/Sitemap.php - Media drivers
app/Services/MediaDriverResolver.php - Email and in-app notifications
app/Listeners/SendPostNotification.php - Analytics integration
app/Http/Controllers/Admin/Analytics/AnalyticsController.php
Other components
- Reader or creator
Connections 27
- Reader or creator → Post endpoints: browses or submits
- Post endpoints → Post service: creates or updates
app/Http/Controllers/PostController.php - Post endpoints → Post records: loads post
app/Http/Controllers/PostController.php - Post endpoints → Search service: requests search
app/Http/Controllers/PostController.php - Search service → Post repository: queries posts
app/Services/SearchService.php - Search service → News repository: queries news
app/Services/SearchService.php - Search service → Search results: formats results
app/Services/SearchService.php - Post repository → Post records: queries posts
app/Repositories/Eloquent/PostRepository.php - Reader or creator → Creator dashboard: creates articles
- Reader or creator → Comments and mentions: comments and mentions
- Reader or creator → Follow system: follows creators
- Reader or creator → User reports: reports content
- Reader or creator → Authentication and security: signs in
- Reader or creator → Account settings: manages account
- Account settings → User and profiles: updates profile
app/Http/Controllers/User/ProfileSettingsController.php - Reader or creator → Admin control panel: administers platform
- Admin control panel → Moderation and reports: manages moderation
- Admin control panel → Scraping management: configures sources
- Scraping management → Scraping jobs: schedules crawling
- Scraping jobs → RSS and web scrapers: runs scraper
- RSS and web scrapers → Scraped news: stores scraped news
- News repository → Scraped news: queries news
app/Repositories/Eloquent/NewsRepository.php - Sitemap generation → Sitemap output: builds output
app/Services/Sitemap/SitemapManager.php - Sitemap generation → Post records: reads published posts
app/Services/Sitemap/SitemapManager.php - Reader or creator → Media drivers: uploads media
- Reader or creator → Email and in-app notifications: receives notifications
- Admin control panel → Analytics integration: views analytics