After decades of repetitive tasks, tedious setups & painful workarounds, PHP & LENKRAD is finally ready to ease your pain. Find out why spending a little time on a different framework will put your scepticism to rest.
Have you ever wondered what kind of overhead & performance restraints you are willing to accept due to backward compatability of legacy frameworks?
Using newer native functions means utilizing the power of C with the syntactic sugar of PHP. Additionally, it's more beautiful:
$movie = 'Anaconda';
// older PHP versions
switch($movie) {
case 'Anaconda':
$rating = 3.1;
break;
case 'Men in Black':
$rating = 4.7;
break;
...
}
// since PHP 8.0
$rating = match($movie) {
'Anaconda' => 3.1,
'Men in Black' => 4.7,
...
}
The question remains: does your framework and its packages work like 2024?
LENKRAD is designed in a way that allows your IDE to better support you without any plugins. Additionally, achieving familiarity is simplified as logical patterns are used:
$inputStreamedOrPostedAsAssocArray = Request::getInputs();
// Guessable behavior and conventions:
$particularInputValue = Request::getInput('title');
$queryParametersAsAssocArray = Request::getQueries();
$particularQueryParameterValue = Request::getQuery('search');
$movie = new Movie();
$movie->title = $particularInputValue;
return $movie->store();
Code is art. It would be disingenuous to pretend it's not a question of taste. Readability therefore always includes liking what you see.
[
'page' => $page,
'limit' => $perPage
] = Request::getQueries();
return Movie::paginate($page, $perPage)->get();
The architecture of LENKRAD is designed to protect your application from the most dangerous element: the coder. Unintentional security vulnerabilities are almost impossible to produce.
Meanwhile, we kept the breathtaking performance goals of neoan3 alive: speed will not be your concern.