pixelfix / application
PixelFix application skeleton.
Package info
github.com/neenerai/application
Language:Twig
Type:project
pkg:composer/pixelfix/application
Requires
- php: ^8.2
- pixelfix/framework: ^0.1.0
Requires (Dev)
- fakerphp/faker: ^1.24
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
A starter web application for the PixelFix Framework.
Requirements
- PHP 8.2+
- Composer
- MySQL, or SQLite with the PHP PDO SQLite extension
- Apache with
mod_rewriteenabled, when using Apache
Create a new project
composer create-project pixelfix/application my-app
cd my-app
cp .env.example .env
On Windows, copy the environment file with your preferred shell or file manager.
Run the application
Using PHP's development server:
php -S localhost:8000 -t public
Using Apache, configure public/ as the document root.
Console
The application exposes the PixelFix console through pixel and pixelfix:
php pixel php pixelfix
Examples:
php pixel route:list php pixel make:model Post php pixel make:controller PostController php pixel make:request StorePostRequest php pixel make:migration create_posts_table php pixel make:factory PostFactory php pixel make:seeder PostSeeder php pixel make:policy PostPolicy php pixel make:provider PostServiceProvider php pixel make:middleware EnsureSomething php pixel migrate php pixel migrate:status php pixel db:seed
Run only commands supported by the installed framework version.
Project structure
app/
bootstrap/
config/
database/
docs/
public/
resources/
routes/
storage/
tests/
The application is intentionally domain-neutral. Add your own models, controllers, policies, requests, services, routes, migrations, factories, seeders, and views.