element / nexus
Element is a super ''easy-to-work-with'' php framework, that are built on top Slim3. It's very similar to Laravel
Requires
- ext-json: *
- ext-pdo: *
- dragonmantank/cron-expression: ^2.3
- element/promethium: ^1.0
- firebase/php-jwt: ^5.0
- guzzlehttp/guzzle: ^6.5
- hassankhan/config: ^2.1
- illuminate/database: ^6.8
- illuminate/events: ^6.12
- illuminate/pagination: ^6.10
- illuminate/translation: ^6.8
- intervention/image: ^2.5
- intervention/imagecache: ^2.4
- kreait/firebase-php: ^5.8
- nesbot/carbon: ^2.28
- php-di/slim-bridge: 1.0.2
- ramsey/uuid: 3.8.0
- respect/validation: ^1.1
- robmorgan/phinx: ^0.11.4
- slim/csrf: 0.8.3
- slim/flash: ^0.4.0
- slim/slim: 3.12.3
- slim/twig-view: 2.5.1
- swiftmailer/swiftmailer: ^6.2
- symfony/console: ^4.2
- symfony/event-dispatcher: ^4.2
- symfony/process: ^5.0
- symfony/var-dumper: ^5.0
- symfony/yaml: ^5.0
- twig/twig: ^2.0
- twilio/sdk: ^5.41
- vlucas/phpdotenv: 2.5.2
Requires (Dev)
- phpunit/phpunit: ^7
This package is not auto-updated.
Last update: 2024-04-13 10:17:34 UTC
README
Element is designed to be very simple and straightforward to use.
:elephant: Requirements
Element requires PHP 7.1+.
IMPORTANT: If you want to use YAML files or strings, require the Symfony Yaml component in your
composer.json
.
:zap: Installation
The supported way of creating an Element project is via Composer.
$ composer create-project element/nexus <NAME>
Whats the foss all about?
Element is designed to be very simple and straightforward to use. It's kind of similar to Laravel, but with a structure and context that suitet my needs and taste in a better way!... While the public views are more or less up to the developer it self, I decided to use adminLTE 2.4.18 for the backend dashboard, simply because it's really easy to use! It has lots of cool ui elements and the best part of it?! It's 100% free - Even for commercial apps :-) So you are good there... But feel free to switch to your own template if you like. (I left the theme as a .zip folder under 'src/assets/themes')
:speech_balloon: Usage
Open up the terminal and type the command below, to see a list of all the commands Element cli has to offer...
$ php element
For example, this command will launch the app on the built-in webserver
$ php element app:serve
But please try it out for yourself! :rocket: It has loads of cool features :sunglasses:
Testing
$ phpunit
:link: Contributing
Please see CONTRIBUTING for details.
:cop: Security
If you discover any security related issues, please email stefan@korfitz.com directly, instead of using the issue tracker.
:heavy_check_mark: Source
Element was inspired and put together from these courses over at codecourse.com
- Build a shopping cart (episode 2)
- Authentication with Slim 3
- Easy social authentication
- Configuration with Slim 3
- JWT Authentication from Scratch
- Custom 404 views with Slim 3
- Eloquent translations with Slim 3
- Slim 3 Pagination
- Mailable Classes in Slim 3
- Build an image upload microservice
- The Symfony Console Component
- Build a command-line uptime monitor
- Database migrations with Slim
- Get friendly with Webpack
- Building a Vue project with Webpack
- Learn Vuex
- Unit testing with PHPUnit
:mega: Credits
- Stefan Korfitz
- Alex Garret :point_left: He's the real wizard :rocket:
:copyright: License
The MIT License (MIT). Please see the license file for more information.