Element is a super ''easy-to-work-with'' php framework, that are built on top Slim3. It's very similar to Laravel
Element is designed to be very simple and straightforward to use.
Element requires PHP 7.1+.
IMPORTANT: If you want to use YAML files or strings, require the Symfony Yaml component in your
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')
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:
Please see CONTRIBUTING for details.
If you discover any security related issues, please email firstname.lastname@example.org directly, instead of using the issue tracker.
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
The MIT License (MIT). Please see the license file for more information.