How caiocleim/flux-social works
FluxSocial is a small PHP social-network application. The visible user journey is login or account-creation navigation, routed page rendering, and a feed or profile timeline with post and navigation UI; authentication checks credentials through a user model and database connection. The README gives no further product detail, and sampled views are largely static, so search, world, chat, and account-creation behavior should not be inferred beyond their visible UI/routes. Relationships below are limited to routes, calls, form actions, and includes shown in the supplied excerpts or index.
Main entry points: web.php Web routes · ViewController.php Page controller · timeline.php Profile timeline · AuthController.php Authentication
Components 14
Routing and controllers
- Web routes
routes/web.php - Page controller
app/controllers/ViewController.php - Error handler
app/controllers/ErrorController.php
Identity and persistence
- Authentication
app/controllers/AuthController.php - User model
app/core/User.php - Database connection
app/core/Database.php - Session utility
app/core/Session.php
Social interface
- Login page
views/index/index.php - Account creation
views/index/criar_conta.php - Main feed
views/user/feed/main_feed.php - Profile timeline
views/user/feed/timeline.php - Social navigation
public/components/main_bar.php - Post card
public/components/post/post-box.php
Other components
- Visitor
Connections 14
- Visitor → Web routes: requests pages
routes/web.php - Web routes → Page controller: dispatches views
routes/web.php - Web routes → Authentication: dispatches login
routes/web.php - Web routes → Error handler: dispatches errors
routes/web.php - Page controller → Login page: renders login
app/controllers/ViewController.php - Page controller → Account creation: renders signup
app/controllers/ViewController.php - Page controller → Main feed: renders feed
app/controllers/ViewController.php - Page controller → Profile timeline: renders timeline
app/controllers/ViewController.php - Login page → Web routes: posts credentials
views/index/index.php - Authentication → User model: checks credentials
app/controllers/AuthController.php - User model → Database connection: queries users
app/core/User.php - Profile timeline → Social navigation: includes navigation
views/user/feed/timeline.php - Profile timeline → Post card: includes post card
views/user/feed/timeline.php - Social navigation → Web routes: links to pages